Bug 444633 - In the icon only taskmanager, window previews for grouped windows unexpectedly disappear.
Summary: In the icon only taskmanager, window previews for grouped windows unexpectedl...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: 5.23.2
Platform: Other Linux
: VHI normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords: regression
: 444695 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-10-29 21:57 UTC by noah
Modified: 2021-11-01 16:57 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.23.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description noah 2021-10-29 21:57:51 UTC
Reproduce:
1. Launch multiple windows of a program
2. Hover over the group icon in the task manager
3. The window previews will appear and then quickly disappear.
   They should stay until the mouse is no longer hovering over the icon.

This bug only seems to occur when the panel with the task manager is on the bottom screen edge.
It also happens more often when you move the mouse to the icon from the side rather than the top.

Here is a video of the bug:
https://i.imgur.com/MaPEM68.mp4

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.23.2-2
KDE Frameworks Version: 5.87.0-1
Qt Version: 5.15.2+kde+r254-1
Comment 1 Nate Graham 2021-11-01 15:53:42 UTC
But only for a horizontal panel? Cannot reproduce on git master, but it's possible some backports broke this, which would be my bad. :/

Fushan, would you mind investigating?
Comment 2 Fushan Wen 2021-11-01 15:55:00 UTC
in plasma-workspace/libtaskmanager/declarative/taskmanagerplugin.cpp

#ifdef WITH_PIPEWIRE
    qmlRegisterType<PipeWireSourceItem>(uri, 0, 1, "PipeWireSourceItem");
    qmlRegisterType<ScreencastingRequest>(uri, 0, 1, "ScreencastingRequest");
    qmlRegisterUncreatableType<Screencasting>(uri, 0, 1, "Screencasting", "Use ScreencastingItem");
#endif

I misunderstood that. PipeWire could be still unavailable. Will push a fix to restore the file.
Comment 3 Nate Graham 2021-11-01 15:56:38 UTC
Thanks!
Comment 4 Fushan Wen 2021-11-01 15:58:20 UTC
(In reply to Nate Graham from comment #3)
> Thanks!

Sorry I replied to wrong bug :/
Comment 5 Fushan Wen 2021-11-01 16:01:13 UTC
(In reply to Nate Graham from comment #3)
> Thanks!

There is a hack in plasma-framework 5.88, but 5.23 ships with Frameworks 5.86/5.87.

It should be fixed with Frameworks 5.88
Comment 7 Fushan Wen 2021-11-01 16:10:10 UTC
I guess https://invent.kde.org/plasma/plasma-desktop/-/commit/9e1a0670721093b508f1c6722c8c82beb95078b1 should be reverted for Plasma 5.23 if plasma-desktop only requires Frameworks 5.86.

How can I revert it?
Comment 8 Nate Graham 2021-11-01 16:30:33 UTC
Urgh, if that did require a new frameworks, thsn yeah, it needs to be reverted. I will investigate and take care of it.
Comment 9 Nate Graham 2021-11-01 16:42:53 UTC
Git commit 9c82d1f57b962d6e71755100c72f10335db6e9a5 by Nate Graham.
Committed on 01/11/2021 at 16:31.
Pushed by ngraham into branch 'Plasma/5.23'.

Revert "taskmanager: Show highlight before ToolTipInstance starts loading for grouped tooltips"

This reverts commit 9e1a0670721093b508f1c6722c8c82beb95078b1.

This should not have been cherry-picked to stable as it implicitly
relies on newer frameworks.
FIXED-IN: 5.23.3

M  +0    -4    applets/taskmanager/package/contents/ui/Task.qml
M  +2    -7    applets/taskmanager/package/contents/ui/ToolTipDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/commit/9c82d1f57b962d6e71755100c72f10335db6e9a5
Comment 10 Nate Graham 2021-11-01 16:57:44 UTC
*** Bug 444695 has been marked as a duplicate of this bug. ***