Multi Commander Support Forum

Multi Commander => Support and Feedback => Topic started by: halifax80 on January 24, 2017, 22:45:07

Title: Selecting 2 files + right-click selects 3rd file
Post by: halifax80 on January 24, 2017, 22:45:07
I noticed a confusing but not fatal behavior in MC. Here is the way to reproduce it:


I'm not sure if I miss something here but the expected behavior would be to never show File3 selected because the user never selected it. Showing File3 as selected suggests the user that the operation in the Windows context-menu will be carried out on 3 files although the user has only selected 2 files.
Sorry if this is a duplicate post but it was very hard to come up with keywords to search for a similar post.
Title: Re: Selecting 2 files + right-click selects 3rd file
Post by: Mathias (Author) on January 25, 2017, 08:13:08
I'm not able to recreate that.
What default key/mouse setup are you using  WinExplorer Styled or CommanderStyled ?
Have you done any special customization around mouse/key / selection ?

Normally when you right click on an item that item would also be the item in focused
So if "cursor" (item in focus) is on file3 and you right click on file1 then focus should have moved to file1 and it then should make sure it was selected.
Also by default if you select using the 'insert' key it will go to next and select it. so it should have selected File3 or have you change how the default 'insert' action work ?
Title: Re: Selecting 2 files + right-click selects 3rd file
Post by: halifax80 on January 25, 2017, 19:34:02
I looked at the problem more closely and I have a more streamlined example:
I made an animgif of case 2 below to show you what happens. It shows the events in the order I described them above.
I use CommanderStyled setup. I can make a backup of my config and send you one or more XML files from inside the backup ZIP file. Which XML file do you need? I don't want to send my full config publicly or privately.

Title: Re: Selecting 2 files + right-click selects 3rd file
Post by: Mathias (Author) on January 25, 2017, 22:06:00
It might be that you changed some config or mouse action that creates a conflict. Because normally with commander styled you do not have context menu on right click. (it is on right click and hold and on right button double click, since toggle selection is on right button)
But whatever I configure it to, I don't find any issue, so must be in combination with some other setting

Try to download the portable version (Just unpack into any folder and run, it is using its own separate config and will not mess with installed) and see if the default commander styled setup works for you. If it does configure the keys and mouse like you done and see when it break.

Title: Re: Selecting 2 files + right-click selects 3rd file
Post by: halifax80 on January 27, 2017, 14:09:09
I could reproduce the problem fairly easily:
Title: Re: Selecting 2 files + right-click selects 3rd file
Post by: AlanJB on January 27, 2017, 16:34:50
Quote
I could reproduce the problem fairly easily:

I cannot reproduce this.

I followed your download & setup instructions exactly, navigated into a folder with 8 text files in, then:

Action: down-arrow to File2 & hit Insert
Result: File2 is selected, File3 has focus (as expected)

Action: right-click File2
Result: File3 loses focus & context menu opens (as expected)

Action: select "Edit" from the context menu
Result: only File2 remains selected & editor opens File2 only (as expected)