squalou
squalou
I have absolutely no idea how electron is deciding what file chooser to use, I'll have a look. Best way to learn something new :)
Reading this is interesting https://tristan.partin.io/blog/2021/04/01/electron-linux-and-your-file-chooser/ From what I understand and to sum up things : - electron is based on chromium (we knew that) - chromium implements GTK only -...
Hm, I may have read too fast. check `xdg-desktop-portal-kde` is installed on your system then `export GTK_USE_PORTAL=1` and then gtk apps should open native file chooser (qt in your case)...
after reading quickly here : https://github.com/electron/electron/pull/19159 looks like it could be supported this way in electron 14, at best. That doesn't explain how it works in other electron-based apps that...
good news is : electron 14 has just been released today ! https://www.electronjs.org/releases/stable#14.0.0 I did a quick check, it's promising. (ugly but promising) On my system with xfce, without setting...
I've just built a .deb for a quick test, you can try it, get it there : https://github.com/squalou/google-chat-linux/releases/download/test-e14/google-chat-linux_5.14.1-1_amd64.deb
too bad my other computers running ubuntu are using gnome. I may try a VM quickly, that's weird it really should work once you have set `GTK_USE_PORTAL=1`
From Kubuntu LTS, vanilla liveCD (not even installed), then just installed the .deb : looks like it works. (even without GTK_USE_PORTAL apparently) Here's what appears when I click the "upload...
Ah, damn ! never used Plasma before, I thought the one I saw had non-gtk look enough to be convinced it worked :) Do you have the same as in...
I've tried to remove xdg-desktop-portal on the kubuntu VM, set the env variable, or any combination of the two : I see the same thing as you. No error on...