Skip to content

Gnome-sushi fails to display preview in subdirectory of /media/ #3069

Description

@malgam

Describe the bug

When I use Nautilus to view image files in a subdirectory of /media/, pressing the space bar for a preview has no effect. The same action in a subdirectory of my home folder, produces the preview.

What did you expect to happen?

Selecting an image file and pressing the space bar should produce a preview with gnome-sushi in any subdirectory.

Output of bootc status

Booted image: ghcr.io/ublue-os/bluefin:gts
        Digest: sha256:2b95c34db2bd3badd3a3712c6ae2ca970a51d841fc5f6b60d9a154e4cbaa1d49 (amd64)
       Version: gts-41.20250824 (2025-08-24T05:57:57Z)

  Rollback image: ghcr.io/ublue-os/bluefin:gts
          Digest: sha256:0a933e5c5d0016b6c0fb2bd7d9207fbb7d53b7f6f4918d3f6f4fb202ddbee854 (amd64)
         Version: gts-41.20250819 (2025-08-19T15:00:13Z)

Output of groups

mal wheel

Extra information or context

This has been tested on a fresh install of bluefin-gts in a gnome-boxes VM. If I take a screenshot and then inspect the ~/Pictures/Screenshots/ folder with Nautilus (Files), I can inspect the screenshot png file and then press the space bar for a preview.
If I then create the folder /media/test/, change it's owner to myself and copy in the screenshot file, the preview function in Nautilus has no effect except for the following error message in the system log:

`Aug 26 15:12:50 bluefin org.gnome.Nauti[7499]: JS ERROR: Failed to query default handler for file:///media/test/Screenshot%20From%202025-08-01%2010-19-00.png: Gio.IOErrorEnum: Error when getting information for file “/media/test/Screenshot From 2025-08-01 10-19-00.png”: No such file or directory
                                               _updateTitlebar@resource:///org/gnome/NautilusPreviewer/js/ui/mainWindow.js:356:37
                                               setFile@resource:///org/gnome/NautilusPreviewer/js/ui/mainWindow.js:399:14
                                               showFile@resource:///org/gnome/NautilusPreviewer/js/ui/application.js:161:30
                                               ShowFile@resource:///org/gnome/NautilusPreviewer/js/ui/application.js:80:26
                                               _handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:329:38
                                               _wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:408:34
                                               main@resource:///org/gnome/NautilusPreviewer/js/ui/main.js:54:24
                                               run@resource:///org/gnome/gjs/modules/script/package.js:221:19
                                               @/app/libexec/org.gnome.NautilusPreviewer:9:17
`

The same symptoms occur with my normal Bluefin-stable installation on my laptop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions