[haiku-bugs] Re: [Haiku] #3267: Tracker context menu interprets mouse move as click

#3267: Tracker context menu interprets mouse move as click
----------------------------------+-----------------------------------------
 Reporter:  Adek336               |       Owner:  anevilyak     
     Type:  bug                   |      Status:  in-progress   
 Priority:  normal                |   Milestone:  R1            
Component:  Applications/Tracker  |     Version:  R1/Development
 Keywords:                        |   Blockedby:                
 Platform:  All                   |    Blocking:  5770, 5778    
----------------------------------+-----------------------------------------

Comment(by anevilyak):

 Hm, can no longer reproduce it here. The problem is that to an extent it's
 not perfectly solvable right now, due to the (very poorly designed) BMenu
 API we have to keep compatibility with. As a consequence of that design,
 BMenu operates by using input polling, which has the unfortunate side
 effect that it can completely miss events. Its code for menu tracking is
 as a consequence a mess, since it also has to try to handle the cases for
 all the different types of menus. Some of these problems are nearly
 impossible to fix without reworking the API in a way that would most
 certainly break compatibility, you can see signs of this in R5 as well
 (menu keyboard navigation is more or less completely unusable since the
 mouse tracking interferes with it).

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/3267#comment:15>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: