Bug 83167

Summary: FocusRect doesn't get painted properly in QIconView
Product: [Frameworks and Libraries] kdelibs Reporter: James Ots <kde>
Component: qtAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description James Ots 2004-06-10 19:45:38 UTC
Version:           3.3.2 (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

The dotted line around the text on the current QListViewItem doesn't always get drawn properly. In a vertical list of icons, on some rows then only the bottom half of the FocusRect is drawn, while on horizontal lists, columns of the icons will only have the right hand side drawn.

Also, when the list is vertical and there are enough icons to require a vertical scrollbar, if you select an icon at the bottom of a column and press the down arrow, the icon at the top of the next column is selected but the FocusRect is never drawn.

This is how an icon should look:

  #####
  #####
  #####

+-------+
| Hello |
|  Sir  |
+-------+

This is how they sometimes look:

  #####
  #####
  #####


  Hello  
|  Sir  |
+-------+

Or Horizontally, Correct:

#### +-----------+
#### | Hello Sir |
#### +-----------+

Wrong:

####      -------+
####   Hello Sir |
####      -------+
Comment 1 James Ots 2009-01-08 21:46:11 UTC
I believe this is now fixed.