← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1483276] Re: Unable to launch xdiagnose through the Activities Overview in the normal way

 

This bug was fixed in the package xdiagnose - 3.8.5

---------------
xdiagnose (3.8.5) yakkety; urgency=medium

  * Use xdiagnose-pkexec helper script (like synaptic-pkexec) to
    fix xdiagnose not starting from GNOME's Activities Overview
    (LP: #1483276)
  * Install app icon in standard location (making it themeable)

 -- Jeremy Bicha <jbicha@xxxxxxxxxx>  Sat, 20 Aug 2016 00:55:14 -0400

** Changed in: xdiagnose (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1483276

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

Status in gnome-shell:
  Confirmed
Status in Ubuntu GNOME:
  In Progress
Status in gnome-shell package in Ubuntu:
  Invalid
Status in xdiagnose package in Ubuntu:
  Fix Released
Status in xdiagnose source package in Xenial:
  In Progress

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/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).

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