Ctrl-click in list view working incorrectly
Forum rules
READ THIS AND DO IT!!!
Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
-
Statler
- Posts: 58
- Joined: 06 Jun 2006 09:38
- Location: Austria
Ctrl-click in list view working incorrectly
I try to select some random files in a folder using ctrl-click. When I hold down the control button and click on a random file, a dotted border is drawn around the first file in the list, but none is selected. It should select the file clicked - no matter if I hold ctrl or not.
-
jacky
- XYwiki Master
- Posts: 3106
- Joined: 23 Aug 2005 22:25
- Location: France
- Contact:
Re: Ctrl-click in list view working incorrectly
Ctrl+Selection actually works, but if focus was not on List then yes, the first click is "eaten" and only gives focus.Statler wrote:I try to select some random files in a folder using ctrl-click. When I hold down the control button and click on a random file, a dotted border is drawn around the first file in the list, but none is selected. It should select the file clicked - no matter if I hold ctrl or not.
Advantage: When you have a multi-selection, and the focus isn't on List, clicking it will only bring focus, but not loose your selection.
Proud XYplorer Fanatic
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Ctrl-click in list view working incorrectly
The first file is by default the focused file on a fresh list.Statler wrote:I try to select some random files in a folder using ctrl-click. When I hold down the control button and click on a random file, a dotted border is drawn around the first file in the list, but none is selected. It should select the file clicked - no matter if I hold ctrl or not.
See jacky's answer...
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Yes: I noted that Explorer does not set the focus to the control until the mouse is released when CTRL is held. This is a curious trick that I cannot emulate.Statler wrote:I reported this because the behavior is inconsistent with Windows Explorer.
But I'll try to come closer to it...
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Done! And I made it a little better than Explorer:admin wrote:But I'll try to come closer to it...
Code: Select all
* List: Now, when CTRL is held, the focus is set *immediately* to
the clicked item on MouseDown. As before, on releasing the mouse
button (MouseUp), the selection state is toggled.
Note that this works also if the List itself receives the focus
through this click.
PS: I'll be gone till sunday... patience...
FAQ | XY News RSS | XY X
XYplorer Beta Club