Opened 15 years ago
Closed 12 years ago
#5941 closed bug (fixed)
Tracker crash when right click with items selected
Reported by: | oruizdorantes | Owned by: | axeld |
---|---|---|---|
Priority: | high | Milestone: | R1 |
Component: | Applications/Tracker | Version: | R1/Development |
Keywords: | tracker | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
Revision: 34920 Slow system P3 1GHz.
Usually a right click with items selected. When the mouse sends more than 1 click event, and there seems to be a movement of position between these 2 events. Tracker seems to invoke 2 PopUpMenus.
In this situation Tracker crashes, Check attachment for backtraces
Attachments (3)
Change History (14)
by , 15 years ago
Attachment: | DoubleRightclickWithSomethingSelectedBug.txt added |
---|
comment:1 by , 15 years ago
Component: | User Interface → Kits/libtracker.so |
---|---|
Owner: | changed from | to
Version: | R1/alpha1 → R1/Development |
comment:2 by , 14 years ago
I'm unable to reproduce, neither on real hardware nor virtualbox. The backtraces look strange to me and i suspect there might be another problem.
Concerning opening two menus at the same time, it reminds me a bug but it was fixed a long time ago.
If someone can still reproduce that would be appreciated :)
comment:3 by , 14 years ago
At least the last backtrace is still reproducible with hrev41847 in vbox.
by , 14 years ago
Attachment: | TwoContextMenus.png added |
---|
comment:4 by , 14 years ago
As note this was easily reproducible in slow machines. In my laptop which is a decent one I could not reproduce it.
comment:5 by , 14 years ago
I couldn't yet reproduce the crash, but as i suspected, the "two menus" issue is most certainly an BMenu / Interface Kit problem, as i could reproduce it in WebPositive, cf. screenshot. This is a fast machine, and there simply seems to be a voluntary delay in the BMenu tracking code, under a few hundred milliseconds even a left click outside the menu won't close it.
Still looking at the crash issue but i can't affirm the two problems are related.
by , 14 years ago
Attachment: | TwoContextMenusWebPositive.png added |
---|
comment:8 by , 13 years ago
Component: | Kits/libtracker.so → Applications/Tracker |
---|---|
Owner: | changed from | to
comment:9 by , 12 years ago
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.
comment:10 by , 12 years ago
comment:11 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Now that #8818 is fixed I still can't reproduce this one. Closing.
Backtraces gathered