Review Request: fix infinite recurssion in kcategorizedview

Jaime Torres Amate jtamate at gmail.com
Sun Dec 4 08:42:53 GMT 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103313/
-----------------------------------------------------------

(Updated Dec. 4, 2011, 8:42 a.m.)


Review request for kdelibs and Rafael Fernández López.


Changes
-------

Make the check for both type of scrollBars run in "parallel", i mean, to check both of them and then exit if one of the scroollbars is not present.
Done Christoph, Thomas and Alex issues.
(The blank spaces are already removed)

A Question: Could this be done in the rowsInserted method?


Description
-------

Basically, what I do is:
If there are one or zero columns, hide the horizontalScrollBar until it is needed. (it has worked in the past, but in another file).
Apply the same strategy with files.

Additional stuff:
Moved the common calculus of itemSize outside of the if then else.


This addresses bugs 213068 and 287847.
    http://bugs.kde.org/show_bug.cgi?id=213068
    http://bugs.kde.org/show_bug.cgi?id=287847


Diffs (updated)
-----

  kdeui/itemviews/kcategorizedview.cpp 46a1cde 
  kutils/kpluginselector.cpp ca0691d 

Diff: http://git.reviewboard.kde.org/r/103313/diff/diff


Testing
-------

Krunner config does not loop (neither kgetnewstuff from kstars). I can not test with amarok (I've hit by an amarok start bug).
Please, test with other programs.


Thanks,

Jaime Torres Amate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20111204/5ec6bdfc/attachment.htm>


More information about the kde-core-devel mailing list