Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A way to find classes of windows for which the methods from README don't work #36

Open
taj-ny opened this issue Apr 9, 2024 · 1 comment
Labels
0. type: enhancement New feature or request

Comments

@taj-ny
Copy link
Owner

taj-ny commented Apr 9, 2024

The methods to get window classes described in the README don't work for some windows, such as all context menus (they disappear immediately when using the qdbus method), Spectacle's Wayland recording window and probably some more.

I thought about just logging some information whenever a window is added, but that would require users to launch KWin in a terminal, which is not very convenient. Another approach would be to display some information about the last n added windows in a table in the options.

Resource name Resource class Window type Size
spectacle spectacle Normal 1920x1080
firefox firefox Normal 521x899
@taj-ny taj-ny added the 0. type: enhancement New feature or request label Apr 9, 2024
@taj-ny taj-ny changed the title A better way to find window classes A way to find classes for windows where the methods from README don't work Apr 9, 2024
@taj-ny taj-ny changed the title A way to find classes for windows where the methods from README don't work A way to find classes of windows for which the methods from README don't work Apr 9, 2024
@taj-ny taj-ny added this to the v2.0.0 milestone Apr 9, 2024
@taj-ny taj-ny removed this from the v2.0.0 milestone May 5, 2024
@sf467
Copy link

sf467 commented Nov 23, 2024

use it
qdbus org.kde.KWin /KWin org.kde.KWin.showDebugConsole
and you will get all classes of windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants