Bug 398281 - Word completion popup box is too small
Summary: Word completion popup box is too small
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 17.12.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-05 07:23 UTC by phma
Modified: 2018-09-09 09:47 UTC (History)
2 users (show)

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


Attachments
Screenshot of editing a C++ program (212.25 KB, image/png)
2018-09-05 07:23 UTC, phma
Details

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