! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Inconsistend context menu behaviour with changed gtk-menu-popup-delay
Status:
RESOLVED: FIXED

Comments

Description Henk Boom 2007-09-16 00:23:31 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070703 Firefox/2.0.0.4
Build Identifier: 

Normally there are two ways to use a context menu in thunar:
1) Press and hold the right mouse button, then release on the desired menu item.
2) Press and release the right mouse button, then press on the desired menu item.

Which one you have to do depends on how long you hold the button initially, with a reasonable threshold dividing them.

For file/directory context menus, this threshold seems to be exactly gtk-menu-popup-delay. This means that if the user sets a low gtk-menu-popup-delay to navigate menus quicker, he will almost always be stuck with option number one. In fact, when he does a press and release to open the menu, it will usually just open and close the context menu. Notice that the context menus in other places (for example, on the directory background) are unnaffected by this variable, as they are in many other gtk programs, and continue to have a reasonable threshold.

Reproducible: Always

Steps to Reproduce:
1. Add the following line to ~/.gtkrc-2.0:
gtk-menu-popup-delay = 50
2. Log out and back in.
3. Click and release on a file or folder in thunar. Unless you press and release very quickly, the context menu will open and close quickly.
4. Notice that the context menu for the background works as expected.
Actual Results:  
The behaviour is different for the icon context menu and the background context menu. The icon context menu does not work as expected.
Comment 1 Henk Boom 2007-09-16 00:24:57 CEST
This bug is probably related to bug #3549.
Comment 2 Jérôme Guelfucci editbugs 2007-12-16 18:35:28 CET
Someone in Xubuntu is experiencing the same issue (LP: #127372 set as private): 

"- create file named ".gtkrc-2.0" in ~/
- add line "gtk-menu-popup-delay = 0" to the file
- log out, log in
- open thunar
- right click on an item in the right pane

contextmenu won't show unless right mousebutton is kept pressed down."
Comment 3 Nick Schermer editbugs 2012-09-30 13:49:49 CEST
Fixed in d0513de.

Bug #3550

Reported by:
Henk Boom
Reported on: 2007-09-16
Last modified on: 2012-09-30

People

Assignee:
Jannis Pohlmann
CC List:
3 users

Version

Attachments

Additional information