Marquee box doesn't detect file selection accurately...

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: 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%).

:info: We 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.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
TsunamiZ
Posts: 275
Joined: 11 Jul 2005 07:36

Marquee box doesn't detect file selection accurately...

Post by TsunamiZ »

Marquee selection box doesn't detect file selection accurately at the end of long filenames. Can this be fixed?

In this screenshot, the .dll file should be highlighted when the marquee touches the file. But it isn't working properly...
Image

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Marquee box doesn't detect file selection accurately...

Post by TheQwerty »

Cannot reproduce that here.

TsunamiZ
Posts: 275
Joined: 11 Jul 2005 07:36

Re: Marquee box doesn't detect file selection accurately...

Post by TsunamiZ »

btw: im on xy 9.0, win7 x64. also have autosize columns set and in list view mode.

TsunamiZ
Posts: 275
Joined: 11 Jul 2005 07:36

Re: Marquee box doesn't detect file selection accurately...

Post by TsunamiZ »

Also, noticed the opposite happening here on short file names. Notice the files highlight before the marquee touches the files. Seems to be very inconsistent behavior...
Image

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Marquee box doesn't detect file selection accurately...

Post by TheQwerty »

Vista x64, XY v9.00.0010, list view, auto-size columns. Still cannot reproduce.

TsunamiZ
Posts: 275
Joined: 11 Jul 2005 07:36

Re: Marquee box doesn't detect file selection accurately...

Post by TsunamiZ »

perhaps lets see if someone can reproduce this on windows 7...

TsunamiZ
Posts: 275
Joined: 11 Jul 2005 07:36

Re: Marquee box doesn't detect file selection accurately...

Post by TsunamiZ »

i just tested this some more. this time i downloaded a fresh portable XYplorer 9.00.0010 with default settings. the problems happens in list view mode. i didn't change any other settings.

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Marquee box doesn't detect file selection accurately...

Post by zer0 »

I do seem to be able to reproduce something resembling this bug on Win 7...

Say I have one file in a folder and the list is sorted by name. It's enough for me to make it so even a tiny part of selection marquee enters that column and that file becomes selected without actually being selected. With "Full Row Select" it is even worse as marquee entering any of the columns -- not just by which a list is sorted -- causes selection.

In a list with multiple files, the bottom one gets selected if marquee box is created in the white space below the file list.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

admin
Site Admin
Posts: 65246
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Marquee box doesn't detect file selection accurately...

Post by admin »

TsunamiZ wrote:Marquee selection box doesn't detect file selection accurately at the end of long filenames. Can this be fixed?

In this screenshot, the .dll file should be highlighted when the marquee touches the file. But it isn't working properly...
Image
This is a feature. The List view deliberately preserves 20 pixels width at the right of each column for easier drag-selecting of items (without triggering a drag). I decided this years ago but I think it has never been discussed nor documented. Up to now nobody has complained.

admin
Site Admin
Posts: 65246
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Marquee box doesn't detect file selection accurately...

Post by admin »

zer0 wrote:I do seem to be able to reproduce something resembling this bug on Win 7...

Say I have one file in a folder and the list is sorted by name. It's enough for me to make it so even a tiny part of selection marquee enters that column and that file becomes selected without actually being selected. With "Full Row Select" it is even worse as marquee entering any of the columns -- not just by which a list is sorted -- causes selection.

In a list with multiple files, the bottom one gets selected if marquee box is created in the white space below the file list.
Confirmed. This is an artifact of my otherwise perfect drag-selection algorithm which I could not fix without sacrificing lots of performance (with a 10% chance that I'm just having a selective blindness for the obvious fix). I decided to live with it.

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Marquee box doesn't detect file selection accurately...

Post by zer0 »

admin wrote:Confirmed. This is an artifact of my otherwise perfect drag-selection algorithm which I could not fix without sacrificing lots of performance (with a 10% chance that I'm just having a selective blindness for the obvious fix). I decided to live with it.
I'm not sure if it is appropriate to live with it. Files becoming selected without actually being selected -- at least on the face of it -- doesn't sound right at all. While slower performance isn't a good thing -- how much are we talking about in terms of metrics? -- it's not a bug, whereas files being selected without an explicit command is. Striving for performance shouldn't have to allow for cutting corners like that.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

admin
Site Admin
Posts: 65246
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Marquee box doesn't detect file selection accurately...

Post by admin »

zer0 wrote:
admin wrote:Confirmed. This is an artifact of my otherwise perfect drag-selection algorithm which I could not fix without sacrificing lots of performance (with a 10% chance that I'm just having a selective blindness for the obvious fix). I decided to live with it.
I'm not sure if it is appropriate to live with it. Files becoming selected without actually being selected -- at least on the face of it -- doesn't sound right at all. While slower performance isn't a good thing -- how much are we talking about in terms of metrics? -- it's not a bug, whereas files being selected without an explicit command is. Striving for performance shouldn't have to allow for cutting corners like that.
I fixed it. :)

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Marquee box doesn't detect file selection accurately...

Post by zer0 »

admin wrote:I fixed it. :)
Now if only you told me when you were in London I would have bought you a pint of the finest ale in Her Majesty's land! Thank you sir 8)
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

TsunamiZ
Posts: 275
Joined: 11 Jul 2005 07:36

Re: Marquee box doesn't detect file selection accurately...

Post by TsunamiZ »

so this is a feature...
Image

but this is fixed...
Image

is that correct?

admin
Site Admin
Posts: 65246
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Marquee box doesn't detect file selection accurately...

Post by admin »

TsunamiZ wrote:so this is a feature...
Image

but this is fixed...
Image

is that correct?
Uhm, I think yes. Not that sure what you mean. I'm used to be addressed in full sentences... :wink:

Post Reply