Openbox Apps menu causes error in obamenu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openbox (Ubuntu) |
Fix Released
|
Medium
|
Simon Quigley | ||
Bionic |
Fix Released
|
Medium
|
Simon Quigley | ||
Cosmic |
Fix Released
|
Medium
|
Simon Quigley |
Bug Description
[Impact]
Without this, users who use Openbox and try to open the applications menu when that applications menu is empty will be faced with an interesting looking error message.
[Test Case]
Start a pure Openbox session. On Lubuntu 18.04 LTS, you can do this by selecting "Openbox" from the sessions in the top right of the login screen (lightdm). Instructions may vary depending on the display manager.
The Applications menu should be empty, and if it isn't, those packages need to be uninstalled.
It should simply list an empty menu, or no menu at all, without making a fuss.
[Regression Potential]
This is a one line change, and it's very low-risk, but of course, if there's a toolchain change or if an item in the Applications menu is peculiar, it could regress that way. Otherwise, there's very little ways this could regress.
[Original Description]
Fresh install of Lubuntu daily 2018-05-16 in VirtualBox.
Steps:
Started Openbox session.
Right clicked desktop and hovering over Applications submenu causes error: Invalid output from pipe-menu "/usr/bin/obamenu"
Screenshot attached.
Changed in openbox (Ubuntu Bionic): | |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in openbox (Ubuntu Cosmic): | |
status: | Triaged → In Progress |
Changed in openbox (Ubuntu Bionic): | |
assignee: | nobody → Simon Quigley (tsimonq2) |
Changed in openbox (Ubuntu Cosmic): | |
assignee: | nobody → Simon Quigley (tsimonq2) |
Changed in openbox (Ubuntu Cosmic): | |
status: | In Progress → Fix Committed |
description: | updated |
Confirmed as well on Bionic. It does not occur with Artful. Xenial doesn't even have the Applications menu item.
Note running `obamenu` from the terminal produces the following result:
Traceback (most recent call last): dtfile( dtf, category Dict)
File "/usr/bin/obamenu", line 181, in <module>
process_
File "/usr/bin/obamenu", line 146, in process_dtfile
if eqi[1][-1] == ';':
IndexError: string index out of range
Speaking for the Lubuntu team, the only reason we have that OpenBox session is because it comes with OpenBox. We don't really support it.