Bug 503101

Summary: context menu placement has incorrect limits inside of konsole window
Product: [Applications] konsole Reporter: Henk van den Toorn <vdtoorn>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal CC: john.kizer
Priority: NOR    
Version First Reported In: 25.04.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Henk van den Toorn 2025-04-21 11:40:49 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
Right-click context menu is limited to upper part of konsole window.

STEPS TO REPRODUCE
1. Open Konsole window
2. right-click in several places inside the window (for PC)

OBSERVED RESULT

in the top left the context menu correctly follows the mouse cursor, lower or more to the right, positioning is incorrect and appears to be constrained to the area where the mouse is responding correctly (horizontally) or too high (vertically)

EXPECTED RESULT
Context menu appears at mouse position.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Kernel Version: 6.10.2-rt14-arch1-5-rt (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3070

ADDITIONAL INFORMATION
Tried to create a screencast, but it failed because of probably https://bugs.kde.org/show_bug.cgi?id=485733 :)

Also, I found this is intermittent, when trying to reproduce with the window I ran  kinfo in (not related to that) the context menu showed up where the mouse was. It seems the context menu has some rectangle it *thinks* the window is and limits the context menu to that, but that rectangle is not updated to have the correct window drawing area. The right click is correctly assigned to the window, so a 'just in case' limit is imposed on the placement of the context menu.
Resizing the window does not change / fix the issue.
Comment 1 John Kizer 2025-04-22 02:17:12 UTC
Hi - in the absence of a recording, would you be able to please attach a screenshot of what you're experiencing?

Thanks!
Comment 2 Henk van den Toorn 2025-05-04 21:14:47 UTC
This problem appears to be solved with some update
I believe the problems can be attributed to kernel or nvidia driver somehow.

Operating System: Arch Linux 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Kernel Version: 6.14.4-arch1-2 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3070