[haiku-bugs] Re: [Haiku] #5941: Tracker crash when right click with items selected

  • From: "leavengood" <trac@xxxxxxxxxxxx>
  • Date: Sun, 29 Jul 2012 00:33:36 -0000

#5941: Tracker crash when right click with items selected
------------------------------------+----------------------------
   Reporter:  oruizdorantes         |      Owner:  axeld
       Type:  bug                   |     Status:  new
   Priority:  high                  |  Milestone:  R1
  Component:  Applications/Tracker  |    Version:  R1/Development
 Resolution:                        |   Keywords:  tracker
 Blocked By:                        |   Blocking:
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------

Comment (by leavengood):

 By changing the Execution Cap for the CPU in VirtualBox to something
 pretty low (21% in my case, with a Core i7 host) I can easily reproduce
 the double context menus in Tracker. In fact I was able to get up to 5 at
 a time (in 5 different tracker windows.) I do not currently get a crash
 though. So maybe something changed in the mean time. Even when I had a
 selection and got two context menus in the same window I did not get a
 crash.

 As for the general case of the double (or more) context menus, I imagine
 this should indeed be handled by the menu tracking code, which I've been
 complaining about again lately. I thought it might be something which
 could wait, but with issues like this (and I'm sure there are more), it
 might make sense to work on that now. I'm thinking of creating a
 BMenuTracker object as Stephan has suggested in the past. If that was some
 sort of per-application global object (or multiple instances with some
 static members) it could be sure not to open more than one context menu.
 With these VirtualBox settings I also got up to 6 context menus in
 WebPositive.

 So I'm tempted to either close this issue or re-assign it to the Interface
 Kit. If someone else can reproduce the crash still, please add a comment
 with exactly how you reproduced it.

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

Other related posts: