Bug 514911 - Window previews are appearing in the wrong place.
Summary: Window previews are appearing in the wrong place.
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: 6.5.5
Platform: CachyOS Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-21 18:42 UTC by Fernando Marcelino Muniz
Modified: 2026-01-23 09:07 UTC (History)
2 users (show)

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


Attachments
Issue on Plasma 6.5.5 (652.37 KB, video/mp4)
2026-01-21 18:42 UTC, Fernando Marcelino Muniz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Marcelino Muniz 2026-01-21 18:42:29 UTC
Created attachment 188761 [details]
Issue on Plasma 6.5.5

STEPS TO REPRODUCE
Launch an app that is pinned to the Panel and keep the cursor over it.

OBSERVED RESULT
With some apps, like Firefox and KDEnlive, the window preview appears in the wrong place.

EXPECTED RESULT
The should appear on next to the app's icon.

SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux 
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1
Kernel Version: 6.18.6-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 9 GB of RAM (8.1 GB usable)
Graphics Processor 1: Intel® Iris® Xe Graphics
Graphics Processor 2: NVIDIA GeForce GTX 1650
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6
Comment 1 Marco Martin 2026-01-22 12:03:14 UTC
it might be an issue when the launcher gets removed and replaced with the actual task, in that case the tooltip which has only one instance loses the parent and gets positioned relative to the entire taskbar as visualparent. the tooltip should probably disappear in that case and it's what it's happening on horizontal panels.

The bug seems to happen only on vertical panels
Comment 2 Bug Janitor Service 2026-01-22 14:55:18 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/3474
Comment 3 Marco Martin 2026-01-23 08:55:39 UTC
Git commit 01ca0cca5b842a9076211ccc30c770d6117fbb67 by Marco Martin.
Committed on 23/01/2026 at 08:19.
Pushed by mart into branch 'master'.

applets/taskmanager: fix implicitHeight

Task implicitheight used to be incorrect in vertical panels, as
it was defined as tasksRoot.height / Plasmoid.configuration.maxStripes

which means the height of the total taskbar.

This caused the task to be briefly too tall before its height was then limited by the gridlayout.
sometimes this in turn caused the taskbar tooltip appear on the wrong place
if the tooltip was shown right in the moment the task has wrong height.

M  +4    -2    applets/taskmanager/qml/Task.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/01ca0cca5b842a9076211ccc30c770d6117fbb67
Comment 4 Marco Martin 2026-01-23 09:07:08 UTC
Git commit e66fd63b44dc4aeb5b959a13aef134c9622197a6 by Marco Martin.
Committed on 23/01/2026 at 08:56.
Pushed by mart into branch 'Plasma/6.6'.

applets/taskmanager: fix implicitHeight

Task implicitheight used to be incorrect in vertical panels, as
it was defined as tasksRoot.height / Plasmoid.configuration.maxStripes

which means the height of the total taskbar.

This caused the task to be briefly too tall before its height was then limited by the gridlayout.
sometimes this in turn caused the taskbar tooltip appear on the wrong place
if the tooltip was shown right in the moment the task has wrong height.


(cherry picked from commit 01ca0cca5b842a9076211ccc30c770d6117fbb67)

01ca0cca applets/taskmanager: fix implicitHeight

Co-authored-by: Marco Martin <notmart@gmail.com>

M  +4    -2    applets/taskmanager/qml/Task.qml

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