Copy/Move dialog requires pressing Enter twice to accept

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderator: Dreamer

Post Reply
Infi220
Posts: 18
Joined: Thu Nov 05, 2015 8:07 am

Copy/Move dialog requires pressing Enter twice to accept

Post by Infi220 » Sat Nov 07, 2015 4:45 am

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

User avatar
xnview
Author of XnView
Posts: 31340
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Mon Nov 09, 2015 2:52 pm

you would like to press enter only 1 time in copy/Move dialog, right?
Pierre.

Infi220
Posts: 18
Joined: Thu Nov 05, 2015 8:07 am

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

Post by Infi220 » Wed Nov 18, 2015 1:32 am

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".

User avatar
xnview
Author of XnView
Posts: 31340
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Thu Nov 19, 2015 3:45 pm

ok right, seems to be a bug in QT API
Pierre.

Infi220
Posts: 18
Joined: Thu Nov 05, 2015 8:07 am

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

Post by Infi220 » Sun Nov 22, 2015 10:21 pm

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?

User avatar
helmut
Posts: 8153
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

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

Post by helmut » Sun Feb 12, 2017 8:03 pm

For me this works fine in v0.84.

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

Post Reply