tonkv / qdevelop

Automatically exported from code.google.com/p/qdevelop
0 stars 0 forks source link

in the Editor some keys seem to have reverted Alt/Ctrl-Prefixes #119

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In the code editor the following keys do not work correctly:

1) To get an "x" i have to type Alt-x. Typing "x" without Alt does nothing.

2) The key "z" (without Alt-Key) makes an undo or redo. To get the letter
"z" as letter i have to press "Alt-z"

3) To get a Tab in my text i have to press Ctrl-Tab. Tab alone does nothing.

All other keys seem to work fine.

Environment:
- SuSe-Linux 10.1 with Gnome-desktop
- Qt 4.2.3
- QDevelop 0.21

I verified the following:
- other desktop-applications like a regular OpenOffice-textEditor do not
show this problem

- created a small Qt-application with a LineEdit-Field, entering in this
field does not show the problem

- tried to launch QDevelop with "-l English" and "-l French" (my system is
German), problem persists.

Best regards
Th. Thiele

Original issue reported on code.google.com by t...@snafu.de on 18 Mar 2007 at 3:35

GoogleCodeExporter commented 8 years ago
Found the reason and a workaround: in the ui there are translations set for the
shorcut keys - "Crtl+x" is translated into "STRG+x" (for the german version). 
Those
german modifiers are not recognized and therefore omitted - so the shortcut for 
"Cut
Ctrl+X" mutates to "Ausschneiden X" in german context.

Workaround is a little bit difficult because QDevelop checks on start for a file
~/.config/QDevelop.conf where it saves all settings. If this file exists (with 
wrong
shortcut keys) it will be read and used!

The easiest way: remove this file, switch to english context (set RC_LANG in
/etc/sysconfig/language to "POSIX"), restart the Desktop (or re-login), start
QDevelop once and exit. Now the QDevelop.conf contains all english shortcuts 
with
correct Modifiers. Switch back to german (or your language). On all further 
starts of
QDevelop the shortcuts are taken from QDevelop.conf (you can edit this file to 
adapt
some keys).

Instead of modifying /etc/sysconfig/language you can also try just to login as 
"root"
on the desktop - the standard language setting (in SuSe) is POSIX for the root
account. Start QDevelop and exit, thereafter copy /root/.config/QDevelop.conf 
to your
home environment (don't forget chown <user>:<group>).

Th. Thiele

Original comment by t...@snafu.de on 26 Mar 2007 at 8:52

GoogleCodeExporter commented 8 years ago
Or you could use the Tools/Shortcuts dialog to change the offending shortcuts
by replacing
X -> "CTRL+X", and so on
then everything should be fine again

Original comment by jgr...@linetco.com on 31 Mar 2007 at 1:47

GoogleCodeExporter commented 8 years ago
Can you test version 0.24 please? I remember seeing changes in the translations 
in 
the SVN.

Original comment by cucoma...@gmail.com on 10 Sep 2007 at 7:27

GoogleCodeExporter commented 8 years ago
This issue has been fixed in latest svn.

Original comment by cucoma...@gmail.com on 12 Sep 2007 at 8:52