0.93: Keyboard shortcut doesn't work if set to space, and space bar is ignored
Posted: Fri Feb 01, 2019 6:18 pm
XnView: MP 0.93 - 64 bit
OS: Windows 7 64bit
First I should note that I've always used both space and left arrow to advance to next picture in view mode. Maybe it was how I set it up, but I think it was the default. And I found the following in the changelog pretty strange:
1507: [New] Space key for next picture
It even was the first entry of the changelog. So in 0.92 I could just hit space bar and go to the next image, or change to left/right arrow if I need to go back and forth quickly. Now space bar was simply ignored. I've tried setting the keyboard shortcut cmd_FileNext again (to space), but nothing.
The thing is that if I set the shortcut to something else other than space, let's say X, then both work, space and X keys both advance to next picture. But when the shortcut is set to space bar, it doesn't work. Then I tried setting any other shortcut to space; the effect is the same. When a shortcut is set to space, such shortcut stops working; when no shortcut is set to space, space advances to next image as expected.
Effect: When the keyboard shortcut cmd_FileNext (or any other) is set to space bar, it doesn't work; while space bar is recognized when it's not used in any shortcut.
To reproduce:
1. Go to Interface, shortcuts, view mode; set cmd_FileNext to Space.
2. Enter view mode, try using space to go to next picture, nothing happens.
3. Go to Interface, shortcuts, view mode; set cmd_FileNext to X.
4. Enter view mode, using both X and space go to next picture.
Actual behaviour (bug): Setting space in a shortcut disables space to advance to next image, and also disables that shortcut.
Expected behaviour: Setting space in a shortcut should work like with any other key.
OS: Windows 7 64bit
First I should note that I've always used both space and left arrow to advance to next picture in view mode. Maybe it was how I set it up, but I think it was the default. And I found the following in the changelog pretty strange:
1507: [New] Space key for next picture
It even was the first entry of the changelog. So in 0.92 I could just hit space bar and go to the next image, or change to left/right arrow if I need to go back and forth quickly. Now space bar was simply ignored. I've tried setting the keyboard shortcut cmd_FileNext again (to space), but nothing.
The thing is that if I set the shortcut to something else other than space, let's say X, then both work, space and X keys both advance to next picture. But when the shortcut is set to space bar, it doesn't work. Then I tried setting any other shortcut to space; the effect is the same. When a shortcut is set to space, such shortcut stops working; when no shortcut is set to space, space advances to next image as expected.
Effect: When the keyboard shortcut cmd_FileNext (or any other) is set to space bar, it doesn't work; while space bar is recognized when it's not used in any shortcut.
To reproduce:
1. Go to Interface, shortcuts, view mode; set cmd_FileNext to Space.
2. Enter view mode, try using space to go to next picture, nothing happens.
3. Go to Interface, shortcuts, view mode; set cmd_FileNext to X.
4. Enter view mode, using both X and space go to next picture.
Actual behaviour (bug): Setting space in a shortcut disables space to advance to next image, and also disables that shortcut.
Expected behaviour: Setting space in a shortcut should work like with any other key.