fix: prioritize GNOME/KDE watchers and add environment check for COSMIC#68
Open
fix: prioritize GNOME/KDE watchers and add environment check for COSMIC#68
Conversation
Owner
|
Thank you for your suggestion! I'll test it in VMs and roll out. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'm on Ubuntu 25.10 with wayland and I kept having this error:
[2026-02-18 18:46:02.979828 DEBUG watchers::watchers] Watcher "Wayland idle (ext-idle-notify-v1)" cannot run: the requested global was not found in the registry
[2026-02-18 18:46:02.979998 DEBUG watchers::watchers] Watcher "Wayland idle (KDE)" cannot run: the requested global was not found in the registry
[2026-02-18 18:46:02.980326 DEBUG watchers::watchers] Watcher "X11 idle (screensaver)" cannot run: Unsupported extension
[2026-02-18 18:46:02.980333 DEBUG watchers::watchers::gnome_wayland] Gnome Wayland detected
[2026-02-18 18:46:02.980566 DEBUG watchers::watchers] Watcher "Wayland window (wlr-foreign-toplevel-management-unstable-v1)" cannot run: the requested global was not found in the registry
[2026-02-18 18:46:02.980598 INFO watchers::watchers] Selected watcher: Cosmic Wayland window (cosmic-toplevel-info-unstable-v1)
[2026-02-18 18:46:02.980602 INFO watchers::watchers] Starting active window watcher
[2026-02-18 18:46:02.980905 ERROR watchers::watchers::wl_cosmic_toplevel_management] Wayland thread failed: Required COSMIC toplevel protocols not found
I have no merit in this as Gemini proposed this fix to reorder the watcher priority to make it work with gnome, wayland and the focused window dbus extension. Someone on COSMIC might have to make sure it still works.
I've decided to push this fix as it might help someone else having the same problem. Now the application works number one for me.