Created attachment 169796 [details] Recording STEPS TO REPRODUCE 1. Enable LSP Client (in my example it was rust-analyzer) 2. Mouse over any piece of code that should show hint OBSERVED RESULT Popup is sometimes completly white. Text is visible only after scrolling or selecting. Please see attached video. This efect is random(!), in rare cases text is visible right away. Looks like some rendering race condition. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.2.0 Qt Version: 6.7.0 Kernel Version: 6.9.1-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 6800U with Radeon Graphics Memory: 27,2 GiB of RAM Graphics Processor: AMD Radeon Graphics
Also I've noticed scroll bars are not usable - clicking on one to drag it with a mouse closes LSP Client popup completly. Maybe not related to this issue, but have you considered adding dedicated window section for LSP hints (like the one for symbols table for example)? Popups are mixed bag of candies. They show in different sizes, sometimes unintentionally covering surrounding code. Having those hints in one place would make work more organized.
Upgrade to: Kate 24.05.0 KDE Plasma Version: 6.0.5 KDE Frameworks Version: 6.2.0 Qt Version: 6.7.1 Kernel Version: 6.9.2-arch1-1 (64-bit) Did not help.
I found that this issue is caused by QT_SCALE_FACTOR_ROUNDING_POLICY=RoundPreferFloor I've started to track back every change I made from vanilla Arch + Plasma installation and at some point I was fixing jagged fonts in Kmail when HiDPI scaling is used by setting this variable globally. When Kate is ran with QT_SCALE_FACTOR_ROUNDING_POLICY=PassThrough the popup texts are always visible. I'm leaving this isue open for you to decide if it is a bug (application should work regardles of QT scaling used) or not (only default scaling is supported and tested).
Hi, I am also affected by this bug (see https://bugs.kde.org/show_bug.cgi?id=488013), but in my case the QT_SCALE_FACTOR_ROUNDING_POLICY environment variable does not make any difference. I have found that the issue happens only when scaling is set to 200%, unfortunately with my 23" 4K monitor it is the only setting that is usable for me.
*** Bug 488013 has been marked as a duplicate of this bug. ***
Hmm, works for me with current master and Qt 6.7.1. I did set both export QT_SCALE_FACTOR=2 and tried with and without export QT_SCALE_FACTOR_ROUNDING_POLICY=RoundPreferFloor
(In reply to Christoph Cullmann from comment #6) > Hmm, works for me with current master and Qt 6.7.1. > I did set both > > export QT_SCALE_FACTOR=2 > > and > > tried with and without > > export QT_SCALE_FACTOR_ROUNDING_POLICY=RoundPreferFloor Christoph, are you using Wayland or X11? I just switched to X11 for testing purposes (I can't really daily drive X11 because I'm using monitors with different scaling factors), and it seems that this issue only triggers under Wayland.
I use and tested it with Wayland.
The issue is no longer reproducible in Kate 24.05.1 running under KDE Plasma 6.1.0/Frameworks 6.3.0/Qt 6.7.1
These popups are the last remaining "top level window" in Kate. Top level windows and wayland don't go well. Should have changed it as well along with others. But seems like this is no longer reproducible, thus for now lets close this issue. Please reopen if you encounter it again.