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

Implement org.freedesktop.impl.portal.Background. #15

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

mtwebster
Copy link
Member

@mtwebster mtwebster commented Apr 4, 2024

Closes: #2

  • GetAppState: it currently can't retrieve info on apps with no
    window - this applies to apps that minimize to the system tray
    while they're not visible. This is a limitation in Cinnamon.

  • RunningApplicationsChanged: works to the extent the windowless
    application issue allows.

  • NotifyBackground - Currently, always allows background apps,
    which makes it consistent with normal system apps.

  • EnableAutostart: Fully functional.

I note that while NotifyBackground creates a desktop file
successfully, disabling 'autostart' in a couple of test apps
does not delete that file (testing this with -xapp portal works
fine - the main portal backend isn't receiving anything at all
from the app (the backgrounding remains allowed in the permission
store also) - this could be deliberate.

@mtwebster mtwebster marked this pull request as draft April 4, 2024 23:28
mtwebster added a commit to mtwebster/Cinnamon that referenced this pull request Apr 4, 2024
mtwebster added a commit to mtwebster/Cinnamon that referenced this pull request Apr 6, 2024
Closes: linuxmint#2

- GetAppState: it currently can't retrieve info on apps with no
  window - this applies to apps that minimize to the system tray
  while they're not visible. This is a limitation in Cinnamon.

- RunningApplicationsChanged: works to the extent the windowless
  application issue allows.

- NotifyBackground - Currently, always allows background apps,
  which makes it consistent with normal system apps.

- EnableAutostart: Fully functional.

I note that while NotifyBackground creates a desktop file
successfully, disabling 'autostart' in a couple of test apps
does not delete that file (testing this with -xapp portal works
fine - the main portal backend isn't receiving anything at all
from the app (the backgrounding remains allowed in the permission
store also) - this could be deliberate.
@mtwebster mtwebster changed the title Start to implement org.freedesktop.impl.portal.Background. Implement org.freedesktop.impl.portal.Background. Apr 10, 2024
@mtwebster mtwebster marked this pull request as ready for review April 11, 2024 00:19
mtwebster added a commit to linuxmint/cinnamon that referenced this pull request Apr 11, 2024
@mtwebster mtwebster merged commit 4be1618 into linuxmint:master Apr 11, 2024
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a Background portal implementation
1 participant