Page 1 of 1

Alt+Left and Alt+Up works as Escape?

Posted: 28 Aug 2018 22:41
by John_C
I don't know is it a bug or a feature, but here it is:

When I enter to some folder with a lot of images in inside it (using "thumbnails" view), the thumbnails starts generating.

I can stop them from it by pressing Escape - everything OK and logical here (see "menu > Customize Keyboard Shortcuts" - and you will see that Escape key is binded to "Stop" command - #1000).

However, if I press Alt+Left or Alt+Up - it works exactly the same. The first Alt+Left press stops thumbnails generation and only the second Alt+Left press brings me back.
  • Is it a bug or a feature?
  • Is there way to workaround it?
Win7 Service Pack 1, XYplorer 19.10

Re: Alt+Left and Alt+Up works as Escape?

Posted: 29 Aug 2018 14:17
by John_C
Hey, does anybody have the same XYplorer behaviour?

Re: Alt+Left and Alt+Up works as Escape?

Posted: 29 Aug 2018 21:16
by klownboy
Users could have Alt+Left or Alt+Up assigned to different actions as I do. Go to the menu Tools | Customized Keyboard Shortcuts and then click in the "Press new shortcut" box. Then press Alt+ Left and then Alt+Up. XYplorer will display how they are currently assigned. By default in a fresh instance, they may be "go back" and "go up a level".

Re: Alt+Left and Alt+Up works as Escape?

Posted: 30 Aug 2018 01:31
by John_C
klownboy wrote:Users could have Alt+Left or Alt+Up assigned to different actions as I do. Go to the menu Tools | Customized Keyboard Shortcuts and then click in the "Press new shortcut" box. Then press Alt+ Left and then Alt+Up. XYplorer will display how they are currently assigned. By default in a fresh instance, they may be "go back" and "go up a level".
Yeah, I know. I tested it on clean install. They assigned to "Go Back" and "Go Up" - and nothing more. However, they work as I described. That's why I posted this question here.

Re: Alt+Left and Alt+Up works as Escape?

Posted: 30 Aug 2018 11:13
by klownboy
Alright then, I wanted to ensure first that you had the default settings for those keyboard combinations. I set up a folder with some new photos and let XY start generating the thumbnails. I used my backspace key which is set for "Go Back". The first press of backspace stopped thumbnail generation and the second press went back to my previous folder. Since we are interrupting in-progress thumbnail generation, that's what I would expect to happen. Don set the Escape key to stop the generation. I'm not sure what you'd expect for Go Back. To immediately Go Back on the first press? Thumbnail generation has to be performed in the current folder (i.e., it can't be done in the background). XYplorer can't continue generating thumbs and also go back. So I think it's reasonable for XYplorer to first stop the current operation and then go back on the next press, but Don should confirm.

Re: Alt+Left and Alt+Up works as Escape?

Posted: 30 Aug 2018 12:23
by John_C
The first press of backspace stopped thumbnail generation and the second press went back to my previous folder.
Well, it's not correct behaviour from my point of view, and Windows Explorer doesn't behaves in such manner either.
Since we are interrupting in-progress thumbnail generation, that's what I would expect to happen.
Yes, the thumbnails generation was interrupted _by the program_, but what _we_ actually want? We say: "Dear program, please, go back to previous folder, because we pressed Alt+Left". Instead, we are forced to repeat it twice, as for the stubborn person.
Don set the Escape key to stop the generation.
Everything is correct with Escape button, it works as expected. I arguing about Alt+Left and Alt+Up behaviour.
I'm not sure what you'd expect for Go Back. To immediately Go Back on the first press?
Yes, exactly. I expect going back, without repeating this request twice.
XYplorer can't continue generating thumbs and also go back. So I think it's reasonable for XYplorer to first stop the current operation and then go back on the next press ...
From my point of view, the possible fix is quite easy:

Step 1. When user press Alt+Left or Alt+Up or something similar, XYplorer should check if it has thumbnails generation in the current moment of time.

Step 2.
  • If "no" - then just perfrom requested action.
  • If "yes" - then stop thumbnails generation and then immediately perform requested action.
Of course, I understand, implementation is always harder then theory.

Re: Alt+Left and Alt+Up works as Escape?

Posted: 30 Aug 2018 14:14
by klownboy
Yes, I see your point, but I can also see nothing really abnormal in having the first press act as Escape currently does to stop the current action and the second press perform the desired action. It would be up to Don to decide whether it's worth the effort to combine the 2 actions into one. I say that because I'm sure there are numerous key combinations involved that would have to be updated to check if a thumbnail creation was in progress, stop it, and then perform the desired action all in one stroke. I don't stop thumbnail creation very often, if at all, to have an opinion that counts. :)

Re: Alt+Left and Alt+Up works as Escape?

Posted: 07 Sep 2018 16:27
by admin
It's (kind of) a feature. It's a polite way to remind you to press ESC next time when you want to quit an operation before it's completed. It makes you a better user. :)

Re: Alt+Left and Alt+Up works as Escape?

Posted: 08 Sep 2018 12:51
by John_C
admin wrote:It's a polite way to remind you to press ESC next time when you want to quit an operation before it's completed. It makes you a better user. :)
Well :lol: When I faced with this behavior, it looked (and still looks) like something very weird for me. I understand that this behavior could be just a consequence of technical limitations of VB6 and single-threading. But if there are no technical limitations to eliminate this "feature" - I would be glad to see it was eliminated. Because, from UI-centric point of view, I strongly disagree about its usefulness or correctness. :) I believe that for general user, who haven't read this thread, current behavior is looks like "eh? what? why?"

Re: Alt+Left and Alt+Up works as Escape?

Posted: 08 Sep 2018 14:16
by admin
There is a technical side to it as well. Not impossible to do, but it would be an effort. I'm afraid there are other things first on the list...

Re: Alt+Left and Alt+Up works as Escape?

Posted: 09 Sep 2018 01:39
by John_C
Okay, I understand :)