Skip to content

Read up on portal APIs to stay on top of modern FD.o APIs #142

Closed

Description

@cassidyjames
  • Backgrounding
  • Inhibit
  • Unity progress bars
  • FD.o .desktop actions
  • GProcess? something? used by GNOME System Monitor

Activity

  1. changed the title [-]Read up on Backgrounding portal to stay on top of modern FD.o APIs[/-] [+]Read up on portal APIs to stay on top of modern FD.o APIs[/+] on Dec 20, 2021
  2. Marukesu commented on Dec 20, 2021

    @Marukesu
    Contributor
    • Backgrounding

    There is:

    • org.freedesktop.impl.portal.Background.GetAppState: for getting running applications status (if have at least one window open, if on background and if is on foreground)
    • *org.freedesktop.impl.portal.Background.RunningApplicationsChanged: that is emitted by the portal itself when there's a change on the running applications.

    But I don't think they will be usefull since we can't get the number of windows open neither the title of them, only the app id.

    However, there's the org.gnome.Shell.Introspect interface that is used to provide the Background portal in the Gtk Backend, and looks like the org.gnome.Shell.Introspect.GetWindows method give us sufficient information to implement the "running apps and windows" part of the dock.

  3. moved this from Todo to To Discuss in Wayland Dockon Feb 4, 2022
  4. locked and limited conversation to collaborators on Nov 7, 2023
  5. converted this issue into a discussion #187 on Nov 7, 2023
  6. moved this from To Discuss to Done in Wayland Dockon Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions