You are not logged in.

#1 2012-05-21 16:15:36

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

[solved] right-click menus instantly close

When I right-click in a GTK application, the context menu that appears is instantly closed upon release of the mouse button. This is extremely annoying as it always automatically selects the first option from the context menu, e.g. creating a new folder in Thunar.

I remember having read about this issue somewhere here in the Arch forums, but couldn't find the topic again since yesterday. I think it had something to do with the selected GTK or icon theme.

I'm using awesome as window manager and my GTK2-config looks like this:

gtk-theme-name="Aldabra"
gtk-icon-theme-name="gnome-brave"
gtk-font-name="Sans 10"
gtk-cursor-theme-name="Bluecurve"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_SMALL_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=0
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"
gtk-xft-rgba="rgb"
gtk-recent-files-max-age=0

Thanks for any advice! smile

Last edited by lynix (2012-05-21 16:47:09)

Offline

#2 2012-05-21 16:22:01

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

Re: [solved] right-click menus instantly close

Okay got some additional info:

playing around with .gtkrc-2.0 I found out that the problem only occurs with specific GTK2-themes. No theme works, as well as "Industrial", but "Clearlooks" does not. I think Clearlooks is pretty old and stable, and I never had any trouble with it. Strange...

Offline

#3 2012-05-21 16:23:24

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,727

Re: [solved] right-click menus instantly close

Are you using a compositor ? (xcompmgr ?)
Is this on OpenBox? note to self: RTFOP

Last edited by ewaller (2012-05-21 16:24:34)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2012-05-21 16:25:41

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

Re: [solved] right-click menus instantly close

Yes I'm using cairo-compmgr for compositing.
No OpenBox as i wrote, it's the awesome window manager.


(edit: it's cairo-compmgr, not cairo-xcompmgr )

Last edited by lynix (2012-05-21 16:32:25)

Offline

#5 2012-05-21 16:26:50

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,557
Website

Re: [solved] right-click menus instantly close

There was this thread and some others that had a problem a bit like this in cinammon.  Did I miss it, or did you not say what your wm/de was?

DOh!  I also need to RTFOP

Last edited by Trilby (2012-05-21 16:28:21)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2012-05-21 16:27:48

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,727

Re: [solved] right-click menus instantly close

lynix wrote:

Yes I'm using cairo-xcompmgr for compositing.
No OpenBox as i wrote, it's the awesome window manager.

You posted before I could edit my stupidity smile  I have seen this sort of behavior with xcompmgr.  You might try turning it off (temporarily) and see if you can replicate the issue.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2012-05-21 16:30:38

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

Re: [solved] right-click menus instantly close

Thanks both of you, I disabled cairo-xcompmgr and the problem seems gone.

Well damn, cairo-compmgr seems to bring much more trouble than beauty... I'll try to investigate a bit more in that direction ^^

Offline

#8 2012-05-21 16:46:51

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

Re: [solved] right-click menus instantly close

Okay found the topic I was looking for: here.

Marking this one as solved, to avoid topic duplication smile

Offline

Board footer

Powered by FluxBB