Page 1 of 1

Copy/Move dialog requires pressing Enter twice to accept

Posted: Sat Nov 07, 2015 4:45 am
by Infi220
In 0.72 it worked correctly but in 0.76 the "Copy to" and "Move to" dialogs unnecessarily require pressing Enter twice to accept moving or copying file to the last used directory.

Repro:
1) Select a file and invoke "Move to" dialog
2) Select a destination folder
3) Press Enter to accept. So far so good.
4) Select another file and invoke "Move to" dialog again
5) Don't click anything. Just press Enter to accept moving the file to the last used directory
Expected: the file is copied or moved to the destination directory
Actual: I am still in the "Move to" dialog and I need to press Enter again to accept

Re: Copy/Move dialog requires pressing Enter twice to accept

Posted: Mon Nov 09, 2015 2:52 pm
by xnview
you would like to press enter only 1 time in copy/Move dialog, right?

Re: Copy/Move dialog requires pressing Enter twice to accept

Posted: Wed Nov 18, 2015 1:32 am
by Infi220
Yes, pressing Enter once in step #5 should confirm the Copy/Move action and close the dialog.

Also, the same thing is happening in "Batch Rename" dialog - it requires pressing "Enter" twice to accept the dialog, but It should accept the dialog after the first "Enter".

Re: Copy/Move dialog requires pressing Enter twice to accept

Posted: Thu Nov 19, 2015 3:45 pm
by xnview
ok right, seems to be a bug in QT API

Re: Copy/Move dialog requires pressing Enter twice to accept

Posted: Sun Nov 22, 2015 10:21 pm
by Infi220
Thanks for looking into this. I noticed that the first Enter clears whatever text is selected in an active field and the second Enter accepts dialog. Either way, the first Enter should accept the dialog regardless if any text is selected. Do you think it can be fixed in the next version of XnViewMP?

Re: Copy/Move dialog requires pressing Enter twice to accept

Posted: Sun Feb 12, 2017 8:03 pm
by helmut
For me this works fine in v0.84.

@Infi220: Could you please try and also confirm the bug fix?