Bug 483962 - Items overlap while filtering widgets with animation speed set to "Instant"
Summary: Items overlap while filtering widgets with animation speed set to "Instant"
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Widget Explorer (show other bugs)
Version: 6.0.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Nate Graham
URL:
Keywords:
: 490374 491944 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-03-19 03:51 UTC by jimbo
Modified: 2024-08-20 17:11 UTC (History)
8 users (show)

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


Attachments
Widgets Overlap (187.30 KB, image/png)
2024-03-19 03:51 UTC, jimbo
Details
Screenshot (122.75 KB, image/png)
2024-04-14 06:03 UTC, Shubham Arora
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jimbo 2024-03-19 03:51:03 UTC
Created attachment 167445 [details]
Widgets Overlap

If you are searching for widgets the items will overlap or be oddly spaced. In the photo there is overlapping and a space between the 'wastebin' and 'brightnees and color' that shouldn't exist.

Operating System: KDE neon 6.0
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.5.0-25-generic (64-bit)
Graphics Platform: Wayland
Comment 1 lkzyjsxmn 2024-03-20 10:37:14 UTC
(In reply to jimbo from comment #0)
> Created attachment 167445 [details]
> Widgets Overlap
> 
> If you are searching for widgets the items will overlap or be oddly spaced.
> In the photo there is overlapping and a space between the 'wastebin' and
> 'brightnees and color' that shouldn't exist.
> 
> Operating System: KDE neon 6.0
> KDE Plasma Version: 6.0.2
> KDE Frameworks Version: 6.0.0
> Qt Version: 6.6.2
> Kernel Version: 6.5.0-25-generic (64-bit)
> Graphics Platform: Wayland

I encountered the same problem. This seems to only occur when the animation speed is set to instant. 

I think this bug should be caused by the duration of the sliding animation being 0.
Comment 2 jimbo 2024-03-22 08:47:46 UTC
I can confirm my animation speed is set to instant.
Comment 3 Nate Graham 2024-04-11 21:14:34 UTC
I can't quite reproduce this issue because when I test it with instant animation speeds, Plasma freezes forever. :/ Even worse!
Comment 4 Shubham Arora 2024-04-14 06:03:57 UTC
Created attachment 168498 [details]
Screenshot

I am able to reproduce it with animation speed set to instant. Not able to reproduce any freezing issue.


Operating System: EndeavourOS 
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.6-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® Arc
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X570 AORUS ELITE
System Version: -CF
Comment 5 Nate Graham 2024-07-19 14:40:01 UTC
*** Bug 490374 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2024-07-19 20:07:03 UTC
The freezing is fixed for me now. I can reproduce the issue 100% and will fix it shortly.
Comment 7 Bug Janitor Service 2024-07-19 21:30:41 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2393
Comment 8 Noah Davis 2024-08-02 23:32:24 UTC
To me, this seems to be a Qt bug. I have reported the issue here: https://bugreports.qt.io/browse/QTBUG-127709
Comment 9 Bug Janitor Service 2024-08-05 14:06:47 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2419
Comment 10 Nate Graham 2024-08-07 16:17:37 UTC
Git commit 1183d26462dbbe7fb5eeb709ecb23998aa31d32a by Nate Graham.
Committed on 07/08/2024 at 16:14.
Pushed by ngraham into branch 'master'.

WidgetExplorer.qml: work around QML transition bug with animations off

Due to https://bugreports.qt.io/browse/QTBUG-127709, zero-speed
animations cause the remove and addDisplaced transitions to malfunction:
items end up overlapping.

Work around it for now by manually disabling those when the animation
speed is zero.
FIXED-IN: 6.1.5

M  +2    -0    desktoppackage/contents/explorer/WidgetExplorer.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/1183d26462dbbe7fb5eeb709ecb23998aa31d32a
Comment 11 Nate Graham 2024-08-07 16:20:32 UTC
Git commit 78e222ad6ad15c0f9c4e0ba1a6c012fd9ca792c7 by Nate Graham.
Committed on 07/08/2024 at 16:19.
Pushed by ngraham into branch 'master'.

WidgetExplorer.qml: also apply workaround to add/addDisplaced transition

This was accidentally missed in 1183d26462dbbe7fb5eeb709ecb23998aa31d32a

M  +2    -0    desktoppackage/contents/explorer/WidgetExplorer.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/78e222ad6ad15c0f9c4e0ba1a6c012fd9ca792c7
Comment 12 Nate Graham 2024-08-07 16:24:49 UTC
Git commit 437be0a8dc9480aaff8a819330e3860bf19de01e by Nate Graham.
Committed on 07/08/2024 at 16:23.
Pushed by ngraham into branch 'Plasma/6.1'.

WidgetExplorer.qml: work around QML transition bug with animations off

Due to https://bugreports.qt.io/browse/QTBUG-127709, zero-speed
animations cause the remove and addDisplaced transitions to malfunction:
items end up overlapping.

Work around it for now by manually disabling those when the animation
speed is zero.
FIXED-IN: 6.1.5

(cherry picked from commit 1183d26462dbbe7fb5eeb709ecb23998aa31d32a)
(cherry-picked from commit 78e222ad6ad15c0f9c4e0ba1a6c012fd9ca792c7)

M  +4    -0    desktoppackage/contents/explorer/WidgetExplorer.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/437be0a8dc9480aaff8a819330e3860bf19de01e
Comment 13 Nate Graham 2024-08-20 17:11:17 UTC
*** Bug 491944 has been marked as a duplicate of this bug. ***