Created attachment 137099 [details] image showing observed result when kate (using lsp client plugin) suggests a class or struct that has a long definition or a long description the code completion popup uses entire screen width which can be annoying. STEPS TO REPRODUCE 1. on kate, make it suggests a long definition class (e.g std::copy) OBSERVED RESULT code completion popup uses entire screen width. EXPECTED RESULT max code completion popup should be the application width. SOFTWARE/OS VERSIONS Linux/KDE Plasma: openSUSE Tumbleweed (available in About System) KDE Plasma Version: 5.21.3 KDE Frameworks Version: 5.80 Qt Version: 5.15.2
lol
A fix for this is up for review already. Hopefully we can fix this soon, it's terrible.
Some parts of that fix seemed to bit controversial, on the other side, perhaps at least some upper limit of the width would be a good start.
https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/116