xdg-desktop-portal-gtk
xdg-desktop-portal-gtk copied to clipboard
Incorrect background application detection
I kept receiving notifications that Glimpse was running in the background when it wasn't.
Eventually I got tired of it and clicked the "forbid" button.
Then I found my build of Glimpse had stopped:
$ flatpak-builder _build build-aux/flatpak/org.glimpse_editor.Glimpse.json
I figured something had gone wrong and just restarted the build… which stops after a seemingly random amount of time. :confused:
At this point I'm pretty confident that it is my build of org.glimpse_editor.Glimpse which got incorrectly detected as the app running in the background, and since I've forbidden it then I can't complete it any more.
This issue really is about the incorrect detection, and I'll be happy to help debug this as needed, but I'd be really grateful for a way to finish my builds by removing that forbidding I did. :sweat_smile:
This is with xdg-desktop-portal-gtk-1.4.0-1.fc31.x86_64 on GNOME 3.34.
but I'd be really grateful for a way to finish my builds by removing that forbidding I did.
@barthalion pointed me in the right way, and flatpak permission-reset org.glimpse_editor.Glimpse
did the trick.
So we can focus this ticket on the incorrect detection of the app running in the background now that this distraction is out of the way. :slightly_smiling_face:
You get the same behavior while building a flatpak application in GNOME Builder. The background Portal notifies that the application being built is running in the background.