Xfce Forum

Sub domains
 

You are not logged in.

#1 2026-01-22 12:09:17

xfce-amateur
Member
Registered: 2021-06-23
Posts: 16
LinuxFirefox 140.0

unexpected filename change in 'save to' dialog

When using the 'Enter name of file to save to' dialog when choosing where to save a file (e.g. when using a browser to download something), the pre-filled filename sometimes spontaneously switches to the name of another, existing file. This only seems to happen when I first click the button in the dialog that allows me to create a new folder.

So, say the pre-filled filename is downloadme.pdf, and the dialog is showing the contents of /some/path, which includes a file named existingfile.pdf.

I click on the create folder button and enter a new folder name, e.g. 'subfolder'.

Now the dialog shows the contents (currently empty) of /some/path/subfolder, which is as expected, but the pre-filled filename is now existingfile.pdf, whereas I expect it to still be downloadme.pdf.

Has anyone else seen this?

If this is likely a bug, where should I report it? https://gitlab.xfce.org/xfce/xfdesktop? https://gitlab.xfce.org/xfce/thunar? Somewhere else?

Offline

#2 2026-01-23 00:07:27

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,491
LinuxFirefox 147.0

Re: unexpected filename change in 'save to' dialog

Which browser are you using? It's probably using something like GtkFileChooser.

Also, are you using a desktop-portal, it may be configured to use another file chooser.


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2026-01-23 10:52:19

xfce-amateur
Member
Registered: 2021-06-23
Posts: 16
LinuxFirefox 140.0

Re: unexpected filename change in 'save to' dialog

I'm using Firefox.

I see that xdg-desktop-portal is installed on my system, but the service doesn't appear to be active:

~ $ dpkg --listfiles xdg-desktop-portal | head
/.
/usr
/usr/lib
/usr/lib/systemd
/usr/lib/systemd/user
/usr/lib/systemd/user/xdg-desktop-portal-rewrite-launchers.service
/usr/lib/systemd/user/xdg-desktop-portal.service
/usr/lib/systemd/user/xdg-document-portal.service
/usr/lib/systemd/user/xdg-permission-store.service
/usr/libexec
~ $ systemctl list-units | grep xdg
~ [0|1] $ 

Offline

#4 2026-01-23 13:10:24

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,491
LinuxFirefox 147.0

Re: unexpected filename change in 'save to' dialog

Firefox uses GtkFileChooser by default - which is a GTK component. Do you have a "~/.config/xdg-desktop-portal/portals.conf" file? If so, what are its contents?


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2026-01-25 20:43:58

xfce-amateur
Member
Registered: 2021-06-23
Posts: 16
LinuxFirefox 140.0

Re: unexpected filename change in 'save to' dialog

Thanks for the continued interest in this issue!

But no, no such file.

/m/h/m/.config $ find -L -iname "*xdg*"
./calibre/xdg_open_with.json
./MX-Linux/xdg_check
/m/h/m/.config $ 

Offline

#6 2026-01-26 00:12:05

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 12,491
LinuxFirefox 147.0

Re: unexpected filename change in 'save to' dialog

Then in all likelihood, its GtkFileChooser, a part of GTK.


Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2026-01-29 10:29:10

xfce-amateur
Member
Registered: 2021-06-23
Posts: 16
LinuxFirefox 140.0

Re: unexpected filename change in 'save to' dialog

Ok, thanks a lot. I'll try the Gtk people.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.021 seconds, 7 queries executed - Memory usage: 539.24 KiB (Peak: 540.22 KiB) ]