[BUG?] - Ctrl-Left click on other panel selects TWO files
Moderators: Hacker, petermad, Stefan2, white
- XPEHOPE3KA
- Power Member
- Posts: 854
- Joined: 2006-03-03, 18:23 UTC
- Location: Saint-Petersburg, Russia
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I have tried that, but it doesn't seem to work with listboxes...Christian, what do you think of making inactive cursor visible?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2ghisler(Author)
I'm convinced you know which program I mean...
I have a program here where the inactive cursor in a listbox has a custom text color. It shouldn't be too difficult to change this to something that looks like an inactive cursor. The program uses custom drawing for the listbox.I have tried that, but it doesn't seem to work with listboxes...
I'm convinced you know which program I mean...
Re: [BUG?] - Ctrl-Left click on other panel selects TWO file
Yes, behaviour confirmed.chandragor wrote:Try this:
1) single click on any file in a file panel
2) Ctrl-left click any file on the other file panel
Now you have TWO files selected on the second panel, the one you clicked in step 2 and the one on which the cursor were before.
I don't now if this is a bug or not, but one can miss it if he has a long list of files and the two selected files are not both visible at the same time.
I'm using TC 6.54a.
And it is consistent with what TC does when you stay inside one single file panel and inside the same tab.
Ctrl+MouseClick always selects two files, unless you ctrl-click on the one file where the cursor already is located on.
So even without switching tabs or file panels inbetween, you may manage to scroll a long file list and select two files by ctrl-clicking on the second file without being able to see the first file.
There is no bug in this case.XPEHOPE3KA wrote:Yes, bug confirmed now.
I totally agree with Csimbi writing:
If I did not know better, I'd say, "Oh boy, this TC must be pretty perfect and flawless that people start looking for bugs where there are none."I like CTRL and SHIFT Click file selection.
Don't press those while clicking if You don't want them selected.
The behaviour of Ctrl+Click is consistent and works as designed. (And I do not care a damn if Windows Explorer behaves the same way or not. Explorer does a lot of things most TC users would not want to see implemented in TC.)
Kind regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
Double no-bug !
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
- XPEHOPE3KA
- Power Member
- Posts: 854
- Joined: 2006-03-03, 18:23 UTC
- Location: Saint-Petersburg, Russia
2Clo
2karlchen
You, guys, just don't understand why I call this a bug. This behaviour is Ok ONLY if I'm able see the inactive cursor. Don't mind if it can be scrolled out of sight or not, I want it be visible.
Now it is not visible. One Ctrl+Clicks on the other panel & get TWO files selected. "Why?!", would you think if you are a newbie. It is innatural, because you can't predict the other file to be selected if there's no inactive cursor (unless you are so brainy to remember its position each time
).
Gimme inactive cursor!
I'm falling ill for it 

