Bug 481829 - Resizing applets is extremely choppy: Opposite edge and content jump back and forth
Summary: Resizing applets is extremely choppy: Opposite edge and content jump back and...
Status: REOPENED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.0.1
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
: 477986 484285 490119 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-02-25 18:54 UTC by postix
Modified: 2024-12-03 11:25 UTC (History)
6 users (show)

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


Attachments
Screen recording (3.52 MB, video/x-matroska)
2024-02-25 18:54 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2024-02-25 18:54:28 UTC
Created attachment 166100 [details]
Screen recording

SUMMARY

I haven't seen this in Plasma5 on bare metal, but in Plasma6 in VirtualBox the animations, when resizing applets, such as kickoff, are extremely choppy. Please see the screen recording.

I don't kn
Operating System: Fedora-KDE-Live-x86_64-Rawhide-20240225.n.0.iso
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.0-rc5
Graphics Platform: Wayland
Graphics Processor: llvmpipe
VirtualBox 7.0 on openSUSE TW
Comment 1 postix 2024-03-14 13:51:43 UTC
Can reproduce it on bare metal

Operating System: openSUSE Tumbleweed 20240311
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.7-1-default (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Graphics Processor: AMD Radeon RX 580 Series
Comment 2 postix 2024-03-14 13:54:27 UTC
What's particular, when making an applet larger or smaller by pulling on one of its edges, its opposite edge doesn't stay still but jumps quickly back and forth.
Comment 3 postix 2024-03-14 13:55:12 UTC
^ *including the content.
Comment 4 Bug Janitor Service 2024-07-18 10:59:59 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/6131
Comment 5 Vlad Zahorodnii 2024-07-18 17:12:42 UTC
Git commit a10c322f7a31148f7b203541a53d5d96c60b2ae8 by Vlad Zahorodnii.
Committed on 18/07/2024 at 17:02.
Pushed by vladz into branch 'master'.

wayland: Ignore plasma shell reposition requests during interactive move resize

Both kwin and plasma have different placement strategies during interactive
move resize. That can result in the window flipping between two positions.

In order to prevent that, this change makes kwin placement take precedence
over the window position specified using the plasmashell protocol. This can
be considered as a workaround.

M  +3    -1    src/xdgshellwindow.cpp

https://invent.kde.org/plasma/kwin/-/commit/a10c322f7a31148f7b203541a53d5d96c60b2ae8
Comment 6 Vlad Zahorodnii 2024-07-18 17:37:09 UTC
Git commit 1066046283bbd8441da78c297b0bfd28f47f9e5c by Vlad Zahorodnii.
Committed on 18/07/2024 at 17:26.
Pushed by vladz into branch 'Plasma/6.1'.

wayland: Ignore plasma shell reposition requests during interactive move resize

Both kwin and plasma have different placement strategies during interactive
move resize. That can result in the window flipping between two positions.

In order to prevent that, this change makes kwin placement take precedence
over the window position specified using the plasmashell protocol. This can
be considered as a workaround.


(cherry picked from commit a10c322f7a31148f7b203541a53d5d96c60b2ae8)

Co-authored-by: Vlad Zahorodnii <vlad.zahorodnii@kde.org>

M  +3    -1    src/xdgshellwindow.cpp

https://invent.kde.org/plasma/kwin/-/commit/1066046283bbd8441da78c297b0bfd28f47f9e5c
Comment 7 Nate Graham 2024-07-19 14:48:51 UTC
*** Bug 490119 has been marked as a duplicate of this bug. ***
Comment 8 Patrick Silva 2024-07-29 14:22:09 UTC
*** Bug 477986 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2024-08-01 22:01:00 UTC
*** Bug 484285 has been marked as a duplicate of this bug. ***
Comment 10 Patrick Silva 2024-08-09 14:18:33 UTC
The situation has improved on Plasma 6.1.4, but visual glitches persist in the right side of systray widgets and calendar while resizing them.

Operating System: Arch Linux 
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Graphics Platform: Wayland
Comment 11 Ye Jingchen 2024-08-10 10:01:31 UTC
On 6.1.4, resizing applets vertically still results in glitches, but horizontally it's better.

Operating System: Arch Linux 
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.10.3-arch1-2 (64-bit)
Graphics Platform: Wayland
Comment 12 postix 2024-08-10 11:52:49 UTC
I've updated to 6.1.4 on Tumbleweed and to be honest, I don't see much of a difference to 6.1.3 neither horizontally nor vertically, if there's any. Including the comments above, I'd suggest to re-open the issue unfortunately.
Comment 13 Ye Jingchen 2024-09-16 06:22:04 UTC
Could it be the problem of QML? I see the same choppiness when resizing Discover, System Monitor: https://youtu.be/QL59GKW691Q

Operating System: Arch Linux 
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.10-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 PRO 6850HS with Radeon Graphics
Memory: 14.9 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Comment 14 Nate Graham 2024-09-16 11:46:04 UTC
That's different; this bug report is only about widgets.
Comment 15 postix 2024-12-03 11:25:11 UTC
Does https://invent.kde.org/plasma/kwin/-/merge_requests/6851 by any chance help here?