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

Moderators: XnTriq, helmut, xnview, 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 »

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: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

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 »

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: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

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 »

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: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

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

Post by helmut »

For me this works fine in v0.84.

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