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)
- 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
- Attempted in error copy and paste operation on nodes from one CT instance to another HOT 7
- Permanent Search Dock
- Unexpected behaviour using bulleted lists.
- node_id duplication
- copy/paste not safe HOT 2
- Multiselect nodes, Move multiple nodes around at once (multi select, multi-select)
- Build-depending on a unmantained, outdated library HOT 3
- Reorganising / consolidating multiple CT documents scattered through Ubuntu 22.04 dual boot desktop HOT 2
- Add a toggle button, similar to notion.
- Improve list indentation when line breaks occur
- Export All Images (Just a little adjustment of the "Export in HTML" Feauture) HOT 2
- Using Images by reference
- solw response while typing and typing caused trembling
- Search list copy HOT 1
- Problems with Hyperlinks HOT 1
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.