File Handler Dialog not opening in Archlinux (Hyprland)
Captchas
- [x] I have read the instructions.
- [x] I have searched existing issues and avoided creating duplicates.
- [x] I am not filing an enhancement request.
- [x] I have checked that this issue cannot be reproduced on Mozilla Firefox.
- [x] I have checked that this issue can be reproduced once I removed all my Mods and Custom CSS.
What happened?
The file handler dialog doesn't open at all when trying to download, save page, upload, etc. It is not an issue in Firefox and only happens with Zen. I am using Archlinux with Hyprland.
I think this issue is also linked with Issue 502 but it is closed. Please fix this.
Version
1.11.1b
What platform are you seeing the problem on?
Linux (Flatpak)
What component is this issue related to?
Other
Relevant log output if applicable
I don't know what is happening, but I found a way (or ways — I'm really not sure) that solved it for me. I'm saying this because I tried a lot of things that didn't solve anything at first, but after a reboot, one of those things fixed the issue.
I have the same environment as you: Arch + Hyprland
- Installed
xdg-desktop-portal-hyprland(pacman -S xdg-desktop-portal-hyprland). - Changed the default MIME type handler for
inode/directory. My default waskitty-open. I changed it toorg.kde.dolphin.desktop. I did this by adding the following entry to[Default Applications]in~/.config/mimeapps.list:
inode/directory=org.kde.dolphin.desktop
(This is weird because I changed it, but the file picker that opens isn't Dolphin hahaha, so this probably doesn't do anything here.) - Removed the
inode/directorytext insidsekitty-open.desktopfile (at/usr/share/applications). - Set
widget.use-xdg-desktop-portal.mime-handlerto1(in zen about:config). (I don't really think this did anything, but I did it anyway, so I'm mentioning it just in case.)
As I said, I don't know which of these things actually fixed the problem, but that's what I did. Try each one separately, and reboot your computer after each change to figure out what actually works.
I found out the issue was related to XDG/MIME types because when I changed widget.use-xdg-desktop-portal.file-picker to 0, then closed and reopened Zen, the file picker that showed up was the Gnome File Picker (which was problematic, so just it doesn't solved my problem).
Hi, @HauntedKnives. I'm Dosu, and I'm helping the desktop team manage their backlog. I'm marking this issue as stale.
Issue Summary:
- You reported an issue with the Zen browser on Archlinux with Hyprland where the file handler dialog fails to open.
- GiovanePS, with a similar setup, suggested potential solutions like installing
xdg-desktop-portal-hyprland, modifying MIME type handlers, and adjusting Zen browser settings. - GiovanePS recommended trying each solution separately and rebooting to identify the effective fix.
Next Steps:
- Please let us know if this issue is still relevant to the latest version of the desktop repository by commenting here.
- If there is no further activity, this issue will be automatically closed in 7 days.
Thank you for your understanding and contribution!
No, I already tried it. It doesn't work.
However, there is no problem with the tarball version.
I was having a similar problem when I wanted to save a PDF, for example, it wouldn't open the file dialog to save.
The following commands solve this issue:
sudo pacman -S xdg-desktop-portal-gtk
systemctl --user restart xdg-desktop-portal
I was having a similar problem when I wanted to save a PDF, for example, it wouldn't open the file dialog to save.
The following commands solve this issue:
sudo pacman -S xdg-desktop-portal-gtksystemctl --user restart xdg-desktop-portal
thanks a lot bro, you solved my problem
I was having a similar problem when I wanted to save a PDF, for example, it wouldn't open the file dialog to save.
The following commands solve this issue:
sudo pacman -S xdg-desktop-portal-gtksystemctl --user restart xdg-desktop-portal
Thanks! It also works for me.
Hi, @HauntedKnives. I'm Dosu, and I'm helping the desktop team manage their backlog. I'm marking this issue as stale.
Issue Summary:
- You reported a problem with the Zen browser on Archlinux with Hyprland where the file handler dialog fails to open.
- GiovanePS suggested solutions like installing
xdg-desktop-portal-hyprlandand modifying MIME type handlers, which did not resolve the issue. - Other users, including msdevpt, resolved similar issues by installing
xdg-desktop-portal-gtkand restarting the portal service.
Next Steps:
- Please confirm if this issue is still relevant to the latest version of the desktop repository by commenting here.
- If no updates are provided, the issue will be automatically closed in 7 days.
Thank you for your understanding and contribution!
I have the same issue, but on Flatpak / Gentoo / Niri. Manually restarting xdg-desktop-portal doesn't help. This is a new regression, I didn't have this issue from the beginning.
After a downgrade from xdg-desktop-portal-gnome from 47.3 to 46.2, the file picker works again for me.
Hi, @HauntedKnives. I'm Dosu, and I'm helping the desktop team manage their backlog and am marking this issue as stale.
Issue Summary:
- You reported that the file handler dialog fails to open in Zen Browser on Archlinux with Hyprland when using the Flatpak version.
- Suggested fixes included installing xdg-desktop-portal-hyprland and adjusting MIME handlers, which you found ineffective.
- Other users resolved the issue by installing xdg-desktop-portal-gtk and restarting the portal service.
- A regression in xdg-desktop-portal-gnome version 47.3 was identified and fixed by downgrading to 46.2.
- I have asked for confirmation if the issue still persists with the latest version.
Next Steps:
- Please let me know if this issue is still relevant with the latest version of Zen Browser.
- If I don’t hear back within 10 days, I will automatically close this issue.
Thanks for your understanding and contribution!