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

--- Comment #77 from Alexandre Pereira <pereira.a...@gmail.com> ---
(In reply to Michail Vourlakos from comment #76)
> (In reply to Alexandre Pereira from comment #75)
> > (In reply to Michail Vourlakos from comment #74)
> > > If you are using latest git version then the issue is different...
> > > 
> > > 1. Which commit is your Latte git version using?
> > > 2. The Latte git version has stuck at 0.8.75 for more than six months so
> > > this is of no use
> > 
> > this commit log:
> > 
> > commit 2a6620853b69ba1e2aa059d358bd45a33c7feac4 (HEAD -> master)
> > Author: Michail Vourlakos <mvourla...@gmail.com>
> > Date:   Tue May 28 19:02:04 2019 +0300
> > 
> >     fix crash when updating Indicators packages
> 
> In that case I have no idea about this issue and what to blame...

As a programmer, I cannot understand it also, to give you more info!! specially
cannot reproduce with a more "normal app".

I was looking at the kwin code for rules, and it does has special treatment for
window title matches: ( creates a queued connection that other filtering types
don't create ).

```
if (titlematch != UnimportantMatch) // track title changes to rematch rules
        QObject::connect(c, &AbstractClient::captionChanged, c,
&AbstractClient::evaluateWindowRules,
                         // QueuedConnection, because title may change before
                         // the client is ready (could segfault!)
static_cast<Qt::ConnectionType>(Qt::QueuedConnection|Qt::UniqueConnection));
```
but i don't know kwin programming so I don't really know.
But I just tested with creating kwin rules with title base that will never
match ! ( creating a kwin title match rule with bogus impossible title ) and it
still creates heavy cpu usage !

And this seems to be the only application that makes it happen!

Also, running latte-dock -dr, shows spamming of:
```
[debug 18:30:33.106106] - WINDOW CHANGED :::  QVariant(qulonglong, 150994949)
[debug 18:30:33.973973] - WINDOW CHANGED :::  QVariant(qulonglong, 150994949)
[debug 18:30:34.353353] - WINDOW CHANGED :::  QVariant(qulonglong, 150994949)
[debug 18:30:35.054054] - WINDOW CHANGED :::  QVariant(qulonglong, 148897797)
[debug 18:30:35.973973] - WINDOW CHANGED :::  QVariant(qulonglong, 150994949)
[debug 18:30:36.972972] - WINDOW CHANGED :::  QVariant(qulonglong, 150994949)
[debug 18:30:37.972972] - WINDOW CHANGED :::  QVariant(qulonglong, 150994949)
[debug 18:30:38.974974] - WINDOW CHANGED :::  QVariant(qulonglong, 150994949)
[debug 18:30:39.972972] - WINDOW CHANGED :::  QVariant(qulonglong, 150994949)
[debug 18:30:40.973973] - WINDOW CHANGED :::  QVariant(qulonglong, 150994949)
[debug 18:30:41.973973] - WINDOW CHANGED :::  QVariant(qulonglong, 150994949)
[debug 18:30:42.972972] - WINDOW CHANGED :::  QVariant(qulonglong, 150994949)
[debug 18:30:43.972972] - WINDOW CHANGED :::  QVariant(qulonglong, 150994949)
[debug 18:30:44.973973] - WINDOW CHANGED :::  QVariant(qulonglong, 150994949)
[debug 18:30:45.543543] - WINDOW CHANGED :::  QVariant(qulonglong, 146800646)
[debug 18:30:45.973973] - WINDOW CHANGED :::  QVariant(qulonglong, 150994949)
[debug 18:30:46.973973] - WINDOW CHANGED :::  QVariant(qulonglong, 150994949)
[debug 18:30:47.972972] - WINDOW CHANGED :::  QVariant(qulonglong, 150994949)
[debug 18:30:48.973973] - WINDOW CHANGED :::  QVariant(qulonglong, 150994949)
[debug 18:30:49.972972] - WINDOW CHANGED :::  QVariant(qulonglong, 150994949)
[debug 18:30:50.972972] - WINDOW CHANGED :::  QVariant(qulonglong, 150994949)
[debug 18:30:51.972972] - WINDOW CHANGED :::  QVariant(qulonglong, 150994949)
[debug 18:30:52.973973] - WINDOW CHANGED :::  QVariant(qulonglong, 150994949)
```

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

Reply via email to