budgie-extras applets exit early on occasion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
budgie-extras (Ubuntu) |
Fix Released
|
Undecided
|
Sam Lane | ||
Jammy |
Fix Released
|
Medium
|
Sam Lane | ||
Kinetic |
Fix Released
|
Medium
|
Sam Lane | ||
Lunar |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
* On some of the Budgie Extras applets, background processes are used to handle tasks, for example to show a clock on the desktop or detect USB drives. These background processes are designed to terminate when they detect they are no longer installed on the Budgie Panel. On occasion, these processes can be started prior to the Budgie Panel being fully initialized, which causes them to incorrectly assume they are no longer on the panel, and thus terminate early. This affects the following applets:
- Budgie ShowTime Applet
- Budgie Weathershow
- Budgie DropBy
- Budgie Workplace Wallpaper Switcher
* This causes undesirable behavior, as the applets no longer work as expected. For desktop applets, the desktop display will briefly show then disappear. For DropBy and Wallpaper switcher, the applets will essentially stop working. In these cases, it will be necessary to remove and re-add the applet to the panel, or disable/re-enable the desktop component in the applet settings.
* For all these cases, the fix is the same. By using GLib Idle.add to spawn these external process, the spawning does not occur until after the panel has had the chance to fully initialize, thus preventing the early exit.
[ Test Plan ]
* On Budgie 22.04 or 22.10, add the following applets to the Budgie Panel:
- Budgie ShowTime
- Budgie Weathershow
- Budgie DropBy
- Budgie Workspace Wallpaper Switcher
Make sure Weathershow option to show desktop weather is enabled
Set up Workspace Wallpaper Switcher to show different wallpapers in each workspace
Reboot and log in.
1. See if the desktop clock is present
2. See if the desktop weather is present.
3. Insert a USB drive and make sure the DropBy window pops up
4. Switch workspaces and ensure the wallpaper changes
Many times one or more of the four previous items will fail. It is especially more frequent on slower machines, virtual machines, or xdrp sessions where the panel may take longer to initialize.
After applying the fix, reboot and test these 4 items again. None of them should terminate early and all items should work properly.
[ Where problems could occur ]
Visually this appears to be a cosmetic issue with a known but rather annoying workaround that needs to be applied each logon. This fix will ensure the applets will display correctly upon login.
The same fix is in Lunar and no similar issues have been reported. The worse case scenario is that the same workaround would have to be continued to be applied - and extended to lunar users as well.
[ Other Info ]
---
Ubuntu Budgie 22.04.1
Applet version 1.4.0-1ubuntu2
When starting up my system with Budgie Showtime on the panel, occasionally the desktop clock will disappear before the panel is displayed. This seems to happen more frequently on lower powered systems (like Raspberry Pi) or in virtual machines and xrdp remote sessions, where the Budgie panel might take longer to initialize.
The same issue affects the budgie-
Steps to reproduce:
While it can happen somewhat randomly, the best method I have found:
-ensure the Showtime, Weathershow, Dropby, and Workspace Wallpaper applet have been added to the panel
- select the Weathershow Applet in Budgie Desktop settings and make sure "show on desktop" is selected
-reboot
-upon login, see if ShowTime and Desktop Weather appear on the desktop
- as it can be somewhat random, I have found I can more reliably reproduce by setting my laptop to "power save" mode instead of performance, or testing in a VM
What I would expect to happen:
On first login with these applets installed, they should be remain on the desktop, and the background processes should remain active.
What happened instead:
On first login, occasionally the external processes will close before the panel is displayed.
The applets all seem to be affected by the same underlying issue where the external process is spawned before the Budgie panel is fully initialized.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: budgie-
ProcVersionSign
Uname: Linux 5.15.0-56-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: Budgie:GNOME
Date: Fri Dec 16 07:30:08 2022
InstallationDate: Installed on 2022-12-09 (6 days ago)
InstallationMedia: Ubuntu-Budgie 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
SourcePackage: budgie-extras
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- desktop showtime exits early on occasion + budgie-extras applets exit early on occasion |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
tags: | added: kinetic |
description: | updated |
Changed in budgie-extras (Ubuntu Kinetic): | |
assignee: | nobody → Sam Lane (samlane00) |
Changed in budgie-extras (Ubuntu Jammy): | |
assignee: | nobody → Sam Lane (samlane00) |
Changed in budgie-extras (Ubuntu Kinetic): | |
status: | New → In Progress |
description: | updated |
Changed in budgie-extras (Ubuntu): | |
status: | New → Fix Released |
Added series and marked lunar as fixed released since confirmed resolved in this series