** Description changed:

- 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.
+ 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/share/applications
  
  And the output of this command "grep -r 'xdiagnose'
  /usr/share/applications" was:
  
      /usr/share/applications/xdiagnose.desktop:Name=xdiagnose
      /usr/share/applications/xdiagnose.desktop:Exec=pkexec xdiagnose
      
/usr/share/applications/xdiagnose.desktop:Icon=/usr/share/xdiagnose/icons/microscope.svg
      
/usr/share/applications/xdiagnose.desktop:X-Ubuntu-Gettext-Domain=xdiagnose
  
  The contents of the file is this:
  
      [Desktop Entry]
      Name=xdiagnose
      GenericName=Diagnose Graphics Issues
      Comment=X.org Diagnostic and Repair Utility
      Exec=pkexec xdiagnose
      Icon=/usr/share/xdiagnose/icons/microscope.svg
      Terminal=false
      Type=Application
      Categories=System;Settings;
      X-Ubuntu-Gettext-Domain=xdiagnose
  
  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).

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xdiagnose in Ubuntu.
https://bugs.launchpad.net/bugs/1483276

Title:
  Unable to launch xdiagnose through the Activities Overview in the
  normal way

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell/+bug/1483276/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to