appmenu crashes on AppMenuPlatformMenuBar::setAltPressed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
appmenu-qt |
Fix Released
|
Medium
|
Aurélien Gâteau | ||
appmenu-qt (Ubuntu) |
Fix Released
|
Medium
|
Aurélien Gâteau | ||
Oneiric |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
---- SRU info ----
[Impact]
Any Qt application whose main window does not have a menubar will crash when Alt is pressed.
[Development Fix]
Fixed in appmenu-qt by ensuring the code responsible for registering the mainwindow on DBus does not tell it has registered one when it did not.
[Stable Fix]
The fix proposed by Steffen is fine for Oneiric. Turned it into a debdiff (see attached patch)
[Test Case]
- Start fbreader
- Press Alt => application crashes
[Regression Potential]
No regression expected.
---- Original description ----
Several applications (calibre,fbreader) crash in AppMenuPlatform
because m_exporter is NULL.
Workaround in line 216:
- if (m_adapter) {
+ if (m_adapter && m_adapter-
seems to work.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: appmenu-qt 0.2.2-0ubuntu1
ProcVersionSign
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Wed Oct 19 00:40:29 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha i386 (20100803.1)
ProcEnviron:
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: appmenu-qt
UpgradeStatus: Upgraded to oneiric on 2011-08-07 (72 days ago)
Changed in appmenu-qt (Ubuntu): | |
assignee: | nobody → Aurélien Gâteau (agateau) |
Changed in appmenu-qt: | |
status: | Fix Released → In Progress |
summary: |
- appmenu crashes on AppMenuPlatformMenuBar::setAltPressed + appm |
summary: |
- appm + appmenu crashes on AppMenuPlatformMenuBar::setAltPressed |
Changed in appmenu-qt: | |
status: | In Progress → Fix Released |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Status changed to 'Confirmed' because the bug affects multiple users.