Thread: Possible bug?
View Single Post
Old 09-15-2021, 08:39 PM   #122
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,857
Karma: 8821117
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Well, these are the logs from my tests on the last Sigil beta:

With AltGr disabled:

Code:
Warning: Unable to open default EUDC font: "EUDC.TTE"
Debug: regenerating tag list
Debug: key():  "94"    '^'
Debug: text():  "\u001E"
Debug: nativeVirtualKey():  54
Debug: letter:  "^"
Debug: modifiers:  QFlags<Qt::KeyboardModifier>(ShiftModifier|ControlModifier)
Debug: MapVK_VK_TO_CHAR:  "54"   '6'
Debug: 

Debug: key():  "94"    '^'
Debug: text():  ""
Debug: nativeVirtualKey():  186
Debug: letter:  "^"
Debug: modifiers:  QFlags<Qt::KeyboardModifier>(ShiftModifier|ControlModifier)
Debug: MapVK_VK_TO_CHAR:  "2147483744"   '`'
"Ctrl + Shift + 6" works and in Shortcut field is grabbed "Ctrl + Shift + 6". When I press "Ctrl + Shift + 0" (or Ctrl + =), nothing appears in the Shortcut field, nothing is grabbed and, consecuently, the shortcut doesn't work. Finally, when I press "Ctrl + Shift + ^", in the Shortcut field is grabbed "Ctrl + Shift + some weird chars (two)". The shortcut doesn't work.

With the AltGr enabled, this is the log:

Code:
Warning: Unable to open default EUDC font: "EUDC.TTE"
Debug: regenerating tag list
Debug: key():  "94"    '^'
Debug: text():  "\u001E"
Debug: nativeVirtualKey():  54
Debug: letter:  "^"
Debug: modifiers:  QFlags<Qt::KeyboardModifier>(ShiftModifier|ControlModifier)
Debug: MapVK_VK_TO_CHAR:  "54"   '6'
Debug: 

Debug: key():  "94"    '^'
Debug: text():  ""
Debug: nativeVirtualKey():  186
Debug: letter:  "^"
Debug: modifiers:  QFlags<Qt::KeyboardModifier>(ShiftModifier|ControlModifier)
Debug: MapVK_VK_TO_CHAR:  "2147483744"   '`'
Debug: 

Debug: key():  "124"    '|'
Debug: text():  "|"
Debug: nativeVirtualKey():  49
Debug: letter:  "|"
Debug: modifiers:  QFlags<Qt::KeyboardModifier>(GroupSwitchModifier)
Debug: MapVK_VK_TO_CHAR:  "49"   '1'
Debug: 

Debug: key():  "64"    '@'
Debug: text():  "@"
Debug: nativeVirtualKey():  50
Debug: letter:  "@"
Debug: modifiers:  QFlags<Qt::KeyboardModifier>(GroupSwitchModifier)
Debug: MapVK_VK_TO_CHAR:  "50"   '2'
Debug: 

Debug: key():  "35"    '#'
Debug: text():  "#"
Debug: nativeVirtualKey():  51
Debug: letter:  "#"
Debug: modifiers:  QFlags<Qt::KeyboardModifier>(GroupSwitchModifier)
Debug: MapVK_VK_TO_CHAR:  "51"   '3'
Debug:
The result with the combinations of Ctrl + Shift are the same as the result with the AltGr disabled. But I also tested combinations with AltGr.
When I pressed AltGr + 1, in the Shortcut field appeared "1" (it should appear "|"). Of course, the shortcut didn't work. In the previous beta, in the Shortcut field was grabbed "|" (it should grab "Ctrl + Alt + |") and also didn't work. The same things happened when I pressed "Alt + 2" and "Alt + 3"; in the Shortcut field was grabbed "2" and "3" respectively (instead of "@" and "#", or the correct shortcut "Ctrl + Alt + @" and "Ctrl + Alt + #")
RbnJrg is offline   Reply With Quote