[haiku-bugs] Re: [Haiku] #7282: [Interface Kit] tracker context menu closes after second click (regression)

  • From: "Pete" <trac@xxxxxxxxxxxx>
  • Date: Wed, 20 Apr 2011 22:56:34 -0000

#7282: [Interface Kit] tracker context menu closes after second click 
   Reporter:  diver               |      Owner:  axeld
       Type:  bug                 |     Status:  new
   Priority:  normal              |  Milestone:  R1
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All

Comment (by Pete):

 Replying to [comment:3 diver]:
 > ping
 Hah... that's much the feeling I get with many of my tickets! (:-))  No
 action or response at all...  Anyway,

 I now realize the reason for your problem.  The PopupMenu code now uses
 the 'double-click speed' setting to decide whether the button was a
 'click' or a 'press'.  With normal popup menus, this only applies to the
 invoking button-press, but it seems the Tracker is a bit non-standard
 (possibly because popups didn't work properly before?): it apparently
 takes a second click occurring within the double-click-time as part of the
 initial action, and treats it as a 'stay-up' request.  (This doesn't
 happen with other menus using the standard Go().)

 I don't see the problem because I have the double-click set to maybe 1/2
 sec, so a second click is always outside the critical period unless I
 really want a double.  Unless you really ''need'' a long setting, try
 moving the slider in the Mouse preflet to about halfway and see if it
 cures your problem.

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

Other related posts: