Menubar widget causes first right-click on plasma-desktop to instantly hide

Bug #603416 reported by Jonathan Thomas
42
This bug affects 7 people
Affects Status Importance Assigned to Milestone
plasma-widget-menubar
Confirmed
Medium
Unassigned
plasma-widget-menubar (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: plasma-widget-menubar

If you have a non-maximized application that is using the menubar, right clicking on the desktop will not work. When you try to do so, the context menu for plasma-desktop instantly disappears.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: plasma-widget-menubar 0.1.8-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-7.11-generic 2.6.35-rc4
Uname: Linux 2.6.35-7-generic i686
Architecture: i386
Date: Thu Jul 8 22:09:10 2010
InstallationMedia: Kubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427)
ProcEnviron:
 LANGUAGE=en
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: plasma-widget-menubar

Revision history for this message
Jonathan Thomas (echidnaman) wrote :
Revision history for this message
Scott Kitterman (kitterman) wrote :

I can replicate this on plasma-netbook too, although on plasma-netbook once focus shifts to the workspace (and the apps aren't visible anymore) then it works.

Revision history for this message
Scott Kitterman (kitterman) wrote :

Apologies to Graham Riddell for the bug subscription. I miss clicked. Unfortunately, I can't unsubscribe you, you'll need to do it yourself.

Changed in plasma-widget-menubar (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Aurélien Gâteau (agateau) wrote :

I can't reproduce it here, is it still valid?

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Yup, still happening with the latest updates.

Changed in plasma-widget-menubar:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Aurélien Gâteau (agateau)
Revision history for this message
Aurélien Gâteau (agateau) wrote :

I had a look at fixing that one and it's nasty: when one right-click the desktop, the desktop window gets focus, thus the menubar widget creates a desktop window menubar. To do so it creates a Plasma::ToolButton, which embeds a QToolButton. It seems creating the QToolButton causes the menu to go away, I assume that since the button is created as a standalone window (at least at construction time), it is perceived as a new toplevel window, forcing the window manager to close the popup menu.

Changed in plasma-widget-menubar:
assignee: Aurélien Gâteau (agateau) → Cédric Bellegarde (gnumdk)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.