vnotex / vnote

A pleasant note-taking platform in native C++.
https://app.vnote.fun
GNU Lesser General Public License v3.0
11.78k stars 1.21k forks source link

Can't type '@' character on Windows with german keyboard layout #2502

Closed JoeJoeTV closed 4 months ago

JoeJoeTV commented 4 months ago

Describe the bug When using a german QWERTZ keyboard layout, the '@' character is typed by pressing the "AltGr" modifier key and the "Q" key. When trying to type this in VNote on Windows, a prompt opens with the text "Please set up quick note schemes in the Settings dialog first" and no character is typed. On Linux, this behaviour cannot be observed with the same keyboard layout and the character entry works fine.

To Reproduce Steps to reproduce the behavior:

  1. Open any Note in VNote
  2. Try to enter the '@' character anywhere
  3. Dialog opens and no character is typed

Expected behavior The '@' character should be typed.

Screenshots None applicable

Desktop (please complete the following information):

Additional context This does not happen when switching the layout used by Windows to the US QWERTY layout.

tamlok commented 4 months ago

It looks like that you just triggered the Quick Note shotcut Ctrl+Alt+Q. You can choose another key sequences by selecting "Edit User Configuration File" at the top right corner.

image

Change the value of the NewQuickNote to another key sequences or empty.

image

JoeJoeTV commented 4 months ago

Thanks! That works, I can now enter an '@' symbol. Is the 'AltGr' key not supported on Windows and just emulates pressing Control and Alt?

tamlok commented 4 months ago

I think it should be supported. But I don't know much about the Qt behavior in different keyboard layout.