[haiku-bugs] Re: [Haiku] #15778: GetMouse with checkMessageQueue is not working properly

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 14 Oct 2020 08:30:53 -0000

#15778: GetMouse with checkMessageQueue is not working properly
---------------------------------+----------------------------
  Reporter:  X512                |      Owner:  nobody
      Type:  bug                 |     Status:  new
  Priority:  normal              |  Milestone:  Unscheduled
 Component:  Kits/Interface Kit  |    Version:  R1/Development
Resolution:                      |   Keywords:
Blocked By:                      |   Blocking:
  Platform:  All                 |
---------------------------------+----------------------------
Comment (by X512):

 This but is also causing Pe freeze sometimes. Pe use polling loops with
 `GetMouse`, for example
 [https://github.com/HaikuArchives/Pe/blob/master/Sources/PText.cpp#L2113
 PText.cpp:2113] and that loops are never exit sometimes because `GetMouse`
 stop updating values and never return all mouse buttons released.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15778#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: