Add Picture button in Background does not allow you to select wallpaper
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
budgie-control-center (Ubuntu) | Status tracked in Oracular | |||||
Noble |
In Progress
|
Medium
|
Sam Lane | |||
Oracular |
Fix Released
|
Medium
|
fossfreedom |
Bug Description
[ Impact ]
* On Ubuntu Budgie 24.04 / 24.10, When trying to select a custom wallpaper to add to the Backgrounds page of Budgie Control Center, the "Add Picture" button will open a dialog to select an image file. However, there will be no thumbnail of the image displayed in this dialog, the "Open" button will remain insensitive, and double-clicking the file name will have no effect. The only option is to cancel out of the dialog. This prevents the user from adding a custom wallpaper. This is due to AppArmor changes preventing certain apps doing deemed security related issues in userspace. In this case libgnome-desktop is calling bwrap which is the deemed culprit.
* The upload addresses this issue by using GdkPixbuf to create the thumbnail image, instead of gnome-desktop thumbnail creator.
[ Test Plan ]
To reproduce:
* On Ubuntu Budgie 24.04/24.10
* Open Budgie Control Center
* Navigate to the Background panel
* Select the "Add Picture" option
* Select an image file
* The thumbnail is not updated to show the currently selected image
* The "Open" button remains inactive, and the only option is to cancel the dialog
* After this, the proposed fix can be applied.
* Open Budgie Control Center and repeat the above
* When a valid image is selected, the thumbnail is now properly shown and the "Open" button is enabled.
* Open the selected image. The image is now properly added to Budgie Control Center and can selected as a background
[ Where problems could occur ]
* It is possible that gnome-desktop thumbnail creator provided additional functionality or handled a wider range of images than GdkPixbuf.
* Mitigating factors are that this is very specific to the Budgie desktop, and it only directly impacts users who set wallpapers. It improves functionality where it is currently not working.
[ Other Info ]
--- Original Report ---
Ubuntu Budgie 24.04
budgie-
When trying to select a custom wallpaper to add to the Backgrounds page of Budgie Control Center, the "Add Picture" button will open a dialog to select an image file. However, there will be no thumbnail of the image displayed in this dialog, the "Open" button will remain insensitive, and double-clicking the file name will have no effect. The only option is to cancel out of the dialog.
Steps to reproduce:
On Ubuntu Budgie Noble / Oracular:
- open Budgie Control Center
- Navigate to the Backgrounds page and click the "Add Picture" button in the top right title bar.
- When the file chooser dialog opens, select an image file.
What I would expect to happen:
I would expect the thumbnail to update in the lower right, and the "Open" button to become enabled.
What happened instead:
The "Open" button remains disabled, and the thumbnail is shown as a "?".
Additional information:
This is due to AppArmor changes preventing certain apps doing deemed security related issues in userspace.
Running budgie-
(budgie-
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: budgie-
ProcVersionSign
Uname: Linux 6.8.0-31-generic x86_64
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: Budgie:GNOME
Date: Tue May 14 12:38:19 2024
InstallationDate: Installed on 2024-05-08 (6 days ago)
InstallationMedia: Ubuntu-Budgie 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
SourcePackage: budgie-
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in budgie-control-center (Ubuntu Noble): | |
assignee: | nobody → Sam Lane (samlane00) |
Changed in budgie-control-center (Ubuntu Oracular): | |
assignee: | nobody → Sam Lane (samlane00) |
Changed in budgie-control-center (Ubuntu Noble): | |
importance: | Undecided → Medium |
Changed in budgie-control-center (Ubuntu Oracular): | |
importance: | Undecided → Medium |
Changed in budgie-control-center (Ubuntu Oracular): | |
status: | New → Fix Committed |
description: | updated |
description: | updated |
summary: |
- Add Picture button in does not allow you to select wallpaper + Add Picture button in Background does not allow you to select wallpaper |
Changed in budgie-control-center (Ubuntu Oracular): | |
status: | Fix Committed → Fix Released |
Changed in budgie-control-center (Ubuntu Noble): | |
status: | New → In Progress |
The proposed solution here deals with bubblewrap being broken by apparmor in noble by altogether eliminating the intended security benefits of the bubblewrap sandboxing of the thumbnailer.
I do not think this is an appropriate resolution of this issue. We need to fix bubblewrap to work with current apparmor, not downgrade the security of the desktop in noble.
I have reopened the bubblewrap task on LP: #2046844 and escalated to the AppArmor team.