[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [plasmashell] [Bug 348825] Tooltip renders weird on first show, looks good on subsequent ones.
From:       Thomas Lübking <thomas.luebking () gmail ! com>
Date:       2015-06-07 14:01:08
Message-ID: bug-348825-17878-AjnGqLvIUA () http ! bugs ! kde ! org/
[Download RAW message or body]

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

Thomas Lübking <thomas.luebking@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |1.0
            Product|kwin                        |plasmashell
          Component|compositing                 |Task Manager
           Assignee|kwin-bugs-null@kde.org      |hein@kde.org
                 CC|                            |plasma-bugs@kde.org,
                   |                            |thomas.luebking@gmail.com

--- Comment #5 from Thomas Lübking <thomas.luebking@gmail.com> ---
(In reply to Mark from comment #4)
> With and without compositing, The exact same happens only without blur ;-)

Client "bug" - the actual bug is probably in QML, though the situation isn't
that simple.
Usually clients set up and (in case they're managed) send a sync request when
they're done.
If they're not managed, the kwin compositor "covers" that by waiting 50ms
before actually rendering them.

So what happens here is that the window gets mapped with uninitialized content
(bad) and initialization takes that long (bad) that it's exposed to the user.

Unfortunately, this seems like a pattern with QML windows (we got bug reports
for slow invocation of presentwindows and desktopgrid effect because of this),
so they're basically not suited to get created "on the fly"

The solution we took in kwin effects was to not recreate them (so only the
first invocation is slow) - for the panel tooltips, one might resort to
initially create the window once off-screen (they're hopefully unmanaged
again?), then unmap them and from then on just re-map the window (what should
be fast)

-- 
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic