From kdevelop-bugs Thu Sep 30 13:37:25 2010 From: Milian Wolff Date: Thu, 30 Sep 2010 13:37:25 +0000 To: kdevelop-bugs Subject: [Bug 252867] New: code completion list jumpy Message-Id: X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=128585398705138 https://bugs.kde.org/show_bug.cgi?id=252867 Summary: code completion list jumpy Product: kdevelop Version: 4.0.0 Platform: Unlisted Binaries OS/Version: Linux Status: NEW Severity: normal Priority: NOR Component: code completion AssignedTo: kdevelop-bugs@kdevelop.org ReportedBy: mail@milianw.de Version: 4.0.0 OS: Linux When browsing through the completion list you get behind "KMessageBox::", the list behaves quite jumpy and is not nice at all imo. PS: This is a KatePart bug, but as I know the Kate people, they won't fix it since it cannot be seen there. So lets put it into KDevelop until I eventually come around to fix it. Reproducible: Didn't try Steps to Reproduce: File contents: ~~~ #include int main() { KMessageBox:: // request code completion here } ~~~ Actual Results: Now scroll down. The first time the list scrolls, the prefix column (function return types) will get *much* bigger, even though no item needs that space. When you scroll down further you see the row that needs the space there, but it should only resize when this column is actually visible, just like it's resizing again once you scroll down further and the row is hidden again. http://userpage.physik.fu-berlin.de/~milianw/kate-broken-completion-overwidecolumn.png If you scroll down even further into the Enum area, you'll notice that the completion list shrinks quite much (width), so much that completion item in the namespace group are cut of (if still visible). It happens for me as soon as I scroll down to KMessageBox::DialogType::Error. But this will only cut of the text, the list widget will still be quite wide. Scroll one more item further down, and the width will decrease to the column width. http://userpage.physik.fu-berlin.de/~milianw/kate-broken-completion-labelcutoff.png Expected Results: Only resize if visible item would not have enough space Don't cut of visible labels Resize directly, don't cut of label text without resizing the widget. -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs