Configuration - Options - Display: New option "Append \"

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

Moderators: sheep, Hacker, Stefan2, white

Post Reply
User avatar
Stefan2
Power Member
Power Member
Posts: 3038
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Configuration - Options - Display: New option "Append \"

Post by *Stefan2 »

To discuss:


Check boxes
[_] Show brackets ____ [x] Append \

should be radio buttons
(_) Show brackets ____ (o) Append \

since that are alternative options, ... isn't it? :wink:





 
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 39980
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Configuration - Options - Display: New option "Append \"

Post by *ghisler(Author) »

Well, yes and no - there is a third option: Unchecking BOTH. You cannot do this with radio buttons. :(
Author of Total Commander
http://www.ghisler.com
umbra
Power Member
Power Member
Posts: 809
Joined: 2012-01-14, 20:41 UTC

Re: Configuration - Options - Display: New option "Append \"

Post by *umbra »

One could think about additional ways of distinguishing folders, e.g. using a bold font for their names. And than this could be turned into a combobox with options "Show like files", "Surround by square brackets", "Append '\'", "Use bold font", ...
Windows 7 Pro x64, Windows 10 Pro x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 39980
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Configuration - Options - Display: New option "Append \"

Post by *ghisler(Author) »

Yes, but the problem is that users could then want both bold font AND appended backslash.
Author of Total Commander
http://www.ghisler.com
umbra
Power Member
Power Member
Posts: 809
Joined: 2012-01-14, 20:41 UTC

Re: Configuration - Options - Display: New option "Append \"

Post by *umbra »

Just like they might want to have both brackets and the backslash :)
You decided that you wanted to provide mutually exclusive options so I suggested a way to make it more obvious. If you decided to allow also their combination, I'd be fine with that too. And in that case, checkboxes would make more sense.

Anyway, I'm not pushing for changing it. This type of UI behavior is common in TC so users sooner or later get used to it.
Rant:
Show
I guess it is a pet peeve of mine, but I just really don't like misusing UI controls for what they obviously were not meant for. Like mutually exclusive checkboxes instead of radio buttons or comboboxes, scrollbars instead of spinners, combinations of buttons instead of splitbuttons, etc.
It's not what people expect and bug reports like this one just prove it. Plus it must be pretty time consuming to make sure, it looks reasonably good on different OS versions, themes, ...
Windows 7 Pro x64, Windows 10 Pro x64
User avatar
Dalai
Power Member
Power Member
Posts: 7310
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Configuration - Options - Display: New option "Append \"

Post by *Dalai »

ghisler(Author) wrote:
2019-10-16, 19:34 UTC
Well, yes and no - there is a third option: Unchecking BOTH. You cannot do this with radio buttons. :(
Uh, why not?

Code: Select all

( ) None   (o) Show brackets    ( ) Append backslash
Yes, it's not the most space-saving method to show such options, but it's possible. When adding bold font, it gets ugly with radio buttons, I agree, but a drop-down menu (combobox) listing the various combinations could solve that.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups
User avatar
petermad
Power Member
Power Member
Posts: 9848
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Configuration - Options - Display: New option "Append \"

Post by *petermad »

2ghisler(Author)
Well, yes and no - there is a third option: Unchecking BOTH.
It would be nice yo be able to also CHECK both - I would use that, but not the "Append \" option
License #524 (1994)
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (2004) 64bit, 'Everything' 1.4.1.992 (x64)
TC 3.10 on Android 6.0
Get:
Extended TC Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 9848
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Configuration - Options - Display: New option "Append \"

Post by *petermad »

05.11.19 Fixed: Added: Allow to check both "Show square brackets [] around directories" and "Append \" if the second one is checked first (DirBrackets=3 in wincmd.ini) (32/64)
Nice addition - thanks - but the implementation is a little confusing:

If "Show square brackets [] around directories" is enabled and "Append \" is disabled and I click "Append \" then "Show square brackets [] around directories" gets disabled - and I have to click "Show square brackets [] around directories" once again to enable both.

If on the other hand "Show square brackets [] around directories" is disbled and "Append \" is enabled and I click "Show square brackets [] around directories" - then "Append \" stays enabled.

The logical thing would be that both options can be toggled on and off without affecting the setting of the other option.
License #524 (1994)
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (2004) 64bit, 'Everything' 1.4.1.992 (x64)
TC 3.10 on Android 6.0
Get:
Extended TC Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 39980
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Configuration - Options - Display: New option "Append \"

Post by *ghisler(Author) »

I did this on purpose, because it looks really strange with both enabled.
Author of Total Commander
http://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 9848
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Configuration - Options - Display: New option "Append \"

Post by *petermad »

But I think there is a risk that many users never realize that both options in fact can be turned on at the same time...
License #524 (1994)
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (2004) 64bit, 'Everything' 1.4.1.992 (x64)
TC 3.10 on Android 6.0
Get:
Extended TC Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
MVV
Power Member
Power Member
Posts: 8546
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Configuration - Options - Display: New option "Append \"

Post by *MVV »

I personally detect folders by their icons, with no extra text around their names. :D
User avatar
Phred
Senior Member
Senior Member
Posts: 312
Joined: 2009-06-16, 15:24 UTC
Location: SEAu

Re: Configuration - Options - Display: New option "Append \"

Post by *Phred »

petermad wrote:
2019-11-07, 12:26 UTC
But I think there is a risk that many users never realize that both options in fact can be turned on at the same time...
Being a left-to-right reader, I'm one. [raises hand\]
Regards, PhredE
Licence holder since 1999
Awaiting a $D donors token for the title-bar so we can display that we have contributed further.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 39980
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Configuration - Options - Display: New option "Append \"

Post by *ghisler(Author) »

But I think there is a risk that many users never realize that both options in fact can be turned on at the same time...
That's actually my intention. :)
Author of Total Commander
http://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 9848
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: Configuration - Options - Display: New option "Append \"

Post by *petermad »

That's actually my intention. :)
OK - :D
License #524 (1994)
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (2004) 64bit, 'Everything' 1.4.1.992 (x64)
TC 3.10 on Android 6.0
Get:
Extended TC Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply