Skip to content

Conversation

@killown
Copy link
Contributor

@killown killown commented Sep 9, 2025

Not sure you will like the log in a set_callback but the result is this:

II 2025-09-09 11:55:17.631 - [src/view/xdg-shell/xdg-toplevel-view.cpp:48] new xdg_shell_stable surface: (title: 'fish' app-id: 'kitty')
II 2025-09-09 11:55:17.642 - [src/view/xdg-shell/xdg-toplevel-view.cpp:48] new xdg_shell_stable surface: (title: '~' app-id: 'kitty')
II 2025-09-09 11:55:17.932 - [src/view/xdg-shell/xdg-toplevel-view.cpp:48] new xdg_shell_stable surface: (title: 'kitty' app-id: 'kitty')
II 2025-09-09 11:55:18.021 - [src/view/xdg-shell/xdg-toplevel-view.cpp:48] new xdg_shell_stable surface: (title: 'fish' app-id: 'kitty')
II 2025-09-09 11:55:18.029 - [src/view/xdg-shell/xdg-toplevel-view.cpp:48] new xdg_shell_stable surface: (title: '~' app-id: 'kitty')
II 2025-09-09 11:55:20.534 - [src/view/xdg-shell/xdg-toplevel-view.cpp:48] new xdg_shell_stable surface: (title: 'neo - Thunar' app-id: 'thunar')
II 2025-09-09 11:55:24.205 - [src/view/xdg-shell/xdg-toplevel-view.cpp:48] new xdg_shell_stable surface: (title: 'FVD Speed Dial - Most Visited - Chromium' app-id: 'chromium')
II 2025-09-09 11:55:24.452 - [src/view/xdg-shell/xdg-toplevel-view.cpp:48] new xdg_shell_stable surface: (title: 'chrome://newtab - Chromium' app-id: 'chromium')
II 2025-09-09 11:55:24.648 - [src/view/xdg-shell/xdg-toplevel-view.cpp:48] new xdg_shell_stable surface: (title: 'FVD Speed Dial - Most Visited - Chromium' app-id: 'chromium')

before that, was just [src/view/xdg-shell/xdg-toplevel-view.cpp:29] new xdg_shell_stable surface: (null) app-id: (null)

killown and others added 8 commits August 23, 2025 14:12
The 'loaded mode' message is emitted during output initialization when enumerating
available display modes. Since backend/drm/drm.c already handles that info, repeating this information at INFO level in Wayfire
results in redundant output.
@killown
Copy link
Contributor Author

killown commented Sep 9, 2025

I guess app-id is fine but title is not good for privacy in case the user wants to share the logs, I would recommend to remove title and have only app-id

@killown killown marked this pull request as draft September 9, 2025 16:50
@killown killown closed this Nov 14, 2025
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