| Summary: | False detection of "background activity" for many Flatpak apps | ||
|---|---|---|---|
| Product: | [Plasma] xdg-desktop-portal-kde | Reporter: | Yevhen Popok <xalt7x.service> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | aleixpol, jgrulich, kde, laubblaeser, nate |
| Priority: | HI | Keywords: | usability |
| Version First Reported In: | 5.27.7 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/dbe20a183509465bb7b230cb1b7d31d1aed9fbe9 | Version Fixed/Implemented In: | 6.0 |
| Sentry Crash Report: | |||
| Attachments: | Screencast showing auto-close of Flatpak apps on Wayland and X11 sessions | ||
|
Description
Yevhen Popok
2023-08-29 06:31:13 UTC
I just re-installed a bunch of applications and the user experience is pretty bad. Gimp is throwing up warnings whilst it clearly has windows open because the IDs don't match. I don't see why we should be inhibiting apps from running in the background on the desktop in the first place. We don't have to do stuff just because Gnome pushes it. I would fully support removing this until a time where the situation works better. Agreed. UX parity with non-flatpak apps is more important here IMO. (In reply to David Edmundson from comment #1) > I don't see why we should be inhibiting apps from running in the background > on the desktop in the first place. We don't have to do stuff just because > Gnome pushes it. I would fully support removing this until a time where the > situation works better. I would be all in favour of this. The background activity popups are a reoccurring annoyance that I could absolutely do without, if possible. :) A possibly relevant merge request was started @ https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/merge_requests/246 Git commit dbe20a183509465bb7b230cb1b7d31d1aed9fbe9 by David Edmundson. Committed on 10/11/2023 at 17:40. Pushed by davidedmundson into branch 'master'. Default to allowing background applications without prompts Flatpak tends to have a lot of applications with window IDs that do not match the containment, particularly with X11 applications. There is also the UX question of why we shouldn't an app run in the background, KDE has support for systemtrays with both X11, and the FD.O standard which most apps running in the background would populate. This patch always returns "Allow once" when prompted by the daemon. Whilst this might seem like a lazy solution, from what I can tell from a lot of DBus montioring on Gnome, this is what they do too. We can't just disable the portal implementation as disabling by the config file doesn't work, but even if did we still want enableAutostart to work. I left the original code behind a configuration option in case we want it for mobile. M +31 -26 src/background.cpp https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/commit/dbe20a183509465bb7b230cb1b7d31d1aed9fbe9 |