Repository navigation
Add a window list and gather troubleshooting tools in the menu - #27
Merged
Merged
Conversation
When an application doesn't show up in the application picker, or a remap for it doesn't apply, there was no way to see what the desktop actually reports. "Window list" opens a window of its own showing every window exactly as `xremap --list-windows` prints it, refreshed every 5 seconds while open: the application id remapping matches on and the title, with nothing merged or left out. Ids and titles can be selected and copied (right-click offers Copy), and Copy takes every row. To keep the menu beginner friendly, the window list, the remapping log, and "Reset all mappings" now sit under a collapsed "Troubleshooting" entry at the foot of the ⋯ menu, closed again each time the menu opens. The "Show log" button on failure toasts is unchanged. The log window's frame and window settings move to shared helpers in ui/mod.rs so both side windows look the same. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
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.
When an application doesn't show up in the application picker, or a remap for it doesn't apply, there was no way to see what the desktop actually reports. This adds a window list that shows xremap's raw answer, and gathers the troubleshooting tools out of everyday sight in the ⋯ menu.
Window list
xremap --list-windowsprints it: the application id that application-specific remaps match on, and the title.--list-windowsexits before xremap touches any input device.selectable_text). Copy puts every row on the clipboard as tab-separated id and title.Troubleshooting menu
Internals
apps::parse_window_listnow keeps every row. The picker's de-duplication and filtering moved intoapps::applications, so the picker behaves as before.ui::side_window,ui::side_window_settings) so both side windows look identical.Docs
docs/Current_Features.mdgains a "Window list" section and says where the log and reset now live.Validation
cargo fmt --all -- --check,cargo clippy --all-targets --all-features --locked -- -D warnings: cleancargo test --verbose --locked: 335 passed, 21 ignoredNot verified on a live desktop: the 5-second refresh against a real compositor, and the right-click menu, which libcosmic shows as a popup on Wayland and an overlay on X11. Both are worth a quick look on COSMIC and on one other desktop.
🤖 Generated with Claude Code