Bug 448391 - panel popups glitches
Summary: panel popups glitches
Status: REOPENED
Alias: None
Product: libplasma
Classification: Frameworks and Libraries
Component: libplasma (show other bugs)
Version: 5.89.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Marco Martin
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2022-01-13 20:29 UTC by Anton A.
Modified: 2022-12-24 09:18 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.90
Sentry Crash Report:


Attachments
reproduction (876.36 KB, video/x-matroska)
2022-01-13 20:39 UTC, Anton A.
Details
wayland popup glitch demonstration (418.14 KB, video/mp4)
2022-12-24 08:28 UTC, serfreeman1337
Details
wayland popup morphing glitch demonstration (1.35 MB, video/mp4)
2022-12-24 09:18 UTC, serfreeman1337
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton A. 2022-01-13 20:29:06 UTC
SUMMARY
When moving cursor over panel on the components that contains pop-up, instead of immediately showing pop-up, it shows 1-4 extra frames. The first contains scrollbar. And other frames is a random resize animation.


STEPS TO REPRODUCE
1. Disable Desktop Effects -> Morphing popups
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Anton A. 2022-01-13 20:37:55 UTC
SUMMARY
When moving cursor over panel on the components that contains pop-up, instead of immediately showing pop-up, it shows 1-4 extra frames. The first contains scrollbar. And other frames is a random resize animation.


STEPS TO REPRODUCE
1. Disable Desktop Effects -> Morphing popups -> Off
2. Set Animation Speed -> Instant
3. Move cursor panel components

OBSERVED RESULT
Animation glitches

EXPECTED RESULT
Single frame animation

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Kernel Version: 5.15.12-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i3-3120M CPU @ 2.50GHz
Memory: 7,6 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4000


ADDITIONAL INFORMATION
see attachments
Comment 2 Anton A. 2022-01-13 20:39:01 UTC
Created attachment 145427 [details]
reproduction
Comment 3 Nate Graham 2022-01-13 22:31:05 UTC
Cannot reproduce with current git master. IIRC this got fixed in Frameworks 5.90.
Comment 4 Anton A. 2022-01-19 06:54:56 UTC
Exactly the same issue after update.

Operating System: Manjaro Linux
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.1-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i3-3120M CPU @ 2.50GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4000
Comment 5 Nate Graham 2022-01-19 16:39:02 UTC
Hmm, I can't reproduce that, but now that I test again I see that the Morphing Popups effect doesn't seem to be working at all. :/
Comment 6 serfreeman1337 2022-12-24 08:28:46 UTC
Created attachment 154792 [details]
wayland popup glitch demonstration

Can reproduce it on Arch Linux. Glitch appears every time i hover over different icons.

KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Graphics Platform: Wayland
Graphics Processor: Mesa Intel® Xe Graphics
Comment 7 serfreeman1337 2022-12-24 09:18:23 UTC
Created attachment 154793 [details]
wayland popup morphing glitch demonstration

It's more apparent with "Morphing Popups" effect turned on. 
I think popups on wayland reuse previous size (and position in case of system tray popups) and then redraw themselves with correct ones causing graphic glitches. 

Steps to reproduce:
1. Hover over icon and wait for popup to appear.
2. Move mouse away and wait for popup to disappear.
3. Hover over another icon and observe how new popup at first has size of previous one.  ("Morphing popups" effect can help notice the difference)

Also plasma crashed a lot during this.