https://bugs.kde.org/show_bug.cgi?id=445791
            Bug ID: 445791
           Summary: "Apply Initially" rules are re-applied after certain
                    circumstances
           Product: kwin
           Version: 5.23.3
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: rules
          Assignee: kwin-bugs-n...@kde.org
          Reporter: tgnff...@gmail.com
                CC: isma...@gmail.com
  Target Milestone: ---

SUMMARY
For example, if you create a rule to set the position of certain windows
initially (ie. using the "Apply Initially" setting), the window, sometimes, is
moved again to that position after the monitor is switched off (as part of the
energy saving plan), or dis/reconnected.


STEPS TO REPRODUCE
1. Create a rule:
Description: Firefox to the right hand side
Window Class: firefox
Match whole window class: Yes
Window Types: Normal Window
Position: Apply Initially: 718 x 0
2. Set the shortcut to pack windows to the left in Settings > Shortcuts > KWin.
3. Log out/in. This step is important.
4. Open two firefox windows.
5. Select one of the windows and use the shortcut defined in step 2 to pack it
to the left.
6. Dis/reconnect your monitor's cable.

OBSERVED RESULT
At step 6, when the monitor is disconnected, the window is moved to the
rule-defined position.

EXPECTED RESULT
Since the "Apply Initially" setting is selected, the window should only move to
that position when it's displayed for the first.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2 + KDE patches

ADDITIONAL INFORMATION
This started with Plasma 5.23.0, and it affects both X11 and Wayland.

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

Reply via email to