Bug 206620 - Classic menu disappears as soon it is opened (related to the Menu effect in QtConfig)
Summary: Classic menu disappears as soon it is opened (related to the Menu effect in Q...
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-kickoff (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-07 13:39 UTC by enkithan
Modified: 2009-11-08 21:46 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description enkithan 2009-09-07 13:39:43 UTC
Version:            (using KDE 4.3.1)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.30-ARCH
Installed from:    Unlisted Binary Package

When I click on the menu icon, the menu is opened and closed immediately.
But if I keep the mouse button pressed longer that a simple click, the menu stay opened as it should.

That bug happens only in kde 4.3.0 and 4.3.1, it works fine in 4.2.4.
Comment 1 Dario Andres 2009-09-07 14:29:53 UTC
- What are the setting of your panel (visibility?)?
Thanks
Comment 2 enkithan 2009-09-07 14:49:27 UTC
Panel is "Always Visible" (if that's the right translation).

more info:
-The bug also happens if I put the classic menu icon on the desktop.
-Other menus (lancelot, kickoff) works fine.
Comment 3 Dario Andres 2009-09-07 14:52:32 UTC
- Do you have Desktop Effects ?
- Do you experience a similar behaviour in the menus of any other KDE application (like File, Edit, ...Help ) ?
If you check the settings in QtConfig (run "qtconfig"), in the "Interface" tab, do you have "GUI effects" enabled ? Changing some of that settings fixes the issue ?
Thanks
Comment 4 enkithan 2009-09-07 15:39:21 UTC
- Do you have Desktop Effects ?
Yes

- Do you experience a similar behaviour in the menus of any other KDE
application (like File, Edit, ...Help ) ?
No, others menus works normally.

-If you check the settings in QtConfig (run "qtconfig"), in the "Interface" tab,
do you have "GUI effects" enabled ? Changing some of that settings fixes the
issue ?
After having disabled both Qtconfig Gui Effects, KDE Desktop effects, and removed/added the menu, the bug was still happening. To be sure, I restarted plasma, and the bug disapearred :)
After some more testing, it appears the culprit is indeed the "Fade" Menu Effect of QtConfig. Using the "Animate" option is even worse: then the menu is sometimes displayed outside the screen.

Thanks a lot for the help :)
Comment 5 Bernhard Geier 2009-10-04 21:11:10 UTC
I can confirm that for KDE 4.3.1 (debian testing).
Had the same problem until I set the menu effect to "disabled".
Comment 6 Bernhard Geier 2009-10-19 20:55:37 UTC
Since I upgraded QT libs to 4.5.3 and KDE libs to 4.3.2 the problem is gone.
Sorry, can't tell whether the KDE or the QT update fixed it, updated both at the same time...
Comment 7 Bernhard Geier 2009-10-20 21:36:07 UTC
(In reply to comment #6)
> Since I upgraded QT libs to 4.5.3 and KDE libs to 4.3.2 the problem is gone.
> Sorry, can't tell whether the KDE or the QT update fixed it, updated both at
> the same time...

Seems I was too fast: Today it doesn't work again...
The Bug is NOT fixed.
Comment 8 Aaron J. Seigo 2009-10-20 22:02:26 UTC
such effects do not belong in the toolkit, they belong in the window manager. whatever the reason this is causing breakage, i'm not particularly interested in working around a feature that is implemented in the wrong place. my guess is that it's because we're moving the menu manually into place and then Qt goes around and tries to move it as well and that causes either some unexpected loss of focus or some incorrect geometry calculation to occur.
Comment 9 Bernhard Geier 2009-10-20 22:43:14 UTC
(In reply to comment #6)
> Since I upgraded QT libs to 4.5.3 and KDE libs to 4.3.2 the problem is gone.
> Sorry, can't tell whether the KDE or the QT update fixed it, updated both at
> the same time...

Seems I was too fast: Today it doesn't work again...
The Bug is NOT fixed.
Comment 10 enkithan 2009-11-08 21:46:21 UTC
doing that fixed it definively for me :
1.replace KDE by another wm/desktop in .xinitrc (in my case, fluxbox).
2.reboot the computer.
3.start X, run QtConfig and disable GUI effects.
4.re-enable kde in .xinitrc, reboot again, start X.