"Sort folders as files" on Splitter brakes itself

Bugs and issues.
Post Reply
Message
Author
User avatar
Forez
Posts: 1358
Joined: 30.01.2016, 12:05
Location: In front of a PC monitor

"Sort folders as files" on Splitter brakes itself

#1 Post by Forez » 03.02.2023, 13:50

I have just put on my Splitter an icon with the "Sort folders as files" description. And I can turn it ON by clicking on it, by I am unable to turn it OFF. In order to get rid of this peculiar sort order I need to right click on an emty space in a Panel and navigate to the Sort by nested entries. But even if click there that Sort folders as files option and get return to the default behavior, the highlight color added to the icon ion the Splitter does not go away- thus I have to close and re-open FreeCommander

If I recall correctly, a long time ago I reported a similar bug, concerning Splitter and highlight indicator - and it got taken care off



I am using FreeCommander version 880 32-bit public on Windows 10 Enterprise 20H2 19042.746 x64
Last edited by Forez on 29.03.2023, 17:05, edited 1 time in total.

Marek
Author
Author
Posts: 4015
Joined: 10.04.2006, 09:48
Location: Germany
Contact:

Re: "Sort folders as files" on Splitter brakes itself

#2 Post by Marek » 06.02.2023, 19:34

If the button is to be used as a switch, then an "Group index" must be defined for this button.
It is a group with one element, the index must be unique. Use values for your indexes > 1000.
Check "Details for a toolbar item".

User avatar
Dreamer
Site Admin
Posts: 6163
Joined: 19.08.2007, 23:40

Re: "Sort folders as files" on Splitter brakes itself

#3 Post by Dreamer » 06.02.2023, 22:37

I tried to use it for the splitter button Quick view, but the maximum index value is 1000, if I add higher value, it's changed back to 1000.

When using it for Quick View, value 1000 or 999 works when clicking the button with mouse, but when using Ctrl+Q shortcut, it does not work, so the highlight state could be wrong.

Anyway, value 10 for the Plain view works good when using mouse and keyboard shortcut Ctrl+B.

Is it possible to do the same for quick view too? (Now I think it's a bit OT.)

User avatar
Forez
Posts: 1358
Joined: 30.01.2016, 12:05
Location: In front of a PC monitor

Re: "Sort folders as files" on Splitter brakes itself

#4 Post by Forez » 07.02.2023, 10:41

But how is a user suppose to know, which Group Index to choose? Just pick any number which is not already in use? If yes- then where is a list of used Group Indexes; and / or could not FC do it automatically?

User avatar
Forez
Posts: 1358
Joined: 30.01.2016, 12:05
Location: In front of a PC monitor

Re: "Sort folders as files" on Splitter brakes itself

#5 Post by Forez » 04.04.2023, 13:26

So if back then I understood this correctly and also now this one https://freecommander.com/forum/viewtopic.php?t=3491 plus the explanation from https://freecommander.com/fchelpxe/en/D ... lbars.html which says:
Group index

If several items of a toolbar have the same group index, only one of them can be active at the same time.
Example: In a panel either the "List view" or the "Details view" can be active. Therefore the items "List" and Details" have to have the same group index. An item with group index "0" is independent of the other items. It acts as a function button (e.g. "Unpack...") or an on/off button ("File system tree panel" on/off) and not as a switch button ("List view").
then: I should assign to each button on my Splitter a difference value of Group Index in order to have them work without connection to others options / shortcuts?


After changing Group Index of this "Sort folders as files" to 999 it now works A-OK. But I still do not know
Forez wrote: 07.02.2023, 10:41 [...]
where is a list of used Group Indexes
[...]
The only value of 999 that I found in my

FreeCommander\Settings

folder was that for

Code: Select all

RenameOnClickPeriode=
but there were no other entries with such name. Thus the quesion: so where is 999 stored at, along with other Group Index values?

User avatar
Forez
Posts: 1358
Joined: 30.01.2016, 12:05
Location: In front of a PC monitor

Re: "Sort folders as files" on Splitter brakes itself

#6 Post by Forez » 14.06.2023, 13:55

Well
Forez wrote: 07.02.2023, 10:41 [...]
how is a user suppose to know, which Group Index to choose?

And
Forez wrote: 07.02.2023, 10:41 [...]
where is a list of used Group Indexes
[...]
stored at?

User avatar
Forez
Posts: 1358
Joined: 30.01.2016, 12:05
Location: In front of a PC monitor

Re: "Sort folders as files" on Splitter brakes itself

#7 Post by Forez » 19.12.2023, 23:13

?

User avatar
Forez
Posts: 1358
Joined: 30.01.2016, 12:05
Location: In front of a PC monitor

Re: "Sort folders as files" on Splitter brakes itself

#8 Post by Forez » 18.04.2024, 14:11

It has been well over a year and I still do not have an answer to somewhat simple question about that Group Index thing

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests