Bug 435010 - code completion popup uses entire screen width
Summary: code completion popup uses entire screen width
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 20.12.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-27 10:44 UTC by Felipe Kinoshita
Modified: 2021-04-07 11:35 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.82
Sentry Crash Report:


Attachments
image showing observed result (217.87 KB, image/png)
2021-03-27 10:44 UTC, Felipe Kinoshita
Details

Note You need to log in before you can comment on or make changes to this bug.
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.