Bug 495073 - Plasma ToolTipArea rendering issues (content item smaller than tooltip body)
Summary: Plasma ToolTipArea rendering issues (content item smaller than tooltip body)
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (other bugs)
Version First Reported In: 6.2.1
Platform: Fedora RPMs Linux
: HI minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 499449 504132 505702 507297 507628 510338 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-10-20 03:12 UTC by Patrick Hoffmann
Modified: 2025-11-05 14:50 UTC (History)
15 users (show)

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


Attachments
Video of the bug (3.49 MB, video/webm)
2024-10-20 03:12 UTC, Patrick Hoffmann
Details
Panel tooltip glitch on Plasma 6.2.2 (151.33 KB, video/webm)
2024-10-31 18:51 UTC, John Kizer
Details
Hamburger submenu (54.50 KB, image/png)
2025-10-17 16:53 UTC, meso5
Details
Distorted submenu in the titlebar application menu (335.61 KB, image/png)
2025-10-17 18:25 UTC, bugreporter
Details
Distorted submenu in the global menu (747.51 KB, image/png)
2025-10-17 18:26 UTC, bugreporter
Details
different but similar rendering issue when hovering over an app (1.16 MB, image/png)
2025-11-04 14:49 UTC, dlanm2u
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Hoffmann 2024-10-20 03:12:53 UTC
Created attachment 175046 [details]
Video of the bug

SUMMARY

Hello,

when I hover the mouse over an icon in the panel, it correctly shows the tooltip. However, when I quickly move the mouse back and forth between two icons, the rendering of the tooltips seems to malfunction. Once I slow down the movement, the tooltips appear normal again. Since it’s difficult for me to describe the issue in words, I have recorded a video demonstrating the problem.

STEPS TO REPRODUCE

1. Hover over the kickoff icon.
2. Quickly move the mouse over the settings icon and then back to the kickoff icon, and repeat the process quickly.

OBSERVED RESULT

The tooltips are rendered incorrectly.

EXPECTED RESULT

Correctly rendered tooltips.

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.11.4-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION

Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 30.9 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4080 SUPER/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7E16
System Version: 1.0

Screens
=======
Number of Screens: 3

