Bug 387742

Summary: Window class string in window-specific settings is saved in lower case
Product: [Plasma] kwin Reporter: Alberto Torres Ruiz <kungfoobar>
Component: rulesAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alberto Torres Ruiz 2017-12-09 13:43:42 UTC
In window-specific settings I've put a string with some upper case letters. After rebooting that's reset to lower case, so it stops working. It seems it happens for any type, even for regexp.

As a workaround I use regexp and put periods instead of upper case letters.

kwin 5.10.5
Comment 1 Martin Flöser 2017-12-09 15:33:57 UTC
I understand why that happens: we used to convert window classes to lower case internally.
Comment 2 Alberto Torres Ruiz 2017-12-13 19:22:02 UTC
Also, when creating a rule, the class is set automatically in lower case, but it works for that session, which made the issue even more confusing.
Comment 3 Alberto Torres Ruiz 2017-12-14 11:22:18 UTC
Correction, it NEVER works after restarting the application!!

Maybe it was never the casing, it's just that it never works in the first place!
Comment 4 Martin Flöser 2017-12-14 19:50:35 UTC
Which application is it?
Comment 5 Martin Flöser 2017-12-14 19:51:03 UTC

*** This bug has been marked as a duplicate of bug 387895 ***