Bug 474977

Summary: Make window rules easier: autodetect properties
Product: [Applications] systemsettings Reporter: Henning <boredsquirrel>
Component: kcm_kwinrulesAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: isma.af, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.27.8   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Henning 2023-09-28 11:52:57 UTC
I want to report this as multiple seperate bugs.

Problem:
You open the kwin rules page FROM the decorations of a running program. So it should be clear what program it is, and some fields are also already filled like the title.

Wanted:
There are more important parameters, for example the role of the window, the size etc.
When opening the kwin rules dialog, it should have more fields like size etc filled out.

This would make exact destinction of the program and the type of window easier.

Specified App:
kf5-kwindowsystem-5.109.0-1.fc38.x86_64
kwin-libs-5.27.8-1.fc38.x86_64
kwin-common-5.27.8-1.fc38.x86_64
kwin-wayland-5.27.8-1.fc38.x86_64
kwin-x11-5.27.8-1.fc38.x86_64
kwin-5.27.8-1.fc38.x86_64

--- Software ---
OS: Fedora Linux 38.20230927.0 (Kinoite)
KDE Plasma: 5.27.8
KDE Frameworks: 5.109.0
Qt: 5.15.10
Kernel: 6.5.5-200.fc38.x86_64
Compositor: wayland
Comment 1 Ismael Asensio 2024-07-21 21:40:17 UTC
This is already implemented.

When you open the settings page from an application menu, if you press "Add Properties" the properties of that window are already detected and their values shown as a suggestion. When you add that property (ex. Size) to the rule it will take the value that the original window has.

Are those suggestions not working for you?
Comment 2 Henning 2024-07-23 20:44:27 UTC
yes these are working pretty fine.

Thanks for your time!