Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still problems with false assigned CTRL + ALT sequences in keyboard mappings of cherrytree on INT-keyboards with ALT+GR #2341

Closed
vitusb opened this issue Sep 1, 2023 · 2 comments

Comments

@vitusb
Copy link

vitusb commented Sep 1, 2023

Hello Giuseppe ...
We're still unable to insert special keys by using "Alt Gr"-key on german keyboard like "µ ~ ² ³ { [ ] } " etc. ...

The problem is a default-configuration in "config.cfg" where cherrytree uses "CTRL-ALT"-sequences in order to map some functions AND it is not new:

... although you released a ticket on the the GNOME developer-hub: https://gitlab.gnome.org/GNOME/gtk/-/issues/5231 , i think it is better to remove ALL problematic sequences from config by default:

[keyboard]
codebox_change_properties=
codebox_decrease_height=
codebox_decrease_width=
codebox_increase_height=
codebox_increase_width=
handle_anchor=
handle_bull_list=
handle_codebox=
handle_embfile=
handle_image=
handle_latex=
handle_num_list=
handle_table=
handle_todo_list=
insert_timestamp=
node_unbookmark=
preferences_dlg=
spellcheck_toggle=
table_column_decrease_width=
table_column_increase_width=
table_column_left=
table_column_right=
table_row_delete=
table_row_down=
table_row_up=
tree_node_toggle_ro=

Reason:

The problem was also discussed in depth here: msys2/MINGW-packages#13372 ... Windows interprets Ctrl+Alt as AltGr, to accommodate some compact keyboards like those of netbooks which have neither the AltGr key or a right-hand Alt key (https://en.wikipedia.org/wiki/AltGr_key#Ctrl+Alt), so using CTRL+ALT ist not really a good idea and we see this by the lots of filed issues. It is also a big challenge for a normal user to delete all 26 relevant entries manually by using the gui-method of cherrytree.

It is possible to sync a partial "config.cfg" (with the entries above) into the users "%USERPROFILE%\AppData\Local\cherrytree" - directory. Cherrytree will then merge its config with this one, when running after copy, but i think it is a better and much simpler solution to remove all sequences above from default config because also Microsoft does NOT RECOMMEND to use "Ctrl+Alt" as a shortcut modifier:

Best regards,
Veit Berwig

@giuspen
Copy link
Owner

giuspen commented Dec 2, 2023

I understand the problem but I need to find another solution rather than suddenly drop all these keyboard shortcuts for everyone.
Ideally replace with another key (e.g. the windows key, so but this probably won't work, I'll try) or provide a very quick way to remove all the keyboard shortcuts

giuspen added a commit that referenced this issue Dec 7, 2023
@giuspen
Copy link
Owner

giuspen commented Dec 7, 2023

In upcoming v1.0.3 there won't be anymore any default keyboard shortcuts with Ctrl+Alt

@giuspen giuspen closed this as completed Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants