Bug 83167 - FocusRect doesn't get painted properly in QIconView
Summary: FocusRect doesn't get painted properly in QIconView
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: qt (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-10 19:45 UTC by James Ots
Modified: 2009-01-08 21:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.