And yes, I'm serious.
2karlchen
You, guys, just don't understand why I call this a bug. This behaviour is Ok ONLY if I'm able see the inactive cursor. Don't mind if it can be scrolled out of sight or not, I want it be visible.
Now it is not visible. One Ctrl+Clicks on the other panel & get TWO files selected. "Why?!", would you think if you are a newbie. It is innatural, because you can't predict the other file to be selected if there's no inactive cursor (unless you are so brainy to remember its position each time

Gimme inactive cursor!



And yes, I'm serious.
F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
Agree and support!XPEHOPE3KA wrote:2Clo
2karlchen
You, guys, just don't understand why I call this a bug. This behaviour is Ok ONLY if I'm able see the inactive cursor. Don't mind if it can be scrolled out of sight or not, I want it be visible.
Now it is not visible. One Ctrl+Clicks on the other panel & get TWO files selected. "Why?!", would you think if you are a newbie. It is innatural, because you can't predict the other file to be selected if there's no inactive cursor (unless you are so brainy to remember its position each time).
Gimme inactive cursor!I'm falling ill for it
And yes, I'm serious.

Use left !
2XPEHOPE3KA
Hello !
• I guess that you didn't understand that I explained in the other thread …
- Using the left-button, I NEVER get 2 files selected because the left button ALONE doesn't "select", it MARKS the file ! The marking is fleeting, as soon I click in the other panel, it's removed.
KR
Claude
Clo

• I guess that you didn't understand that I explained in the other thread …
- Using the left-button, I NEVER get 2 files selected because the left button ALONE doesn't "select", it MARKS the file ! The marking is fleeting, as soon I click in the other panel, it's removed.

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
I do understand you pretty well.XPEHOPE3KA wrote:2Clo
2karlchen
You, guys, just don't understand why I call this a bug. This behaviour is Ok ONLY if I'm able see the inactive cursor. Don't mind if it can be scrolled out of sight or not, I want it be visible.
Yet, a bug is not what you consider a bug, but a bug implies that a programme does not act as designed. But TC does as I explained.
You - and all those agreeing with you - are arguing in favour of a change. Nothing wrong with that. But then say so.
Still wondering why anybody should do so and expect only 1 file to be selected in the second file panel.chandragor wrote:1) single click on any file in a file panel
2) Ctrl-left click any file on the other file panel
Perhaps for all click-first-think-later-users the first ctrl-click in any file list should ignore the file under the cursor (be it visible or not) and only select the file you just ctrl-clicked on.
But this state (first-ctrl-click has happened) will be remembered no matter how often you switch between file panels or tabs.
Else any selection would always be lost once you switch to a different panel or tab and then return. And this definitely would be unexpected and annoying.
Karl
--
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
- XPEHOPE3KA
- Power Member
- Posts: 854
- Joined: 2006-03-03, 18:23 UTC
- Location: Saint-Petersburg, Russia
- chandragor
- Member
- Posts: 127
- Joined: 2005-06-01, 10:10 UTC
- Location: Italy
That is just why I wasn't really sure if it was a bug or not. Yet it can lead to some dangerous situations where, as I said, one has the current cursor on a file out of view, he Ctrl-clicks on a file in view and press DEL.... and he gets TWO files deleted instead of one. Yes, I know, he should have read the message box saying that TWO files are about to be deleted, but sometimes it happens to instinctively press Enter, especially if you are in a hurry.Orignally posted by karlchen
But this state (first-ctrl-click has happened) will be remembered no matter how often you switch between file panels or tabs.
Else any selection would always be lost once you switch to a different panel or tab and then return. And this definitely would be unexpected and annoying.
Whoever didn't inadvertently delete some precious files in all his life, he can throw the first stone....

And you obviously always do think-first-then-do, and you never are in a hurry, and you never do mistakes, isn't it?Perhaps for all click-first-think-later-users the first ctrl-click in any file list should ignore the file under the cursor (be it visible or not) and only select the file you just ctrl-clicked on.

We are not all alike, don't you know? And there are days where I'm smart, smarter than you, and others where I'm dumb, dumber than you, and accidents happens all the time, both to smart and to dumb people, and all we can do is try to prevent them as best as we can. That's all.
This is what I meant from the very first time:
I am working in a panel, then for whatever reason, I ctrl-click on the other panel. I didn't do ANYTHING before on this second panel, it is the first time I click on it, and it happens that the Ctrl-key is pressed. Then I have TWO files selected instead of one, and I cannot realize it if the previously selected file is out of view.
Is it a bug? Maybe. What I say is that it is a dangerous situation.
Can it be resolved easily? Maybe yes, maybe no. Maybe one should be paying more attention, but as I said before, accidents happen...
Happy owner of license #12422 since 1997
- chandragor
- Member
- Posts: 127
- Joined: 2005-06-01, 10:10 UTC
- Location: Italy
This is somehow what I wanted: keep selections and add the newly Ctrl-clicked file if there were other files selected, otherwise move the cursor on the Ctrl-clicked file and select it. It should be simple to implement it, IMHO.Ghisler wrote in another thread:
http://www.ghisler.ch/board/viewtopic.php?t=11037
If already other files are selected and the cursor stands on a not selected file, Ctrl+Clicking will NOT select that other file together with the file you clicked on.
Happy owner of license #12422 since 1997