Page 1 of 1

A small enhancement request

Posted: Fri Apr 02, 2021 8:59 pm
by Alexo
Currently when I delete a file from the directory comparison view, the file selection is cleared. This is inconvenient for keyboard operation.
Instead please select the following file (or the last one remaining in case the last one was deleted)

Thank you.

Re: A small enhancement request

Posted: Mon Apr 05, 2021 3:50 pm
by psguru
I'm not sure. What, for example, should happen if the next item is blank (a placeholder for the real item in the opposite pane)? Should it be selected? If not, the rules may quickly become non-intuitive.

Also, in some cases, based on the user options, a blank folder is shown if a deleted item was the last one in the folder. Should it be selected?

Re: A small enhancement request

Posted: Mon Apr 05, 2021 5:17 pm
by Alexo
There is no such thing as one size fits all. It can easily be made configurable with different behaviours, for example:
- Select the next (or last) file
- Select the next (or last) line -- same as pressing down-arrow
- Do not select anything -- current behaviour

The problem with the current behaviour is that it makes keyboard-only operation impractical. When there are many files to go through, constantly moving the hand between keyboard and mouse is annoying and slows me down.

Re: A small enhancement request

Posted: Mon Apr 05, 2021 5:42 pm
by psguru
I'd prefer not to have a new option, we have too many already. So if we were to do it, it's have to be one default behavior.

Re: A small enhancement request

Posted: Mon Apr 05, 2021 5:46 pm
by Alexo
If your objection is the clutter of the options screens, you could always make it registry-controllable.

Re: A small enhancement request

Posted: Mon Apr 05, 2021 6:35 pm
by psguru
Again, rather not.

Re: A small enhancement request

Posted: Mon Apr 05, 2021 8:20 pm
by Alexo
In which case, I believe the same behaviour as down-arrow would be the less confusing option.

Re: A small enhancement request

Posted: Tue Apr 06, 2021 3:44 pm
by psguru
We'll try to include this change in the next build.

Re: A small enhancement request

Posted: Tue Apr 06, 2021 7:43 pm
by Alexo
Thanks!

Re: A small enhancement request

Posted: Wed Apr 07, 2021 9:02 pm
by Alexo
Bug: Instead of moving one line down, the selection moves two lines down.

For example:

Code: Select all

  1
  2
 [3]
  4
  5
  6
  7
After deleting [3]:

Code: Select all

  1
  2
  4
 [5]
  6
  7

Re: A small enhancement request

Posted: Thu Apr 08, 2021 8:56 am
by psguru
Yes, this scenario is not handled well.

I'm not enjoying doing this but after giving it some more thought we decided to remove this change. There is no way to handle different scenarios without impacting performance or memory footprint, and neither can be sacrificed in order to add this feature.

Re: A small enhancement request

Posted: Thu Apr 08, 2021 4:09 pm
by Alexo
That is unfortunate.

I often need to compare large lists of files. Some of them get updated, others merged, and yet other deleted based on vague criteria that cannot be automated. If I remember correctly the previous version would scroll to the top of the list on deletion, losing the place and the context. It really is annoying.

Would selecting to the previous line instead of the next one be easier? The lines before the deleted element should not be affected by the deletion.

Re: A small enhancement request

Posted: Thu Apr 08, 2021 4:16 pm
by psguru
No, unfortunately it wouldn't. What I said still stands, no matter how you slice it. Our general approach is not to add features that are not widely requested if it involves making user experience for the majority of users worse.