Unable to launch xdiagnose through the Activities Overview in the normal way
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNOME Shell |
Fix Released
|
Critical
|
|||
Ubuntu GNOME |
Fix Released
|
High
|
Unassigned | ||
xdiagnose (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Unassigned |
Bug Description
Impact
======
Clicking the icon in GNOME Shell's Activities Overview for xdiagnose fails silently. Nothing happens. xdiagnose is a default app in Ubuntu GNOME so this is a major papercut.
Another bug being fixed in this upload is that xdiagnose hard-coded its app icon location making it impossible for icon themes to override it.
Test Case
=========
1. From Ubuntu GNOME 16.04, install the update.
2. Note that GNOME Shell caches app icons so the xdiagnose icon will probably disappear. You can fix this by logging out and logging back or by running Alt-F2 and entering the letter r in the popup. Wait a few moments for gnome-shell to reload.
3. Open the Activies Overview. Search for xdiagnose and click the app in the results.
4. Does xdiagnose run? Does its icon display ok?
Regression Potential
=======
Low. The primary change basically just copies what Synaptic does with its synaptic-pkexec launcher. Except for the minor glitch with the icon disappearing until GNOME Shell is reloaded, the icon switch is simple.
Original Bug Report
===================
I am in need of doing some diagnostics work with "xdiagnose", however when searching for it in the Activities Overview, and then clicking on it, absolutely nothing happens, when in the past it would ask me for my password so that I could run it as root.
I looked further into the issue and when trying to run it through Terminal:
xdiagnose
This was the output I got:
Error: Must run as superuser
But when running it in Terminal like so:
pkexec xdiagnose
It prompted for the password as it normally would and should (so pkexec is not the issue).
There was also no output from the command:
grep -r 'xdiagnose' ~/.local/
And the output of this command "grep -r 'xdiagnose' /usr/share/
/usr/
/usr/
/usr/
/usr/
The contents of the file is this:
[Desktop Entry]
Name=xdiagnose
GenericName
Comment=X.org Diagnostic and Repair Utility
Exec=pkexec xdiagnose
Icon=
Terminal=false
Type=
Categories=
X-Ubuntu-
I have reinstalled it with "sudo apt-get install --reinstall xdiagnose", however this seems to have made no difference at all to anything.
I have also attempted to launch another application via the Activities Overview that uses 'pkexec' to start, and it works fine as normal.
I initially experienced this issue on Ubuntu GNOME 15.04 with GNOME 3.16, then on Ubuntu GNOME 15.10 with GNOME 3.18, and now on Ubuntu GNOME 16.04 with GNOME 3.20. Though I remember a time when this issue wasn't present (probably when I was running Ubuntu GNOME 15.04 with GNOME 3.14).
tags: | added: vivid |
description: | updated |
description: | updated |
Changed in gnome-shell: | |
importance: | Unknown → Critical |
status: | Unknown → Confirmed |
Changed in xdiagnose (Ubuntu): | |
status: | Invalid → Triaged |
Changed in ubuntu-gnome: | |
status: | Confirmed → In Progress |
importance: | Undecided → High |
no longer affects: | gnome-shell (Ubuntu Xenial) |
Changed in xdiagnose (Ubuntu Xenial): | |
status: | New → Triaged |
importance: | Undecided → High |
status: | Triaged → In Progress |
Changed in xdiagnose (Ubuntu): | |
status: | Triaged → Fix Committed |
description: | updated |
Changed in gnome-shell (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in gnome-shell: | |
status: | Confirmed → Unknown |
Changed in gnome-shell: | |
status: | Unknown → Confirmed |
Changed in ubuntu-gnome: | |
status: | In Progress → Fix Released |
no longer affects: | gnome-shell (Ubuntu) |
Changed in gnome-shell: | |
status: | Confirmed → Fix Released |
This issue is still present on Ubuntu GNOME 15.10 with GNOME 3.18 and a fresh install.