Local menus broken for Qt apps after opening dialog

Bug #1312137 reported by CraigD
140
This bug affects 48 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Marco Trevisan (Treviño)
7.2
Fix Released
High
Marco Trevisan (Treviño)
unity (Ubuntu)
Fix Released
High
Marco Trevisan (Treviño)
Nominated for Trusty by Stephen M. Webb
Trusty
Fix Released
Medium
Stephen M. Webb

Bug Description

[Impact]

I have selected to have window menus in the window's title bar. This works great, except for Qt apps. After selecting a menu item in a Qt app that produces a dialog, the menu is no longer accessible. The only way to get the menu back, is to switch to another window, and then back to the affected app.

[Test Case]

1. Start qtcreator
2. Resize window so that it is not maximised
3. Select 'Help' -> 'About Qt Creator'
4. Dismiss 'About Qt Creator' dialog
5. Move mouse over window titlebar.

[Regression Potential]

It's possible other menu interaction bugs may have been introduced.

[Other Info]

The fix for Ubuntu 14.04 LTS was cherry-picked from the Ubuntu "Vivid Vervet" dev release where it has been in production use for some time without apparent regression.

Related branches

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1312137/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → unity (Ubuntu)
Changed in unity (Ubuntu):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
importance: Undecided → High
status: New → Confirmed
Changed in unity:
importance: Undecided → High
milestone: none → 7.2.1
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
Revision history for this message
Huck-bernhard (huck-bernhard) wrote :

There are a Duplicate Bugs 1302084, 1315717 to this.
But i am not sure which should be markt as Duplicate?

https://bugs.launchpad.net/ubuntu/+source/appmenu-qt5/+bug/1315717

https://bugs.launchpad.net/ubuntu/+source/appmenu-qt5/+bug/1302084

Changed in unity:
status: New → Confirmed
Stephen M. Webb (bregma)
Changed in unity:
milestone: 7.2.1 → 7.2.2
Changed in unity:
milestone: 7.2.2 → 7.2.3
Changed in unity:
milestone: 7.2.3 → 7.3.1
Changed in unity:
status: Confirmed → Triaged
Changed in unity (Ubuntu):
status: Confirmed → Triaged
tags: added: lim
Changed in unity:
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity - 7.3.1+15.04.20150115-0ubuntu1

