Bug 297667

Summary: Right mouse button menu doesn't open on applications that use mouse gestures with the right mouse button
Product: [Unmaintained] khotkeys Reporter: eric <prozac>
Component: generalAssignee: Michael Jansen <kde>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: prozac
Priority: NOR    
Version First Reported In: 4.11.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description eric 2012-04-07 15:41:48 UTC
Normally when clicking the right mouse button (RMB) inside Konqueror or Rekonq a menu appears. This menu is used frequently when cutting/pasting text or opening a link in a new tab. But with KDE-4.8.2 and also 4.8.1 and maybe even with 4.8.0, clicking the RMB does nothing.

This only happens with applications that are using the mouse gestures settings in Systemsettings > Shortcuts and Gestures. Mouse gestures work normally, only the menu doesn't open when clicking the RMB.

Turning off Gestures in Systemsettings > Shortcuts and Gestures, or setting the Mouse button to something else than 3 (3=RMB) will make the clicking of RMB open the menu as expected.

There is a temporary workaround, but not ideal:
To open the RMB-menu, do the following:
- Press (don't release) the LMB;
- Press and release the RMB;
- Release the LMB.
Or you can disable Gestures in Systemsettings > Shortcuts and Gestures, or use a different mouse button for gestures.
Comment 1 eric 2012-05-15 13:57:36 UTC
I'm using KDE-4.8.3 now, and the problem still exists.

I also forgot to mention:
Both mouse gestures and opening the right mouse button menu work when the window is inactive.
But when the window is active, only mouse gestures work.
Comment 2 eric 2012-07-21 23:20:37 UTC
I've been using KDE-4.9rc2 (4.8.97) for a week and the problem is still there.
Comment 3 eric 2013-03-03 18:28:18 UTC
Problem still exists on kde-4.10.0
Comment 4 eric 2013-04-21 15:13:01 UTC
Still happens in kde-4.10.2
Comment 5 eric 2013-09-25 14:25:06 UTC
Still happens in kde-4.11.1

Turning on mouse gestures for mouse button #3 (Right Mouse Button) for an application (for example Konqueror) will hijack this button for this application.
This application's context menu cannot be opened by pressing this button.

This happens since kde-4.8.
Comment 6 eric 2013-09-25 15:08:59 UTC
It's not KDE's problem, so the issue is resolved (actually KDE has no issues with this).

The reason was that the X-server did not start up with the XTEST extension.