Created attachment 170127 [details] demonstration of the issue SUMMARY LSP tooltips in Kate don't always show correctly, in fact they are displayed correctly only sometimes. Usually they are displayed as empty boxes. It seems there are at least several problems related to LSP tooltips in Kate: 1) the size of the tooltips is seemingly random, sometimes they are large and sometimes they are small 2) if the tooltip is correctly sized for the text and empty, it will always remain empty 3) if the tooltip is too small for the text and empty, scrolling it would show the text correctly STEPS TO REPRODUCE 1. Install Kate and at least one language server (in my case I am using bash-language-server for working with shell scripts) 2. Open a file which would trigger an LSP suggestion 3. Observe the issue OBSERVED RESULT In the majority of cases, LSP tooltips are displayed as empty boxes with no text. In addition to that, the size of LSP tooltip boxes seems to be random. EXPECTED RESULT LSP tooltips always show text. SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20240524 KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.2.0 Qt Version: 6.7.0 Kernel Version: 6.9.1-1-default (64-bit) Graphics Platform: Wayland Graphics Processor: AMD Radeon RX 560 Series
The bug seems to be related to display scaling, if I set scaling to 100%, the popups always show up correctly (and correctly sized) Unfortunately, on my 23" 4K monitor everything is unbearably small at 100% scaling.
I did some more testing and the issue happens only when display scaling is set to 200%. Does not happen at 150% or 175%
The issue is still present after upgrade to 24.05.0 New system information: Operating System: openSUSE Tumbleweed 20240531 KDE Plasma Version: 6.0.5 KDE Frameworks Version: 6.2.0 Qt Version: 6.7.1 Kernel Version: 6.9.3-1-default (64-bit) Graphics Platform: Wayland Graphics Processor: AMD Radeon RX 560 Series
After further investigation, I have discovered that this bug affects ALL overlays that are displayed on top of the text editing area, e.g. the Git overlay is also affected (please see the attached screenshot)
Created attachment 170148 [details] empty git overlay
Created attachment 170149 [details] Empty git overlay on top of the text edit area This image correctly shows the empty Git overlay on top of the text edit area
Created attachment 170150 [details] empty Git overlay on top of the text edit area Third time is a charm, sorry for the amount of comments (I accidentally discovered a bug in Spectacle while reporting this issue) This image correctly shows the empty Git overlay on top of the text edit area
*** This bug has been marked as a duplicate of bug 487505 ***