New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.00 and Electron 14 #39
Conversation
Started test build 60359 |
Build 60359 successful
|
I have no idea why this is so much trouble... |
Started test build 60988 |
Build 60988 successful
|
54a3cd8
to
2fa0d72
Compare
Started test build 60989 |
Build 60989 successful
|
@squalou @tristan957 I can't get this Electron 14 app working with the file chooser portal either... any ideas? If not I think I'll open up an issue in electron's repo. Edit: Maybe it's because of the changes to this file since the PR was merged. |
I don't think you need to set GTK_USE_PORTAL=1 within the flatpak itself. The portal should "just work" ™️ I recommend hopping into #flatpak on matrix.org. I would also recommend checking getting a d-bus monitor and watching the the calls to see if any portal action is happening. Also make sure you have the portal actually installed on the host machine |
I see you are already in the room. Someone there might have some sage advice. |
Yeah I don't see any calls to FileChooser in Bustle.. and I've asked in #flatpak a couple times but I didn't get any response. I'm afraid this issue is in unknown territory. The portal defintely works with other apps just fine (well ones that support it anyway). I'm on Fedora so I usually like trying out shiny Linux stuff :) |
Honestly I have no clue. The user experience behind these features seems very hard to discover. I assuming you already checked that xdg-desktop-portal-kde installed and xdg-desktop-portal-gnome/gtk is not installed and that GTK_USE_PORTAL=1 is exported in your host environment? I guess that question was redundant with your previous message. You could try debugging electron and seeing if it hits the gtk native file chooser code path. |
I made an issue for this, hopefully someone has some ideas on what’s wrong electron/electron#31258 I don’t really know how to debug Electron, hopefully someone does though. If I find time one day maybe I’ll try figure it out. |
If this works this is the first Flatpak app on Electron 14 with the portal file chooser (that I know of).
Only for testing purposes since its an RC.