Bug 356308 - kdevelop completion popup window sizing is broken
Summary: kdevelop completion popup window sizing is broken
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: git master
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-05 13:14 UTC by Eugene Shalygin
Modified: 2016-09-08 19:32 UTC (History)
0 users

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


Attachments
screenshot of the problem (72.41 KB, image/png)
2015-12-05 13:17 UTC, Eugene Shalygin
Details
illustration for branch 5.0 (54.09 KB, image/png)
2016-02-02 20:52 UTC, Eugene Shalygin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Shalygin 2015-12-05 13:14:53 UTC
Almost always when the completion popup windows shows up, after a short timeout (~0.5  seconds) it got resized to the same small size. 

Reproducible: Sometimes

Steps to Reproduce:
1. Invoke completion
2. Wait a bit

Actual Results:  
The completion popup is unusable because it is too small.

Expected Results:  
The window has usable size

Qt 5.5.1
Comment 1 Eugene Shalygin 2015-12-05 13:17:01 UTC
Created attachment 95907 [details]
screenshot of the problem
Comment 2 Milian Wolff 2015-12-07 23:21:38 UTC
What version of Kate/KTextEditor are you running? Can you try to update that? Afaik I fixed some bugs of that form there recently.
Comment 3 Eugene Shalygin 2015-12-07 23:27:04 UTC
Kate and KTextEditor are also from Git master, updated 2 hours ago and the problem is present.
Comment 4 Milian Wolff 2015-12-08 17:35:08 UTC
I cannot reproduce this easily. Can you wrap up a small test project/file which triggers this behavior and explicitly document the steps you undertake (i.e. where you place the cursor, whether you trigger code completion via ctrl + space, ...).
Comment 5 Eugene Shalygin 2015-12-10 13:12:37 UTC
Milan, I observe this in any project and any source file with completion triggered automatically or manually via ctrl+space. Therefore I conclude that the problem is not related to a particular file set. Am I right? If so, perhaps you can point me, please, to the code which controls the size of the popup and I will try to debug it?
Comment 6 Eugene Shalygin 2015-12-10 22:30:08 UTC
From the first look, branch 5.0 is free from the problem
Comment 7 Milian Wolff 2015-12-11 13:25:55 UTC
Odd, afaik this should if at all be fixed in ktexteditor, not kdevelop.

anyhow, I just merged 5.0 into master - is master still broken?
Comment 8 Eugene Shalygin 2015-12-11 22:21:43 UTC
Yes, master still has this bug, 5.0 is OK. Switched from git master to version 5.16 of KF5 and all the symptoms are the same with 5.16.
Comment 9 Eugene Shalygin 2016-02-02 20:52:58 UTC
Created attachment 96985 [details]
illustration for branch 5.0

Encountered almost the same problem in version 4.90.91 using:
KDE Frameworks 5.18.0
Qt 5.5.1 (built against 5.5.1)
Comment 10 Eugene Shalygin 2016-04-07 22:27:53 UTC
This seems to be not the case with the master branch anymore.
Comment 11 Kevin Funk 2016-09-08 19:32:12 UTC
Thanks for the feedback! Assuming this got fixed in the meanwhile.