Bug 321237

Summary: window-specific in window decoration doesn't accept regular expressions without alpha -numeric character
Product: [Plasma] Oxygen Reporter: qqqqqqqqq9
Component: win decoAssignee: Hugo Pereira Da Costa <hugo.pereira.da.costa>
Status: RESOLVED WORKSFORME    
Severity: normal CC: hugo.pereira.da.costa, plasma-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description qqqqqqqqq9 2013-06-16 18:13:13 UTC
See steps

Reproducible: Always

Steps to Reproduce:
1. Open systemsettings
2. go to workspace appereance -- window decorations
3. click customize window decorations
4. Go to tab "window-specific options"
5. click "add"
6a : click ok
or 6 b enter "*" or ")" into the regex-field and click "ok" 
Actual Results:  
it rejects them. 

The error message reads:
Die Syntax des regulären Ausdrucks ist korrekt.

the syntax of the regular expression is correct. (Probably there is an additional bug in the german translation?)

Expected Results:  
it should accept them and use them
Comment 1 Christoph Feck 2013-06-16 19:17:05 UTC
You are using the Oxygen window decoration, right?
Comment 2 qqqqqqqqq9 2013-06-16 19:36:16 UTC
Hi,

I'm using the Air-Theme
Comment 3 Hugo Pereira Da Costa 2013-06-16 19:56:55 UTC
* is not a valid regular expression, I think
(should be .*)
Neither is empty string, I think (though not entirely sure).
Correct ? do I miss something ?

The only check that is actually QRegExp::isValid()
So whatever is accepted/rejected is what Qt decides to accept or reject.

see: kwin/clients/oxygen/config/oxygenexceptionlistwidget.cpp, line 337 or so, for KDE-4.10
or line 339 for master branch.

in "master" I also check for non empty string. 
but then, anyway, what seriously is the point of adding an _exception_ that applies to everything ?
Comment 4 Hugo Pereira Da Costa 2013-06-16 19:59:49 UTC
So that unless I mistaken, I'd close this bug as invalid ...
Comment 5 qqqqqqqqq9 2013-06-16 21:20:24 UTC
Hi,

i can't find the option to hide the title in the parent dialog, that's the point of adding an _exception_ that applies to everything ?

And what about the senseless error message? Is it a translation error or does it appear in english, too?
Comment 6 Andrew Crouthamel 2018-11-10 03:23:39 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Andrew Crouthamel 2018-11-21 04:24:03 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Justin Zobel 2023-01-04 07:05:43 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 9 Bug Janitor Service 2023-01-19 05:13:24 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2023-02-03 05:03:10 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!