Tracker: Bugs

5 Shortcuts are broken on german localization - ID: 3528208
Last Update: Comment added ( vampire0 )

I used to press Alt+F to open the file menu, but now in jEdit 5.0pre1 everything is localized also the shortcuts: "F"ile -> "D"atei

Pressing Alt+D seems to delete the character under the cursor and does not open the file menu. Same for "B"ookmark -> "L"esezeichen (Alt-L) and "V"iew -> "A"nsicht -> (Alt+A).


Thomas Meyer ( thomasmey ) - 2012-05-19 03:08:54 PDT

5

Closed

Fixed

Björn Kautler

keyboard / mouse

normal bug

Public


Comments ( 5 )

Date: 2012-10-14 13:04:57 PDT
Sender: vampire0Project AdminAccepting Donations

Menu bar mnemonics do not take precedence over otherwise defined shortcuts
anymore as the user should be able to remap those key combinations if he
wants to.
Instead the main menu mnemonics are removed and thus not shown if there is
an otherwise defined meaning for the shortcut.
Additionally all A+[a-z] shortcuts were removed from the jEdit keymap and
the build procedure checks that no new ones are added to ensure that the
first usage experience is that all menus have working mnemonics.


Date: 2012-09-28 10:47:17 PDT
Sender: vampire0Project AdminAccepting Donations

Menu bar mnemonics now take precedence over otherwise defined shortcuts as
they are visible to the user.


Date: 2012-09-08 10:07:19 PDT
Sender: vampire0Project AdminAccepting Donations

Patch that intends to fix this:
https://sourceforge.net/tracker/index.php?func=detail&aid=3559082&group_id=588&atid=300588


Date: 2012-06-16 04:05:45 PDT
Sender: thomasmey

Hello. I just figured out what is wrong here:

You only will run in this bug, when you did previously use a jEdit < 5
version and did already have a keymaps directory in your local settings:
"~/.jedit/keymaps"

With this existing directory the migration step will not be done in jEdit
class with "keymapMigration.migrate()".

And as the localisation properties "jedit_de.props" are loaded before the
system keymap, the trick to override the already existing key bindings in
jEdit/keymaps/jEdit_keys.props via the local imported
~/.jedit/keymaps/imported_keys.props doesn't work.

so these three keybinding will not get removed, see line 79-81 of system
jedit_de.props file:

next-char.shortcut2=
next-page.shortcut2=
delete.shortcut2=

A quick fix for me was now to remove "~/.jedit/keymaps" and let jEdit
migrate the localized bindings over the system bindings and use the
imported_keys.props.

The correct solution would be to load the system keymaps before the
localisation properties, so the override works as expected.


Date: 2012-05-19 05:43:57 PDT
Sender: rschwenn

I can't reproduce this unless I define i.e. "ALT+D" as shortcut in the
Global Options -> Shortcuts pane for the delete action. Then this user
defined shortcut overrides the access key for the menu item. Please check
that You don't have defined such a shortcut.

p.s.
The access keys for menu items and controls in dialogs have to be
localized. But in the Global Options -> General pane You can manually
choose the language.



Attached File

No Files Currently Attached

Changes ( 13 )

Field Old Value Date By
resolution_id None 2012-09-28 10:47:17 PDT vampire0
status_id Open 2012-09-28 10:47:17 PDT vampire0
assigned_to kpouer 2012-09-28 10:47:17 PDT vampire0
artifact_group_id None 2012-09-28 10:47:17 PDT vampire0
category_id None 2012-09-28 10:47:17 PDT vampire0
close_date - 2012-09-28 10:47:17 PDT vampire0
assigned_to nobody 2012-09-08 10:07:19 PDT vampire0
resolution_id Works For Me 2012-09-08 10:07:19 PDT vampire0
close_date 2012-05-23 10:45 2012-06-16 04:05:46 PDT thomasmey
status_id Pending 2012-06-16 04:05:46 PDT thomasmey
status_id Open 2012-05-23 10:45:02 PDT rschwenn
close_date - 2012-05-23 10:45:02 PDT rschwenn
resolution_id None 2012-05-23 10:45:02 PDT rschwenn