Bug 449189 - Task thumbnail suddenly appears without any animation in the tooltip
Summary: Task thumbnail suddenly appears without any animation in the tooltip
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: master
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Fushan Wen
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2022-01-26 10:34 UTC by Fushan Wen
Modified: 2022-01-26 15:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.25
qydwhotmail: Wayland+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fushan Wen 2022-01-26 10:34:54 UTC
SUMMARY
On Wayland, the task thumbnail takes some time to load. After it's loaded, the thumbnail will suddenly appear without any animation, which makes the visual experience unpleasant.


STEPS TO REPRODUCE
1. Login to a Wayland session
2. Enable "Show tooltips" and Open many windows
3. Hover on the grouped task

OBSERVED RESULT
Unpleasant visual experience

EXPECTED RESULT
Some transitions can be performed after the thumbnail is loaded. 

SOFTWARE/OS VERSIONS
Information for package plasma5-desktop:
----------------------------------------
Repository     : unstable-kde-frameworks
Name           : plasma5-desktop
Version        : 5.24.80git.20220125T065041~06d75383e-ku.8.1
Arch           : x86_64
Vendor         : obs://build.opensuse.org/KDE:Unstable
Installed Size : 8.6 MiB
Installed      : Yes
Status         : up-to-date
Source package : plasma5-desktop-5.24.80git.20220125T065041~06d75383e-ku.8.1.src
Summary        : The KDE Plasma Workspace Components
Comment 1 Bug Janitor Service 2022-01-26 10:42:57 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1405
Comment 2 Bug Janitor Service 2022-01-26 10:43:41 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/822
Comment 3 Nate Graham 2022-01-26 15:55:56 UTC
Git commit 02205b3ef7b612b26c525755bb7c49decc70d10e by Nate Graham, on behalf of Fushan Wen.
Committed on 26/01/2022 at 15:50.
Pushed by ngraham into branch 'master'.

libtaskmanager: Set enabled according to visible property

`enabled` must be set in the backend because `visible` will always be
true after getting a valid nodeId, and sometimes we need to reset `enabled`
to false.

M  +5    -0    libtaskmanager/declarative/pipewiresourceitem.cpp

https://invent.kde.org/plasma/plasma-workspace/commit/02205b3ef7b612b26c525755bb7c49decc70d10e
Comment 4 Fushan Wen 2022-01-26 15:56:58 UTC
Git commit dba51580a0e24ea941dfbda45eb6cf8502c94192 by Fushan Wen.
Committed on 26/01/2022 at 10:40.
Pushed by ngraham into branch 'master'.

taskmanager: Add fade-in animation after the thumbnail image is ready

On Wayland, the task thumbnail takes some time to load. After it's
loaded, a fade-in animation can make the visual experience much better.
FIXED-IN: 5.25

M  +26   -7    applets/taskmanager/package/contents/ui/PipeWireThumbnail.qml

https://invent.kde.org/plasma/plasma-desktop/commit/dba51580a0e24ea941dfbda45eb6cf8502c94192
Comment 5 Fushan Wen 2022-01-26 15:57:06 UTC
Git commit a8e483a1f8df761179c7c266ef61b52a035ba654 by Fushan Wen.
Committed on 26/01/2022 at 10:40.
Pushed by ngraham into branch 'master'.

taskmanager: Load "PipeWireThumbnail.qml" asynchronously

So thumbnails in grouped task tooltips can be shown almost at the same
time.

M  +1    -0    applets/taskmanager/package/contents/ui/ToolTipInstance.qml

https://invent.kde.org/plasma/plasma-desktop/commit/a8e483a1f8df761179c7c266ef61b52a035ba654