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

            Bug ID: 421540
           Summary: [kcm/kwinrules X11] KWinRules KCM Redesign: Fallout:
                    Slow loading
           Product: kwin
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: rules
          Assignee: kwin-bugs-n...@kde.org
          Reporter: 1i5t5.dun...@cox.net
                CC: isma...@gmail.com, n...@kde.org
        Depends on: 421055
  Target Milestone: ---

+++ This bug was initially created as a clone of Bug #421055 +++
[Frameworks/plasma git-master, so this is the redesigned window rules kcm. 
qt-5.15.0_rc ]

Testing the above bug I loaded, changed and reloaded the new window-rules kcm
quite a bit, and noticed that sometimes (but not always) it takes /much/ longer
than it should to load up, sometimes 30+ seconds.  It's as if it's waiting for
a timeout, perhaps on a dbus call, before loading.

In my testing, it seems not to happen on the first load (which loads at pretty
normal speed, perhaps a slight pause loading the rules kcm), but I was changing
some window rule, applying, then clicking to some other KCM and back to see if
my change "took".  I'm not sure if it /always/ takes longer on later reloads or
not (if it loads normally I'd not notice it), but it certainly does sometimes. 
If I entirely close the plasma systemsettings window and restart it instead of
simply clicking to a different kcm and back, the window-rules kcm seems to load
faster again.

When it slow-loads, for some tens of seconds it continues to display the
previous kcm, to the point I think it missed my click or something (I timed it
once and it was over 30 seconds "frozen" on the previous kcm, before even
loading the rules kcm).  Then, finally, it'll load the rules kcm, but it says
empty, no rules, for some tens of seconds longer, which of course triggered
quite some panic the first time I saw it and still causes my heart to jump into
my throat, as I've something like 50 rules which I think I just lost!  (I could
retrieve them from backup if I had to, but it still triggers that
heart-in-throat moment!)  Finally, it actually loads the rules list, and my
heart quits racing and I can breath again!

As you can imagine this is quite irritating.  I know I'm on live-git so can
live with it for the time being, but I'd seriously /hate/ to see it released
like this.  Because it happens on a reload of the rules kcm it's obviously
hot-cache so it's not waiting on disk (besides I'm on a reasonably fast ssd so
it'd hardly be 30+ seconds waiting on disk even from cold-cache, unless it's
loading on the order of gigs of something), but it's obviously waiting on
/something/, thus the dbus timeout hypothesis above, as I've actually seen that
one elsewhere.


Referenced Bugs:

https://bugs.kde.org/show_bug.cgi?id=421055
[Bug 421055] [kcm/kwinrules X11] Window sizing rules broken since a04b40dad: 
KWinRules KCM Redesign
-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to