xdg-desktop-portal-gtk icon indicating copy to clipboard operation
xdg-desktop-portal-gtk copied to clipboard

Incorrect background application detection

Open bochecha opened this issue 5 years ago • 2 comments

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.

bochecha avatar Feb 03 '20 15:02 bochecha

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:

bochecha avatar Feb 04 '20 09:02 bochecha

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.

felipeborges avatar Feb 04 '20 09:02 felipeborges