Skip to content
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

Background Portal Implementation #68

Closed
leolost2605 opened this issue May 1, 2023 · 2 comments · Fixed by #73
Closed

Background Portal Implementation #68

leolost2605 opened this issue May 1, 2023 · 2 comments · Fixed by #73

Comments

@leolost2605
Copy link
Member

Problem

Currently the flatpak Background Portal isn't available in elementary as the GTK implementation was removed by default with this release as it depends on gnome-shell. However it is needed for the flatpak versions of e.g. Mail, Calendar and Tasks to request autostart.

Proposal

Implement the background portal from scratch or tweak the GTK version to work without gnome-shell.

Prior Art (Optional)

No response

@Marukesu
Copy link
Contributor

The DesktopIntegration interface in gala need to be finished before we can write a background portal implementation, in special, the get_running_applications method.

@leolost2605
Copy link
Member Author

I'm not sure and not very familiar with DBus but eager to learn :) and using D-Spy I found a GetRunningApplications method at /org/pantheon/gala/DesktopInterface under the interface org.pantheon.gala.DesktopIntegration on the bus org.pantheon.gala and it seems to work for me... except for that it doesn't return apps running without a window which I wouldn't really consider blocking.
Or am I missing something here?
Otherwise I would try and work on implementing the portal :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants