Bug 399136 - No icon in system tray for distro-release-notifier
Summary: No icon in system tray for distro-release-notifier
Status: RESOLVED INTENTIONAL
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages Unstable Edition (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords:
: 399137 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-09-27 11:30 UTC by Adrien Cordonnier
Modified: 2018-09-27 21:06 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrien Cordonnier 2018-09-27 11:30:55 UTC
Step to reproduce:

1. Log in, a new message inform about upgrading to 18.04. There is a yellow upgrade icon in the system tray
2. Fill the root file system so that there is just a few hundred of MB:

    $ df -h
    /dev/sda2    17G    9.6G    6.0G    62% /
    $ fallocate -l 5800M temp_fill
    $ df -h
    /dev/sda2    17G     16G    303M    99% /

3. Click on the yellow upgrade icon in the system tray. Click "upgrade" on the upgrade window. The upgrade icon disappears from the system tray. The upgrade will fail because of lack of space.

4. Free some space on the root file system:

    rm temp_fill

5. Notice that there is no more yellow upgrade icon in the system tray. In the notification and status section of the system tray, upgrade section show that the system is up-to-date. Hence there is no easy way to find how to upgrade at that point.

`ps aux | grep distro|` shows that distro-release-notifier is still running in the background. I did not find how to access it though. It is possible to run `sudo distro-release-notifier` but it warns about a missing icon (see below). An "invisible" icon is added to the system tray, when clicking on it, it is possible to start the upgrade again.

    $ distro-release-notifier
    org.kde.distro-release-notifier: Failed to register org.kde.DistroReleaseNotifier
    $ sudo distro-release-notifier
    QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
    QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
    QSystemTrayIcon::setVisitble: No Icon set



Expected result: 
The yellow upgrade icon should automatically return to the system tray after the upgrade fails.

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.14.80
KDE Frameworks Version: 5.51.0
Qt Version: 5.11.1
distro-release-notifier Version: 0.0+p16.04+git20180924.1417-0
Comment 1 Adrien Cordonnier 2018-09-27 11:39:10 UTC
*** Bug 399137 has been marked as a duplicate of this bug. ***
Comment 2 Harald Sitter 2018-09-27 21:06:53 UTC
It reappears after <= 24hours.