Firefox in LXQt uses libfm-qt dialog only once after opening
Categories
(Firefox :: Untriaged, defect)
Tracking
()
People
(Reporter: rockandrollboy14, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:133.0) Gecko/20100101 Firefox/133.0
Steps to reproduce:
- Ensure that xdg-desktop-portal 1.18.4 and xdg-desktop-portal-lxqt 1.1.0 are installed.
- In about:config, ensure that "widget.use-xdg-desktop-portal.file-picker" and "widget.use-xdg-desktop-portal.mime-handler" are both set to 1 and that the other three "widget.use-xdg-desktop-portal" settings ("widget.use-xdg-desktop-portal.location", "widget.use-xdg-desktop-portal.open-uri", and "widget.use-xdg-desktop-portal.settings") are all set to 2.
- Close all Firefox windows if any settings in the previous step were changed.
- Open Firefox to any webpage (such as duckduckgo.com).
- Press Ctrl+S. libfm-qt should appear as the save dialog, like expected (it'll look similar to PCMaFM-Qt).
- Close the libfm-qt save dialog (no need to save the webpage).
- Press Ctrl+S again. The GTK dialog appears instead.
- Close the GTK save dialog.
- Repeat step 8-9 however many times you'd like. The GTK dialog will always appear until all Firefox windows are closed and a new window is opened, starting a new Firefox session. The same thing will happen with this new session (the first time Ctrl+S is used, PCManFM-Qt is used for the dialog, but the GTK dialog is used every time after that).
This issue also occurs with Ctrl+O and also occurs with Thunderbird 128.4.2esr. I thought it was an issue with xdg-desktop-portal-lxqt, so I reported this on their GitHub (https://github.com/lxqt/xdg-desktop-portal-lxqt/issues/48), but the dev wasn't able to reproduce it. Maybe it's a Firefox & Thunderbird-side issue since I couldn't reproduce this on my non-Mozilla apps.
I should note that running Firefox using GTK_USE_PORTAL=1 ("GTK_USE_PORTAL=1 firefox" in a terminal) seems to "fix" this issue. I put "fix" in quotes because I consider it to be more of a workaround, but at least it uses libfm-qt for the save/open dialogs every time during the whole session when run like that from terminal. This "fix"/workaround also works for Thunderbird.
LXQt 2.1.0
Qt 6.7.2
Xorg 7.6
xdg-desktop-portal 1.18.4
xdg-desktop-portal-lxqt 1.1.0
Firefox 133.0.3 (NON-FLATPAK)
Thunderbird 128.4.2esr (NON-FLATPAK)
Actual results:
libfm-qt file chooser dialog opens only the first time Ctrl+S or Ctrl+O is pressed. Afterwards, every time either of those two shortcuts are activated, the GTK file choose dialog opens instead.
Expected results:
libfm-qt file chooser dialog opens every time Ctrl+S or Ctrl+O is pressed.
Please ignore and/or delete this. I mistakenly had "Many users could be harmed by this security problem" checked when submitting. The new, proper report is https://bugzilla.mozilla.org/show_bug.cgi?id=1936463
Updated•2 months ago
|
Description
•