Skip to content

Conversation

@mtwebster
Copy link
Member

@mtwebster mtwebster commented Jan 20, 2026

Wayland windows don't necessary have all app-association info attached at creation (x11 windows do since they're dispatched from the server), and the window-tracker won't be able to create a CinnamonApp association immediately. The most obvious sign of this currently is the window-list applet not consistently displaying icons, particularly when a window first appears.

  • Connect to the 'shown' signal on wayland client windows that fail other lookups and get a dummy/window-backed CinnamonApp initially, and update the app association when it is received.
  • Update the window-list applet to re-check its own app association when the window-tracker signals.
  • Remove redundant signals from gwl, and connect to the tracker's window-app-changed signal instead.

ref: linuxmint/wayland#154

Wayland windows don't necessary have all app-association info
attached at creation (x11 windows do since they're dispatched from
the server), and the window-tracker won't be able to create a
CinnamonApp association immediately. The most obvious sign of this
currently is the window-list applet not consistently displaying
icons, particularly when a window first appears.

- Connect to the 'shown' signal on wayland client windows that fail
  other lookups and get a dummy/window-backed CinnamonApp initially,
  and update the app association when it is received.
- Update the window-list applet to re-check its own app association
  when the window-tracker signals.
- Remove redundant signals from gwl, and connect to the tracker's
  window-app-changed signal instead.
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.

1 participant