Bug 168912 - Oxygen:focus indicator in tree view not drawn
Summary: Oxygen:focus indicator in tree view not drawn
Status: RESOLVED FIXED
Alias: None
Product: Oxygen
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Camilla Boemann
URL:
Keywords:
: 165216 194169 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-11 15:34 UTC by Matthias Ettrich
Modified: 2010-06-06 06:21 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
proposed patch (1.88 KB, patch)
2008-08-19 12:56 UTC, Huynh Huu Long
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Ettrich 2008-08-11 15:34:45 UTC
Version:            (using KDE 4.1.0)
Installed from:    SuSE RPMs

The bug can easily be seen in KMail, where it creates a usability problem: when using Ctrl-Left/Right to select different folders, the window title changes but the tree-view with Oxygen does not indicate the current item.

In the current item != selected item scenario in single-selection mode, there must be a visual hint of some kind. 

This works with other styles, e.g. Plastique.
  
Cheers and congratulations for an otherwise very pretty and functional Oxygen style!
Comment 1 FiNeX 2008-08-13 11:20:36 UTC
I confirm this bug using current trunk
Comment 2 Camilla Boemann 2008-08-14 20:05:16 UTC
*** Bug 165216 has been marked as a duplicate of this bug. ***
Comment 3 Dotan Cohen 2008-08-16 21:58:36 UTC
I can confirm in Kmail 1.10.0 on KDE 4.1 from the Ubuntu packages.
Comment 4 Huynh Huu Long 2008-08-19 12:56:11 UTC
Created attachment 26935 [details]
proposed patch

Hi,
this fixes the bug for me. As you can see KStyle doesn't handle rotated widgets correctly (like vertical tabs) and adds the margins at the wrong places. I welcome any suggestions!

longh
Comment 5 Huynh Huu Long 2008-08-19 13:00:19 UTC
sorry, commented on the wrong one xD
Comment 6 Helge Hielscher 2009-02-14 23:46:19 UTC
see also Bug 97404 keyboard cursor lacks visibility in lists 
Comment 7 Huynh Huu Long 2009-03-14 16:42:10 UTC
SVN commit 939293 by huynhhuu:

Draw a focus rect on itemview items except for single selection
CCBUG: 168912

 M  +4 -2      oxygen.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=939293
Comment 8 Huynh Huu Long 2009-03-14 16:44:37 UTC
I couldn't test the patch with KMail (kdepim & kdesupport don't build), so it might not work there. I'd appreciate any feedback.
Comment 9 Thomas McGuire 2009-05-27 11:28:51 UTC
*** Bug 194169 has been marked as a duplicate of this bug. ***
Comment 10 Hugo Pereira Da Costa 2010-06-06 06:21:46 UTC
I confirm that focus indicator in treeviews is available, on option.
The option is systemsettings->appearance->style->configure->views->draw focus indicator. 

It is working. It is off by default, per design choice