Screen 0:
---------
Name: HDMI-A-1
Enabled: 1
Geometry: 5120,0,1080x1920
Scale: 1
Refresh Rate: 143981
Adaptive Sync: incapable
Screen 1:
---------
Name: DP-1
Enabled: 1
Geometry: 2560,240,2560x1440
Scale: 1
Refresh Rate: 360000
Adaptive Sync: automatic
Screen 2:
---------
Name: DP-2
Enabled: 1
Geometry: 0,240,2560x1440
Scale: 1.5
Refresh Rate: 59997
Adaptive Sync: automatic
Comment 1 Patrick Hoffmann 2024-10-22 09:09:38 UTC
A similar or the same issue seems to exist in GTK as well (https://gitlab.gnome.org/GNOME/gtk/-/issues/5832). However, since GTK now uses Vulkan, I’ve never encountered the problem there.

Since this appears to be an issue with the NVIDIA driver, I’m not sure if there’s anything you can do about it or if it’s something you'd want to address.
Comment 2 John Kizer 2024-10-31 18:51:07 UTC
Created attachment 175419 [details]
Panel tooltip glitch on Plasma 6.2.2
Comment 3 John Kizer 2024-10-31 18:52:11 UTC
I'm seeing this as well on Plasma 6.2.2 (added attachment with what it looks like on my system, with a non-floating panel).

Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.11.5-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Graphics Processor: NVIDIA GeForce RTX 4070 SUPER/PCIe/SSE2
Comment 4 Nate Graham 2024-11-05 22:34:33 UTC
Thanks for the screen recordings. I'm not able to reproduce this issue with current git master on my system. I have an AMD GPU, however. It may be an issue specific to the NVIDIA GPU drivers. Is anyone able to experience this issue *without* an AMD GPU using the proprietary drives? Is anyone brave enough to try with Nouveau or the open kernel drivers, rather than the proprietary drivers?
Comment 5 John Kizer 2024-11-06 04:22:52 UTC
(In reply to Nate Graham from comment #4)
> Thanks for the screen recordings. I'm not able to reproduce this issue with
> current git master on my system. I have an AMD GPU, however. It may be an
> issue specific to the NVIDIA GPU drivers. Is anyone able to experience this
> issue *without* an AMD GPU using the proprietary drives? Is anyone brave
> enough to try with Nouveau or the open kernel drivers, rather than the
> proprietary drivers?

I never thought I'd get credit for being brave this easily, but - to confirm your hypothesis, I did not notice this issue when I rebooted my Nvidia desktop into the Nouveau drivers, nor could I see it on my wife's AMD-only laptop. (Using Nouveau introduced an array of other issues, but this particular one disappeared!)
Comment 6 Nate Graham 2024-11-06 05:53:59 UTC
Thanks a lot. So yeahhhh It's gonna be a proprietary NVIDIA GPU driver then, sorry!

If you want to get even more credit, feel free to report this issue to the NVIDIA folks, either by sending an email to linux-bugs@nvidia.com or making a post at https://forums.developer.nvidia.com/c/gpu-graphics/linux. It would be helpful to the NVIDIA developers if you could run nvidia-bug-report.sh and attach the resulting file in your report.
Comment 7 John Kizer 2024-11-06 06:17:35 UTC
Thanks - for reference for others, the Nvidia bug post is here:

https://forums.developer.nvidia.com/t/tooltip-distortion-on-kde-plasma/312358
Comment 8 John Kizer 2025-02-05 17:14:47 UTC
*** Bug 499449 has been marked as a duplicate of this bug. ***
Comment 9 John Kizer 2025-05-19 05:00:48 UTC
*** Bug 504132 has been marked as a duplicate of this bug. ***
Comment 10 Akseli Lahtinen 2025-10-07 11:11:53 UTC
*** Bug 510338 has been marked as a duplicate of this bug. ***
Comment 11 Akseli Lahtinen 2025-10-07 11:12:17 UTC
*** Bug 507297 has been marked as a duplicate of this bug. ***
Comment 12 Nate Graham 2025-10-07 13:25:22 UTC
*** Bug 507628 has been marked as a duplicate of this bug. ***
Comment 13 Nate Graham 2025-10-07 14:35:37 UTC
We're starting to get reports of this affecting people without NVIDIA GPUs. Re-opening.
Comment 14 meso5 2025-10-17 16:52:04 UTC
Not sure if my report below should be a separate issue. 

Some hamburger submenus appear distorted like in my menu screenshot. It happens every time I open the menu, but it’s not always the same submenus. The problem fixes itself if I move to another submenu and back. After a problem submenu has been drawn correctly once, it will always be drawn correctly until I close and re-open the hamburger menu. Is this a known issue? 

Operating System: Debian GNU/Linux 13
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.12.48+deb13-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i7-5600U CPU @ 2.60GHz
Memory: 8 GiB of RAM (7.6 GiB usable)
Graphics Processor: Mesa Intel® HD Graphics 5500
Comment 15 meso5 2025-10-17 16:53:07 UTC
Created attachment 185867 [details]
Hamburger submenu
Comment 16 bugreporter 2025-10-17 18:24:05 UTC
I see a similar thing on AMD. This happens quite often when using the titlebar "application menu" button, and also if I have the global menu in a panel (screenshots below).

However I've never seen it in hamburger menus (at least in Dolphin and Konsole), nor in other cascading menus, nor in tooltips anywhere.

Operating System: Debian GNU/Linux 13
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.16.3+deb13-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 8840HS w/ Radeon 780M Graphics
Memory: 32 GB of RAM (30.6 GB usable)
Graphics Processor: AMD Radeon Graphics
Mesa Version: 25.2.4 [also happened with 25.0.7]
Comment 17 bugreporter 2025-10-17 18:25:39 UTC
Created attachment 185868 [details]
Distorted submenu in the titlebar application menu
Comment 18 bugreporter 2025-10-17 18:26:23 UTC
Created attachment 185869 [details]
Distorted submenu in the global menu
Comment 19 bugreporter 2025-10-17 18:58:51 UTC
Adding to my previous comment:

I was able to reproduce the bug under the QPainter backend (KWIN_COMPOSE=Q) which I believe does not use the GPU(?)
So it might be that the menu distortion bug is not GPU-related after all?

(I could also reproduce it under all other Wayland-compatible backends: O, O1, O2, O2ES)
Comment 20 dlanm2u 2025-11-04 14:49:09 UTC
Created attachment 186491 [details]
different but similar rendering issue when hovering over an app

When I hover over an app, the tooltip takes over the whole screen (may be unrelated different issue but could be same). 
Intel Core Ultra 7 256V
Comment 21 dlanm2u 2025-11-04 14:51:50 UTC
should probably have added other important info, this is on plasma 6.5.1, fedora 43
Comment 22 Nate Graham 2025-11-05 14:50:53 UTC
*** Bug 505702 has been marked as a duplicate of this bug. ***