-[TC8.5b15 and rc1] Search files->Find Text->ANSI Char

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
HAL 9000
Senior Member
Senior Member
Posts: 384
Joined: 2007-09-10, 13:05 UTC

-[TC8.5b15 and rc1] Search files->Find Text->ANSI Char

Post by *HAL 9000 »

Cosmetic, but confusing - ANSI Charset checkbox in Search files/Find text looks (when nothing else is checked) like it can be un-selected - but it can't.

When everything else is un-selected then this checkbox should be "checked but grayed out"! Because since at least one of options must be selected (in this case DOS/Windows/Unicode/UTF/Office charset..) that's not the reason for checkbox to look clickable when infact it is not.. :\ It is very confusing this way...
Last edited by HAL 9000 on 2014-01-23, 15:26 UTC, edited 2 times in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Actually it CAN be unchecked when at least one of the other encodings is checked, e.g. Unicode. If you could unckeck them all, then TC wouldn't find anything. Graying out would also be confusing for the user.
Author of Total Commander
https://www.ghisler.com
HAL 9000
Senior Member
Senior Member
Posts: 384
Joined: 2007-09-10, 13:05 UTC

Post by *HAL 9000 »

It should be "clickable" when other options are selected but as soon as user unselects all other charsets --> ANSI should disable itself to mentioned "checked but grayed-out" state...
I'm a programmer for 15+ years now and I'm pretty sure it is not correct for checkbox to look clickable (*not* grayed-out) when infact clicking on it does nothing (it remains selected).

EDIT: correction, under "checked but grayedout" I meant "checked but disabled" state. This clearly indicates that this option is selected and that it can't be changed unless user selects at least one other option (charset in this case...)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, but it becomes grayed when disabled, so the user may think that the option isn't available for some reason...
Author of Total Commander
https://www.ghisler.com
HAL 9000
Senior Member
Senior Member
Posts: 384
Joined: 2007-09-10, 13:05 UTC

Post by *HAL 9000 »

..? ..and it is true - it isn't. At least until other charset is "checked". I don't see the problem there. That is correct and logical behaviour, it is not available because it is selected by default (seen by the checkbox "under" grayed option) and when user select another charset it can be available again.
I browsed through options of some standard programs and found example with this exact behaviour that I'm describing. For example, in nVidia Control Panel under "setup multiple displays" - I have monitor and my TV hooked up all the time but as standard setting I only use single display (monitor). There are two checkboxes, my monitor is checked *and disabled* and right under it there is unchecked TV checkbox. When I check it (TV) both checkboxes are checked and enabled.
And this current TC8.5b15 "checkbox is there and enabled but I can't uncheck it" behaviour I have never ever seen before... First time I saw this I was clicking on this ANSI checkbox like mad thinking TC crashed and stayed frozen on screen.. :(
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, I prefer to keep it as it is now.
Author of Total Commander
https://www.ghisler.com
Post Reply