Bug 398281

Summary: Word completion popup box is too small
Product: [Applications] kate Reporter: phma
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: andrew.crouthamel, mail
Priority: NOR    
Version First Reported In: 17.12.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.50
Sentry Crash Report:
Attachments: Screenshot of editing a C++ program

Description phma 2018-09-05 07:23:50 UTC
Created attachment 114788 [details]
Screenshot of editing a C++ program

I am typing a word and a completion box pops up. The box is too small to show all of some of the words, so I can't tell them apart. In the screenshot, the words are "along" and (I guess) "alosta" and "alostas", of which "alostas" occurs only in comments.

The version is 17.12.3. I just upgraded to Bionic; the bug was not present in Artful.
Comment 1 Andrew Crouthamel 2018-09-05 14:51:12 UTC
Note from a Bugsquad triager (I am not a developer):

I can confirm this on 18.08. It appears the completion box only matches the width of the first result. As you type, the box will continue to change in size to match the first result. Additional results will be cut off.
Comment 2 Sven Brauch 2018-09-05 19:09:24 UTC
This should be fixed in KF5 5.50 or later. The box is not actually too small, it just has some extra spacing on the left which is then missing on the right.
Comment 3 Sven Brauch 2018-09-05 19:10:27 UTC
Side note: I think this is actually a "regression" in Qt, not in our application, which broke this at some point. It's about the default minimum size for section headers in item views.
Comment 4 phma 2018-09-09 09:33:19 UTC
Thanks! How soon will the fix be in the repo?
Comment 5 Sven Brauch 2018-09-09 09:47:03 UTC
KDE Frameworks 5.50 was released a few days ago, the rest depends on your distribution.