Giter Site home page Giter Site logo

Comments (9)

giuspen avatar giuspen commented on July 2, 2024

What key combination do you need to press on your keyboard to get "[]{}"?
Have you tried to reset all the keyboard shortcuts to the default in the preferences dialog?
I'm surprised because the issues were coming from the default shortcuts Ctrl+Alt (triggered by AltGr on windows) but now they are all gone in 1.0.4

from cherrytree.

Groberen avatar Groberen commented on July 2, 2024

I have same problem (probably) and same OS and CT version. Norwegian keyboard layout.

Assume original keymap without any custom changes in CT settings:
Pressing AltGr+8 (to produce left square bracket) or AltGr+9 gives an error message about a table (didn't wrote down the exact error message, but it obvious expect the cursor to be located in a table).

Solution is to disable the shortcuts for "increase/decrease height of codebox". However, looking at this keyboard shortcut doesn't suggest this conflict should be able to exist.

That is - there shouldn't be a conflict/confusion between program shortcut Alt+] and actual user input AltGr+9. The shortcut Alt+] is not possible to press using a Scandinavian keyboard layout (possible true for other European languages like German as well) because the character ] can only be inserted by pressing AltGr+9.

from cherrytree.

giuspen avatar giuspen commented on July 2, 2024

Thanks @Groberen I will investigate. Would be useful if you can confirm the exact warning messages that you get, it's surprising that are related to the table but it's disabling the codebox shortcut that fixes it

from cherrytree.

Groberen avatar Groberen commented on July 2, 2024

Ok I've tested. First I renamed the config.cfg so to reset all settings.
Then created a new instance (not save) and a new node. Then placed the cursor within the terminal/text.

AltGr+8 (is expected to insert «[» character)

But it gives this error message:
_

Error
No Table is Selected
[OK]

_

Likewise AltGr+9 (is expected to insert «]» character), but also gives the excact same error message.

Also, the following key combinations give the same error message
AltGr+0 (is expected to insert «}» character)
AltGr+7 (is expected to insert «{» character)

Hope this helps

from cherrytree.

giuspen avatar giuspen commented on July 2, 2024

@Groberen your test is very useful and would be very useful if you will accept to give a try to a development build I will prepare after a proposal fix.

from cherrytree.

Groberen avatar Groberen commented on July 2, 2024

Yes - but I'll be pretty busy the next days, but after that (i.e. late in next week) I may be able to find time to test the Windows.

from cherrytree.

giuspen avatar giuspen commented on July 2, 2024

Apparently the offending keyboard shortcuts are Ctrl+[, Ctrl+], Ctrl+{, Ctrl+}
Theoretically AltGr should be detected as Ctrl+Alt on windows but for some reason it is still triggering those.
I will see if I can reproduce myself adding the Norwegian and German keyboards.

from cherrytree.

giuspen avatar giuspen commented on July 2, 2024

I managed to add keyboard layouts to my Win11 and reproduce the issue. I'm confident with the fix (6 default keyboard shortcuts changed) but if anybody is interested in having a pre release build just write here and I'll build it

from cherrytree.

vitusb avatar vitusb commented on July 2, 2024

Hello ...

The ALT-GR+"backslash" issue on a german keyboard is still not "masked to another mapping", so ALT-GR+"\" is not usable in order to enter a "\" on german keyboards.

For Details, see: bdd8737#commitcomment-140949469

from cherrytree.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.