https://bugs.kde.org/show_bug.cgi?id=485211
Bug ID: 485211 Summary: New LSP function parameter tooltip hangs off the screen Classification: Applications Product: kate Version: 24.02.1 Platform: openSUSE OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kwrite-bugs-n...@kde.org Reporter: groszdaniel...@gmail.com Target Milestone: --- Created attachment 168270 --> https://bugs.kde.org/attachment.cgi?id=168270&action=edit Screenshot SUMMARY The new function parameter tooltip is nice, but part of it is invisible when the cursor is near the right edge of the screen. See screenshot. As shown in the screenshot, even the completion list slightly hangs off the screen: it opens at the right edge of the screen, but after half a second (perhaps after LSP suggestions are loaded or when the function parameter popup is opened) it grows slightly bigger, while its location (top left corner) doesn't change. STEPS TO REPRODUCE 1. Move the cursor near the opening parenthesis of a function call in a program with LSP support. Make it so that this opening parenthesis is near the right edge of the screen. 2. Press Ctrl+Space. OBSERVED RESULT The function parameter tooltip is opened with its left edge at the cursor, and part of it is cut off if the popup is sufficiently wide. Half of the completion list's scrollbar is also cut off (perhaps depending on the available suggestions?). EXPECTED RESULT The tooltip and the completion list are shifted to the left, such that they are fully visible and their right edge aligns with the screen's edge. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20240404 KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.3 Kernel Version: 6.8.2-1-default (64-bit) Graphics Platform: X11 -- You are receiving this mail because: You are watching all bug changes.