Summary: | In some circumstances deleting few items makes 'few_items - 1' invisible until refresh | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Aleh <aleh> |
Component: | view-engine: details mode | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | emmanuelpescosta099 |
Priority: | NOR | ||
Version: | 2.2 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-baseapps/ba2c5c7193b66e035e4040401cb21ce294a0834e | Version Fixed In: | 4.11.0 |
Sentry Crash Report: |
Description
Aleh
2013-05-17 15:41:40 UTC
Thanks for the bug report! I can confirm the problem. @All: Please test this patch https://git.reviewboard.kde.org/r/111486/ and maybe give some feedback, if it works for you too or if you find a regression (Hopefully not!). Thanks :) Git commit ba2c5c7193b66e035e4040401cb21ce294a0834e by Frank Reininghaus. Committed on 25/07/2013 at 20:25. Pushed by freininghaus into branch 'KDE/4.11'. Fix maximum value for scroll bar when deleting items in Details View The problem was that the view heigt minus the header height was subtracted from maximumScrollOffset() to determine the maximum value of the scroll offset of the top of the view. However, the top of the view is the part that is hiden behind the header. Therefore, the full view height must be subtracted from maximumScrollOffset. The remaining bits of bug 319951 were fixed by other recent commits. Thanks to Emmanuel Pescosta for helping to track down the problem! FIXED-IN: 4.11.0 REVIEW: 111486 M +8 -1 dolphin/src/kitemviews/kitemlistcontainer.cpp http://commits.kde.org/kde-baseapps/ba2c5c7193b66e035e4040401cb21ce294a0834e |