** Description changed:

  Ubuntu Noble 24.04 desktop icons ng does not show thumbnails of pdf and
  other image files.
  
  I do not know if this bug is related to: 
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/2047256
  that was fixed for nautilus.
  
- 
  No LSB modules are available.
  Description:  Ubuntu 24.04 LTS
  Release:      24.04
  
  gnome-shell-extensions:
-   Installed: 46.1-2
-   Candidate: 46.1-2
-   Version table:
-  *** 46.1-2 500
-         500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages
-         500 http://archive.ubuntu.com/ubuntu noble/universe i386 Packages
-         100 /var/lib/dpkg/status
+   Installed: 46.1-2
+   Candidate: 46.1-2
+   Version table:
+  *** 46.1-2 500
+         500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages
+         500 http://archive.ubuntu.com/ubuntu noble/universe i386 Packages
+         100 /var/lib/dpkg/status
+ 
+ [ Impact ]
+ 
+ This bug prevents Desktop Icons to create thumbnails of the files placed
+ in the desktop. Thumbnails are important because they allow to identify
+ at a glance the content of some files, like pictures or PDF documents.
+ 
+ This bug happens because the desktop application relies on the gnome-
+ desktop library thumbnail functions, which make use of `bwrap` to launch
+ each thumbnailer. The problem is that bwrap requires unprivileged user
+ namespaces, but in Ubuntu 23.10 it was restricted for security reasons,
+ and each program wanting to use it require an exception for apparmor.
+ 
+ [ Test plan ]
+ 
+ To test the patch, first be sure to be running the Desktop Icons
+ extension distributed in a .deb package with Ubuntu. It won't work with
+ the ones installed directly from the Gnome Extensions web page. To check
+ it, you can use the "gnome-extensions-app" program.
+ 
+ Copy some files that allow thumbnailing (like pictures, or PDF files) to
+ the Desktop folder.
+ 
+ Open a terminal and type `rm -rf ~/.cache/thumbnails` to delete all the
+ current thumbnail files.
+ 
+ Type `ps ax | grep ding` to find the PID of the desktop icons process.
+ 
+ Use `kill XXXX` (being XXXX the PID of the desktop icons process) to
+ kill it, and force a desktop reload.
+ 
+ If the patch works, the files will have thumbnails (if they support
+ them); if it doesn't work, all the files will show the default icon for
+ their file type.
+ 
+ [ Were problems could occur ]
+ 
+ If there is a typo in the apparmor definition file, in the best-case
+ scenario thumbnails won't work.
+ 
+ In the worst-case scenario, a different program could receive
+ permissions to use unprivileged user namespaces.
+ 
+ A bug in the desktop icons program could lead to a program with access
+ to unprivileged user namespaces.

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

Title:
  Ubuntu 24.04 desktop icons ng image thumbnails no longer displayed

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-shell-extension-desktop-icons-ng/+bug/2064849/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to