https://bugs.kde.org/show_bug.cgi?id=487756

            Bug ID: 487756
           Summary: The order of window rules isn't considered until
                    changing them.
    Classification: Plasma
           Product: kwin
           Version: 6.0.5
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: rules
          Assignee: kwin-bugs-n...@kde.org
          Reporter: jthund...@jthundley.com
                CC: isma...@gmail.com
  Target Milestone: ---

Created attachment 169947
  --> https://bugs.kde.org/attachment.cgi?id=169947&action=edit
The Window rule for the specific host.

SUMMARY
I have 2 rules for TeamViewer remote windows: one for a specific host and then
one for every host. 


STEPS TO REPRODUCE
1. Create a window rule for a window with a specific title. The "Window Title"
property is Exact Match the title is "JHUNDLEY04 — TeamViewer"
2. Create a 2nd window rule with the "Window Title" property set to Substring
Match "— TeamViewer"
3. Ensure that the first rule for the exact match is higher up in the list of
rules so it takes priority.
4. Open the window that should trigger the first exact match window rule.

OBSERVED RESULT
The 2nd substring match rule is applied instead of the first.
If you then change the order of the rules so that you're able to click apply on
the new window rules priority, the first exact match rule is properly applied.
This happens even if the first rule remains above the 2nd substring match rule.


EXPECTED RESULT
I expect the first Exact Match window rule to always be applied first and
consistently.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to