Firefox is not a GTK application by the way. They use their own XUL/XPCOM framework and are in the long-running process of porting everything to HTML/JS/CSS.
There must be GTK somewhere,
gtk3
is a dependency on Arch and the GTK_USE_PORTAL env var strongly suggests GTK has something to do with the file chooser. If they’re going to have to reimplement the latter, I hope it’s going to be less horrible than the GTK one but knowing Mozilla I’m not that faithful…It does use the GTK file-open dialog by default (although distributions can swap that out).
It also takes inspiration from the GTK theme for drawing buttons and whatnot, so they fit into the OS. KDE generates a GTK theme, though, so that’s rarely a problem.
You could definitely have raised a bug report in the time it took you to make this
I cannot even determine the culprit, to whom am I supposed to file a bug report?
At https://bugzilla.mozilla.org maybe? Or just look up “firefox report bug” online, I guess
I don’t know if Firefox is at fault. It could be Firedragon (the fork I’m using), it could be any of the desktop portals messing things up (looking at you,
xdg-desktop-portal-gtk
), it could be Arch Linux due to how packagers package each portal, it could be that I stepped on a landmine by switching from Sway to Hyprland - this is when the problem first occurred.Firedragon’s (and the Firefox flatpak’s) output doesn’t say anything, nothing stands out in their logs, same goes for both Sway and Hyprland - for all I know XDG portals don’t even have standalone logs, they just dump error messages to stdout in my experience (which, again, have not been dumped).
I could send bug reports to everyone, and get told “this isn’t our problem, write a bug report to ${OTHER_SOFTWARE}”. But then, which logs do I provide? All of them? Sure, I can gather up logs and non-existent messages from several pieces of software, one of them being a glorified API.
It would have taken me a good hour to find the relevant data, find the correct places to write reports to, word things in a quasi-professional manner, all for a small chance for any of the developers of something to answer something that is not a variation of “can’t help you bro, your logs are anorexic”.
So, after reminiscing the days of writing Windows registry keys and seeing no results (by writing XDP hints all over the system AND rebooting), I took 10 minutes to vent and make a meme - NoScript was intefering with imgflip, otherwise I would have needed 3.
I could not, in fact, definitely have raised a bug report in the time it took me to make this.
I stepped on a landmine by switching from Sway to Hyprland
That’s 100% what it is. Changing desktop environments has almost always led to issues in my experience. If you want to use a different DE, make a new user account or reinstall the distro.
It turned out not to be the problem, I just incidentally changed other stuff while doing it
Everyone involved, worst case they just close them
As I said in another other comment to someone else, there is a quite noticeable difference in effort between typing sentences on imgflip and hunting bugs.
Well, you’ve determined a major part of what’s causing it. There is not much more to add, just submit what you have.
The only thing I can correctly report is that the termfilechooser portal causes something to die somewhere at some point - it never even worked in the first place.
It’s above my 0$/h paygrade at this point
Also why for fucks sake does firefox do it’s own mime type management and does not respect default applications set on system level!
Weird, on KDE it uses a GTK portal by default but tha argument makes it use the KDE portal
Perhaps Plasma automatically sets the various enviornment variables to enable consistent themes? I haven’t used it in a while…
Had to nuke xdg-desktop-portal recently. AGAIN. Because they keep introducing a regression that causes all the GTK apps to run at a snails pace and totally ruins the desktop experience. I HATE xdg-desktop-portal. This has happened at least twice before. They can’t seem to get their shit together. I wish I could just be rid of it entirely.
While it is causing me a ton of headaches, I’m thankful that it gives the user a choice of desktop utilities… I just wish I didn’t have to hunt env variables and config files that may or may not be completely ignored.
I dont understand this. I just let it open explorer.exe
At the expense of missing what could potentially be a deadpan ironic comment, I would like to divert your attention to the name of the community this meme was posted on
I don’t understand. I read this on edge.exe.
Addendum: I reinstalled the GTK portal because I was desperate, now I can’t even use that UX abomination because who the
█▀▀ █░█ █▀▀ █▄▀ █▀░ █▄█ █▄▄ █░█
knows
(As it turns out, the cause was a previous attempt to get xdg-desktop-portal-termfilechooser to work - I’m just going to sneak this edit in here and go die in a corner or something)
Ah yes, something being broken because of your previous attempt to fix it.
That’s a certified classic.It’s not even that, I wanted to try using Ranger as the file chooser because Dolphin would freeze up if it ended up in a tmpfs mount point… which I can deal with if the only alternative is the default GTK file chooser.
My package manager has 400+ updates, but I can’t install them because some packages are conflicting, and I don’t have the willpower to untangle that mess.
I use arch btw. I use the arch-derivative Manjaro, btw.First time?jdk-openjdk vs jre-openjdk? archlinux.org mentions it, although the workaround it provides is fake news and also results in pacman complaining about conflicts.
I just removed stuff, abused
pacman --nodeps
and prayed that my backups would be sufficient to restore my inevitable fuckup (no fuckup happened, somehow). Try that at your own risk though…I think I’ll just switch to something more user-friendly again. When I installed Manjaro, I thought I liked tinkering. But since then I’ve started working and just want to get home to a functioning computer.
I appreciate the effort, though.
Arch and Manjaro tend to have that effect on people, it’s understandable
I didn’t have a problem with their solution on either of my Arch boxes…
It says to use
pacman -Syu jdk-openjdk
to automatically removejre-openjdk
, which didn’t happenpacman -Syu jdk-openjdk
automatically remove
-u, --upgrades Restrict or filter output to packages that are out-of-date on the local system. Only package versions are used to find outdated packages; replacements are not checked here. This option works best if the sync database is refreshed using -Sy.
try
pacman -Sy jdk-openjdk
https://bbs.archlinux.org/viewtopic.php?id=290066
Wow I am just now seeing the Arch docs. They are wrong. That’s pretty sad.
I’ve solved that problem days ago, I’m more afraid of XDG Portals than Arch Linux being Arch Linux
I love Firefox and it’s my main browser on laptop and mobile.
But as a KDE user, seriously, fuck it. It’s a mess.
Join the Chromium monopoly it is the superior browser. Aside from not having tab containers, it beats Firefox is almost every other way.