---------------
unity (7.3.1+15.04.20150115-0ubuntu1) vivid; urgency=low

  [ Ubuntu daily release ]
  * New rebuild forced

  [ Andrea Azzarone ]
  * Disable Pointer Barriers during lockscreen. (LP: #1401911)
  * Use std::weak_ptr to avoid referencing an invalid barrier. (LP:
    #1238063)
  * Enable dash and hud if there is a fullscreen window. (LP: #1159249,
    #860970)
  * Show session dialog over fullscreen windows. (LP: #1404486)
  * Avoid running pontentially dangerous code paths when the screen is
    locked. (LP: #1410582)

  [ Marco Trevisan (Treviño) ]
  * MenuManager: make sure menus are always shown when mouse is over
    them or when the always-show-menus option is on (LP: #955193,
    #1390562, #1374942, #1312137)
 -- Ubuntu daily release <email address hidden> Thu, 15 Jan 2015 15:03:31 +0000

Changed in unity (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Michele Giacomoli (michele-giacomoli) wrote :

Any chance to have this bug fixed in Ubuntu 14.04 too?

Revision history for this message
Stephen M. Webb (bregma) wrote :

Just be patient: the fix only just appeared in the current development version of Ubuntu. It has to mellow there for a bit to shake out bugs before it will get backported to an LTS release.

Revision history for this message
Michele Giacomoli (michele-giacomoli) wrote :

@Stephen
Sorry for my previous answer, it was a bit rude.

It's great to see this bug fixed for vivid, but since the target for this bug was set from 7.2.x to 7.3.x, I wondered if one day the bug would be fixed for 14.04 too. I'll be patient ;-)

Revision history for this message
Alex Solanos (hakermania) wrote :

That was one nasty bug.

Glad it was fixed.

Stephen M. Webb (bregma)
Changed in unity:
milestone: 7.3.1 → 7.3.2
Stephen M. Webb (bregma)
Changed in unity:
milestone: 7.3.2 → 7.3.1
status: In Progress → Fix Released
Stephen M. Webb (bregma)
Changed in unity (Ubuntu Trusty):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Stephen M. Webb (bregma)
description: updated
Revision history for this message
Adam Conrad (adconrad) wrote : Please test proposed package

Hello CraigD, or anyone else affected,

Accepted unity into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/unity/7.2.4+14.04.20150316-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in unity (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
katsu (katsukatsu-deactivatedaccount) wrote :

* enable proposed repository & install unity package.

$ LANG=C apt-cache policy unity libunity-core-6.0-9 unity-services
unity:
  Installed: 7.2.4+14.04.20150316-0ubuntu1
  Candidate: 7.2.4+14.04.20150316-0ubuntu1
  Version table:
 *** 7.2.4+14.04.20150316-0ubuntu1 0
        400 http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ trusty-proposed/main i386 Packages
        100 /var/lib/dpkg/status
     7.2.4+14.04.20141217-0ubuntu1 0
        500 http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ trusty-updates/main i386 Packages
     7.2.2+14.04.20140714-0ubuntu1.1 0
        500 http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ trusty-security/main i386 Packages
     7.2.0+14.04.20140416-0ubuntu1 0
        500 http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ trusty/main i386 Packages

libunity-core-6.0-9:
  Installed: 7.2.4+14.04.20150316-0ubuntu1
  Candidate: 7.2.4+14.04.20150316-0ubuntu1
  Version table:
 *** 7.2.4+14.04.20150316-0ubuntu1 0
        400 http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ trusty-proposed/main i386 Packages
        100 /var/lib/dpkg/status
     7.2.4+14.04.20141217-0ubuntu1 0
        500 http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ trusty-updates/main i386 Packages
     7.2.2+14.04.20140714-0ubuntu1.1 0
        500 http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ trusty-security/main i386 Packages
     7.2.0+14.04.20140416-0ubuntu1 0
        500 http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ trusty/main i386 Packages

unity-services:
  Installed: 7.2.4+14.04.20150316-0ubuntu1
  Candidate: 7.2.4+14.04.20150316-0ubuntu1
  Version table:
 *** 7.2.4+14.04.20150316-0ubuntu1 0
        400 http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ trusty-proposed/main i386 Packages
        100 /var/lib/dpkg/status
     7.2.4+14.04.20141217-0ubuntu1 0
        500 http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ trusty-updates/main i386 Packages
     7.2.2+14.04.20140714-0ubuntu1.1 0
        500 http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ trusty-security/main i386 Packages
     7.2.0+14.04.20140416-0ubuntu1 0
        500 http://ftp.jaist.ac.jp/pub/Linux/ubuntu/ trusty/main i386 Packages

[CHECK: Test Case]
1. Start qtcreator
2. Resize window so that it is not maximised
3. Select 'Help' -> 'About Qt Creator'
4. Dismiss 'About Qt Creator' dialog
5. Move mouse over window titlebar.

---> I was able to access LIM after 'About QtCreator dialog'.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity - 7.2.4+14.04.20150316-0ubuntu1

---------------
unity (7.2.4+14.04.20150316-0ubuntu1) trusty; urgency=medium

  [ Andrea Azzarone ]
  * Avoid running potentially dangerous code paths when the screen is
    locked. (LP: #1410582)
  * Ungrab the shoutdown dialog as soon as possible. (LP: #1398287)
  * Use COMPIZ_METAKEY where needed. (LP: #1363534)
  * disabled Pointer Barriers during lockscreen (LP: #1401911)
  * disabled markup for VolumeLauncherIcon quicklist menu items (LP:
    #1413411)
  * enable Dash, Hud, and session dialogs over full screen window (LP:
    #1159249, #860970, #1413773, #1404486)
  * made unity unlockable if user is in nopsswdlogin group (LP:
    #1413790)
  * skipped the animation of BGHash on startup to prevent unwanted fade-
    in (LP: #1241757)

  [ Luke Yelavich ]
  * extended accessible exploration of the Dash dynamic content (LP:
    #1066157)

  [ Marco Trevisan (Treviño) ]
  * MenuManager: make sure menus are always shown when mouse is over
    them or when the always-show-menus option is on (LP: #955193,
    #1390562, #1374942, #1312137)
  * PanelService: use gdbus to notfy upstart of service start/stop (LP:
    #1302955)
 -- CI Train Bot <email address hidden> Mon, 16 Mar 2015 17:30:35 +0000

Changed in unity (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Chris J Arges (arges) wrote : Update Released

The verification of the Stable Release Update for unity has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

tags: added: rls-w-incoming
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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