?Icons disappearing in tab headers

Bug reports will be moved here when the described bug has been fixed

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:

?Icons disappearing in tab headers

Post by *Lefteous »

*Sometimes* the previously shown icons in tab headers disappear and just nothing is shown instead. The tab header width remains unchanged - the space for the icons is still reserved.

Sorry, I couldn't find the steps to reproduce so far. Will provide a screenshot as soon as possible. I can just just say that it happened multiple times so far.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Hmm, never seen that for the last few months - may have something to do with your view mode configuration. Could you post or mail it, please?
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 »

Unfortunately I didn't save the view mode config when it happended. I could not reproduce it anymore. I will of course report if I can reproduce it again.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, please do! I have never seen this problem, so it may be your special settings causing it.
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 »

I finally was able to make a screenshot (TC 9 , beta 3). Unfortunately I still cannot provide exact steps to reproduce but I have some more information though.
[img]http://fs5.directupload.net/images/160705/cjrm56vt.png[/img]

Beside the icon the tab header color is also not set. Settings like sorting and columns are set.

When the described error states has been reached I can not even manually load another view mode correctly.

This is the view mode definition

Code: Select all

3_name=Suchergebnis
3_icon=shell32.dll,22
3_options=8|-1|0||65280|-1|-1
Creating another TC instance based on the current TC configurations displays the view modes just fine :roll:
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I couldn't reproduce this problem so far. Please let me know whether it still happens with beta 4 or not.
Author of Total Commander
https://www.ghisler.com
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

I also faced this problem before without success finding what's the reason but after deep investigation i found that it is some how related to cm_ToggleAutoViewModeSwitch

To reproduce
1- Start TC with the following settings
2- Execute cm_ToggleAutoViewModeSwitch
3- Now each tab will lost its view mode when activating


BTW: any tab preserve its view mode if it is activated before executing cm_ToggleAutoViewModeSwitch

It is occur in TC 9.0 ß5 x32 & x64

Code: Select all

[Configuration]
UseNewDefFont=1
firstmnu=2170
SeparateTree=0
PanelsVertical=0
Aligned extension=1
test=254
[FileSystemPlugins64]
$checksum$=3014672

[left]
path=c:\Windows\System32\
ViewMode=4
activepanelcolor=16579817
activepanelcolor2=16381121
ShowAllDetails=1
SpecialView=0
show=1
sortorder=0
negative Sortorder=0

[right]
path=c:\
ViewMode=0
activepanelcolor=-1
activepanelcolor2=-1
ShowAllDetails=1
SpecialView=0
show=1
sortorder=0
negative Sortorder=0

[ViewModes]
0_name=<default>
0_icon=
0_options=-1|-1|0||-1|-1|-1
1_name=1
1_icon=shell32.dll,130
1_options=-1|-1|0||16740378|16772332|16769505
2_name=2
2_icon=shell32.dll,24
2_options=-1|-1|0||32768|15794160|14876641
3_name=3
3_icon=shell32.dll,220
3_options=-1|-1|0||0|15724527|14079702
4_name=4
4_icon=shell32.dll,223
4_options=-1|-1|0||16776960|16579817|16381121

[lefttabs]
0_path=c:\Windows\
0_options=1|0|0|0|0|0|0||16740378,16772332,16769505|1
1_path=c:\Program Files\
1_options=1|0|0|0|0|0|0||32768,15794160,14876641|2
2_path=c:\Program Files\Internet Explorer\
2_options=1|0|0|0|0|0|0||0,15724527,14079702|3
activetab=3
activetabcolor=16776960
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2ts4242
Thanks for all the detailed information. I could reproduce it immediately.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Hmm, that doesn't make much sense - you enable auto mode switches without and rules defined. TC then falls through to the default rule, which is "Set the default view mode".

For now I have disabled auto mode switching when going to other tabs and the list of view mode rules is empty. But I doubt that this is the real problem the thread started had...
Author of Total Commander
https://www.ghisler.com
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

Fixed in TC 9 b6

There is something still need to fix, i have started new thread http://ghisler.ch/board/viewtopic.php?p=313371
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 doubt that this is the real problem the thread started had...
Yes sorry you are right. It's just the default view mode which is activated. I really hoped someone else could reproduce it finally.

The original report includes a program state where view mode no longer affects color and icon of the tab header - not even manually. It's really a different story.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

But how can I reproduce that problem from the original report? So far I failed to reproduce it.
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 »

It would be great if you provide some kind of debug log mode for this specific problem. I do have the problem on very different machines and installations and I think it's somehow connected to running a TC instance for quite some time.
Post Reply