Bug 387742 - Window class string in window-specific settings is saved in lower case
Summary: Window class string in window-specific settings is saved in lower case
Status: RESOLVED DUPLICATE of bug 387895
Alias: None
Product: kwin
Classification: Plasma
Component: rules (other bugs)
Version First Reported In: unspecified
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-09 13:43 UTC by Alberto Torres Ruiz
Modified: 2017-12-14 19:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***