XmacsLabs / mogan

Mogan STEM Suite (based on GNU TeXmacs): Enjoy exploring science and technology!
https://mogan.app
GNU General Public License v3.0
382 stars 31 forks source link

Emacs "/" Keybinding not working #1678

Open nerd-qp opened 7 months ago

nerd-qp commented 7 months ago

Mogan Version

v1.2.5

Operating System Version and Architecture

MacOS 14.3

Describe Bug

Toggle on look and feel: Emacs. The Emacs "/" for undo does not register anything.

This behaviour does not happen for v1.1.x.

Expected Behavior

Emacs "/" should undo the edits.

da-liii commented 7 months ago

The root cause is Qt 6 can not handle the C-/ event. That's why "emacs /" does not work when "emacs" means Ctrl.

nerd-qp commented 7 months ago

Yep, sorry for the "emacs /" confusion. Thanks for tracking down the root cause!

Do you think one can bypass the restriction set by Qt 6?

ProfFan commented 1 month ago

Seems strange, do you have a reference where it said so in the upstream docs? @da-liii

da-liii commented 1 month ago

I tested via code but didn't find a reference from Qt official doc.