Revision dd917bf...

Go back to digest for 12th February 2012

Bug Fixes in KDE Base

Peter Penz committed changes in [kde-baseapps] /src/kitemviews:

Fix potential endless loop in layout

Usecase:
- No scrollbar is shown
- Window size will be decreased so that a scrollbar gets necessary

The decreased window size minus the space required for the scrollbar
results in a relayout of the items. In 99 % of all
cases a decreased window size won't result in showing more items in parallel in
comparison to a larger window size. However in the remaining 1 % this can
happen (e.g. see bug 293318 for a sample). This results in an endless loop as
now no scrollbar is required anymore, the layout changes again, the scrollbar
is required again, ...


FIXED-IN: 4.8.1

File Changes

Modified 4 files
  • /src/kitemviews
  •   dolphin/kitemlistcontainer.cpp
  •   dolphin/kitemlistcontainer.h
  •   dolphin/kitemlistview.cpp
  •   dolphin/kitemlistview.h
4 files changed in total