Created attachment 176225 [details] Tooltip screenshot SUMMARY Tooltip font seems too big. Although it is set equal to text editor font, it looks bigger. See tooltip.cpp line 136 STEPS TO REPRODUCE 1. Hover some code in the text editor to show the tooltip OBSERVED RESULT Tooltip font is too large, it is very difficult to read EXPECTED RESULT Smaller font (at least the same size configured for the editor) SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.2.4 KDE Frameworks Version: 6.8.0 Qt Version: 6.8.0 Kernel Version: 6.12.1-arch1-1 (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i5-2500K CPU @ 3.30GHz Memory: 11,7 GiB of RAM Graphics Processor: NVC1
Which kate version are you using
The font is always the same as editor or 1pt less if the editor font size is greater than 11 If there are headers in the tooltip markdown, then of course they will appear a little bigger. Besides that I am not sure what can be done
I understand this is more a feature request than a bug, sorry. It would be nice to have smaller text inside the popup, possibly using the application font instead of the one of the editor area
We could try to use the font size of the ui instead of the editor, but not sure if that is always better.
Probably the best choice depend on the type of text being displayed, if it source code or documentation
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/1666
https://invent.kde.org/utilities/kate/-/merge_requests/1666 got merged.