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

laxmanprad...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |laxmanprad...@gmail.com
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #30 from laxmanprad...@gmail.com ---
Seems to be a similar issue to this, so I will re-open rather than make a new
bug.

Issue
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.

Steps to reproduce
Make several Window Rules from System Settings-> Window Mnagement->window
rules. Wait a bit and they will dissapear and the rules stop working.

The rules that I have are substring match for the title for firefox, then size
and position get set to force.

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.

System
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

Investigations
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.

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

Reply via email to