Bug 435010

Summary: code completion popup uses entire screen width
Product: [Applications] kate Reporter: Felipe Kinoshita <kinofhek>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: christoph, nate, waqar.17a
Priority: NOR    
Version: 20.12.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.82
Sentry Crash Report:
Attachments: image showing observed result

Description Felipe Kinoshita 2021-03-27 10:44:33 UTC
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
Comment 1 Nate Graham 2021-03-31 16:43:13 UTC
lol
Comment 2 Waqar Ahmed 2021-03-31 16:47:13 UTC
A fix for this is up for review already. Hopefully we can fix this soon, it's terrible.
Comment 3 Christoph Cullmann 2021-03-31 17:11:21 UTC
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.