1.7.1: <shortcut> - <Uncolored> not working

*** Please report new bugs here! ***

Moderators: XnTriq, helmut, xnview, Dreamer

User avatar
Mapaler
Posts: 55
Joined: Thu Nov 05, 2015 9:23 am
Location: China

1.7.1: <shortcut> - <Uncolored> not working

Post by Mapaler »

XnView: MP 1.7.1 - 64 bit
OS: Windows 10 - 64-bit

Shortcut - Uncolored not working

Effect: Pressing Ctrl+Shift+0 does not remove the color of the marker.

To reproduce:
1. Press Ctrl+Shift+1~9 to change the color.
2. Pressing Ctrl+Shift+0 to remove the color.

Actual behaviour (bug): Pressing Ctrl+Shift+0 has no effect. :bug:

Expected behaviour: Press Ctrl+Shift+0 to remove the color of the marker.
xnviewmp_CUsersMapalerPictures壁纸_-_XnView_MP_0035.png
You do not have the required permissions to view the files attached to this post.
Image
User avatar
xnview
Author of XnView
Posts: 45062
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.7.1: <shortcut> - <Uncolored> not working

Post by xnview »

you don't have an extension or app which use this shortcut?
Pierre.
User avatar
user0
XnThusiast
Posts: 2061
Joined: Sat May 09, 2015 9:37 am

Re: 1.7.1: <shortcut> - <Uncolored> not working

Post by user0 »

You have to use numbers from top row, not the numbers from Numpad,
because Shift+Numpad combination returns different scancodes (Numpad with disabled NumLock):

Code: Select all

no Shift  | w Shift
Numpad0   | NumpadIns
Numpad1   | NumpadEnd
Numpad2   | NumpadDown
Numpad3   | NumpadPgDn
Numpad4   | NumpadLeft
Numpad5   | NumpadClear
Numpad6   | NumpadRight
Numpad7   | NumpadHome
Numpad8   | NumpadUp
Numpad9   | NumpadPgUp
NumpadDot | NumpadDel
On the other hand, I think it would be better if the app treated them equally (and always use Numpad0 notation), eg NumpadIns=Numpad0, etc.
The same can be done to Return=Enter.
User avatar
Mapaler
Posts: 55
Joined: Thu Nov 05, 2015 9:23 am
Location: China

Re: 1.7.1: <shortcut> - <Uncolored> not working

Post by Mapaler »

xnview wrote: Mon Jun 03, 2024 1:19 pm you don't have an extension or app which use this shortcut?
1~9 can take effect, just 0 doesn't work. How should I detect conflicts with other programs?
Image
User avatar
Mapaler
Posts: 55
Joined: Thu Nov 05, 2015 9:23 am
Location: China

Re: 1.7.1: <shortcut> - <Uncolored> not working

Post by Mapaler »

user0 wrote: Mon Jun 03, 2024 2:36 pm You have to use numbers from top row, not the numbers from Numpad,
because Shift+Numpad combination returns different scancodes (Numpad with disabled NumLock):

Code: Select all

no Shift  | w Shift
Numpad0   | NumpadIns
Numpad1   | NumpadEnd
Numpad2   | NumpadDown
Numpad3   | NumpadPgDn
Numpad4   | NumpadLeft
Numpad5   | NumpadClear
Numpad6   | NumpadRight
Numpad7   | NumpadHome
Numpad8   | NumpadUp
Numpad9   | NumpadPgUp
NumpadDot | NumpadDel
On the other hand, I think it would be better if the app treated them equally (and always use Numpad0 notation), eg NumpadIns=Numpad0, etc.
The same can be done to Return=Enter.
Thanks, I also know a little bit of programming and know that they are different codes. So I tried a variety of combinations, but none of them worked, so I submitted this report.
Image
User avatar
user0
XnThusiast
Posts: 2061
Joined: Sat May 09, 2015 9:37 am

Re: 1.7.1: <shortcut> - <Uncolored> not working

Post by user0 »