Comments (5)
After some digging it seems it's a bug in GTK2. Fuzzy matching of accelerators has apparently priority over key code - who the hell could wrote such thing?! Only way of fixing it I could think of (with my very poor GTK and Python knowledge) is implementing shortcuts rebinding support.
Also note that changing keyboard layout just for CherryTree is not possible when one wants to write notes in other language, so no easy workaround here :/. I probably end up hacking cons.py to Czech accelerators which is very bad solution updating-wise. * sad *
from cherrytree.
So changing values in cons.py did not yield results. I think the bug is in on_key_press_window in core - it should not use already interpreted keyname but scancode. Unfortunately hardware_keycode property of event contains already mapped values (at least on Windows - number changes when I switch kb layouts). I am hopeless.
from cherrytree.
Hi, what is your os and keyboard layout and what are the broken shortcuts
On 30 May 2015 20:13, "monnef" [email protected] wrote:
So changing values in cons.py did not yield results. I think the bug is in
on_key_press_window in core - it should not use already interpreted keyname
but scancode. Unfortunately hardware_keycode property of event contains
already mapped values (at least on Windows - number changes when I switch
kb layouts). I am hopeless.—
Reply to this email directly or view it on GitHub
#39 (comment).
from cherrytree.
Windows 7 64b, Python 2.7.10, default CS keyboard (QWERTZ). All shortcuts containing a number are wrongly listed, e.g. to trigger a shortcut ctrl + 1
I have to press ctrl + shift + 1
, to trigger a shortcut ctrl + +
I have to press a ctrl + 1
.
So in the end it is possible to use them, but it's quite cumbersome - e.g. a list is produced by pressing ctrl + alt + shift + 1
.
Introducing custom key bindings or not using keyboard layout for accelerators would IMO solve this issue.
from cherrytree.
Possibly it was related to Gkt2, and fixed in Gtk3
from cherrytree.
Related Issues (20)
- Cherrytree Fails to access LaTeX Executable with Invalid LaTeX Input HOT 1
- The language switch does not take effect HOT 1
- Heading property issue in preference HOT 1
- Import From Markdown File does not import png image with relative path.
- Copy (highlight) text inside CodeBox with LEFT SHIFT in not working HOT 1
- Keyboard shortcut Ctrl+L for both Insert Link and Edit Link. They should be separate.
- CherryTree window disappears when monitor added/removed during hibernation HOT 3
- [Feature request] Add on-load-state attribute to nodes, so the specific nodes will be always expanded/closed on load/import
- Feature Request: Copy & Paste table columns HOT 1
- How to convert SQL files to XML files? HOT 2
- Basic Usage - Seeking Recommended HOT 2
- Multiple Nodes Selection
- Two Proposed Adjustments to Node Editor HOT 1
- Cant open encrypted file.
- Build failures on Fedora Rawhide HOT 8
- 1.1.4 Windows AltGr+\ still not possible (german keyboard) HOT 1
- Ubuntu 24.04 ctd and ctb files with incorrect icon in file manager
- Bi-state checkboxes HOT 10
- Integration with other tools in a toolchain HOT 1
- Random crashes during use, 1.1.4 Windows HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cherrytree.