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

            Bug ID: 402139
           Summary: Kwin Window Rules working initially but get deleted
                    after some time
           Product: kwin
           Version: 5.14.4
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: rules
          Assignee: kwin-bugs-n...@kde.org
          Reporter: laxmanprad...@gmail.com
  Target Milestone: ---

SUMMARY
I have some kwin Window Rules, basically for certain firefox windows, if the
title of the window matches a string it will force the size and position so
that it always appears on the screen where I want. This part works perfectly.
The problem is that it seems to forget the rules.

The rules will be working perfectly, then suddenly it stops working. When I go
back to the settings window, some of the rules will ramdomly be gone, different
ones every time.

The issue seems to be that it can't save all the rules properly, they keep
getting deleted. 

STEPS TO REPRODUCE
1. Make several Window Rules from System Settings-> Window Mnagement->window
rules. 
2. Wait a bit and they will dissapear and the rules stop working.

OBSERVED RESULT
Windows not getting their positions and size set based on the rules, works
initially, then suddenly stops working. 


EXPECTED RESULT
Windows should continue to have their size and position set based on the rules


SOFTWARE/OS VERSIONS
Operating System: Kubuntu 18.10
KDE Plasma Version: 5.14.4
Qt Version: 5.11.1
KDE Frameworks Version: 5.52.0
Kernel Version: 4.18.0-11-generic
OS Type: 64-bit
Processors: 8 × AMD Ryzen 5 2400G with Radeon Vega Graphics
Memory: 14.7 GiB of RAM

ADDITIONAL INFORMATION
My ~/.config/ foler has the following:
-rw------- 1 xx xx 1502 Dec  3 15:05 kwinrc
-rw------- 1 xx xx 1007 Dec  7 16:35 kwinrulesrc

where xx is my username.
Sometime the kwinrulesrc file will have a few rules rndomly missing.
I even tried to chmod 000 the file after importing all my rules again to make
sure it can't be modified by another file, and the problem persisted, the rules
were still in the file but the windows were not being positioned correctly. Of
course now I can't use the gui to 'refresh' the rules so I had to change the
permissions back and I now keep using the above workaround to refresh the
rules.

Work around
At first, I would leave the settings window open in another activity and then
just press 'move up' and 'move down' to force and change, hit apply and it will
keep working as normal. Sometimes this stops working just 1-2 mins later so I
have exported all my rules so that I can reimport them quickly.

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

Reply via email to