Vista: Wrong tree expand/collaps icons

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Vista: Wrong tree expand/collaps icons

Post by *Lefteous »

TC shows wrong expand/collaps icons in seperate and normal tree views on Windows Vista.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Can you post a screenshot, please? I didn't notice any anomalies when I last was in Vista. I'm using the Theme API to draw the icons, and it worked well both on XP with various themes, and Vista.
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

Some more information:

- The problem only occurs using the new Aero visual style.
- The Vista Explorer slowly fades the node icons in/out when the moves the cursor over/away from the tree.
- There are some new functions in the Theme API introduced in Windows Vista.
- I guess Vista shows these icons (they look like the icons used in the Windows XP theme) for compatibility reasons.

Here are two screenshots:
http://www.lefteous.de/tc/beta7/bugshots/vista_tree_icon_explorer.png
http://www.lefteous.de/tc/beta7/bugshots/vista_tree_icon_tc.png


BTW: The trees almost show the same part of the disk :roll:
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Total Commander just asks for the "Treeview" theme and then draws the TVP_GLYPH part either with option GLPS_OPENED or GLPS_CLOSED.

It seems that Vista Explorer does not use the standard tree view, otherwise it would draw the same images as TC does.
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

Well it really is a Standard treeview (SysTreeView32 windows class) but doesn't mean there are no additions to this component and the style API.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Well, if Microsoft have decided to draw some custom image instead of using the theme api, then I cannot do anything to show the same...
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2ghisler(Author)
I guess it's _not_ my job to find out if Microsoft offers third party applications to display the tree-view in the same way as in Explorer.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Of course not, I'm just telling you that I'm using the normal theme APIs. If the Explorer doesn't, then it's not my problem.
Author of Total Commander
https://www.ghisler.com
Post Reply