Summary: | The weird horizontal scrollbar bug | ||
---|---|---|---|
Product: | [Unmaintained] telepathy | Reporter: | Daniele E. Domenichelli <ddomenichelli> |
Component: | contactlist | Assignee: | Telepathy Bugs <kde-telepathy-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | HI | ||
Version: | git-latest | ||
Target Milestone: | 0.6.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/telepathy-contact-list/5f1f87c78aeacf57f804318a2302588861485a84 | Version Fixed In: | 0.6.0 |
Sentry Crash Report: |
Description
Daniele E. Domenichelli
2013-03-06 22:56:39 UTC
Ok, I'll add something: The header delegate in the paint method always gets the rect of size >= of the available space as soon as the contact list is started. When the contacts are loaded, and the vertical scrollbar appears, instead of getting a smaller space, the delegate always gets the same, therefore it doesn't fit in the available space, and it is drawn outside, causing the horizontal scrollbar to appear and the status icons to be partially hidden. It might be something related to how the contacts are inserted in the model Git commit 5f1f87c78aeacf57f804318a2302588861485a84 by Daniele E. Domenichelli. Committed on 07/03/2013 at 01:02. Pushed by ddomenichelli into branch 'master'. Delay setting the model until the account manager is set. This fixes the weird horizontal scrollbar bug appearing when the vertical scrollbar appears. Reviewed-by: Martin Klapetek <martin.klapetek@gmail.com> Reviewed by: David Edmundson <kde@davidedmunson.co.uk> FIXED-IN: 0.6.0 M +5 -1 contact-list-widget.cpp http://commits.kde.org/telepathy-contact-list/5f1f87c78aeacf57f804318a2302588861485a84 |