GoogleCodeArchives / editra

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

Column mode not usable with some keyboard layouts #444

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The shortcut used to switch in column mode (Shift+Ctrl+|) are not usable
with some keyboard layouts like ch_fr.

With this layout, the char '|' is obtained by the combination of AltGr+1.
So, the shortcut to switch column mode will be Shift+Ctrl+(AltGr+1), wich
don't product any effect.

What version of the product are you using? 0.5.25
On what operating system? Gnu/Linux (Ubuntu)

What method of install was your version installed with (Binary/Source)? Source

If from source: What version of python and wxPython are you using?
Python 2.6.4
wxGtk 2.8.10

Original issue reported on code.google.com by pascal.r...@gmail.com on 21 Dec 2009 at 12:40

GoogleCodeExporter commented 9 years ago
Hi,

Use the preferences dialog to change the key binding to something that is more
accessible for you if you need to use this command often.
(Edit->Preferences->Advanced->Keybindings).

Cody

Original comment by CodyPrec...@gmail.com on 21 Dec 2009 at 1:55

GoogleCodeExporter commented 9 years ago
Like you suggest, I've tried to define my own key binding for this shurtcut.
(in version 0.5.30)

To configure this bind I've been face several difficulties: 

1. New Key Profiles disapear after a restart of Editra
2. The combobox that contain list of keys are case sensitive.
   By example "crtl+shit+A" work but "crtl+alt+a" don't work

At this time I must redefine the bind on every start but that not realy the same
bug.

Best regards,

  Pascal

Original comment by pascal.r...@gmail.com on 23 Dec 2009 at 1:56

GoogleCodeExporter commented 9 years ago
Hi,

I can't reproduce the issue your seeing.

1) Open Preferences
2) Advanced->Keybindings and click New to make a new keybinding set
3) Change column mode to Ctrl+Shift+A
4) Click Apply
5) Verify that it changed in the menu
6) Close and restart Editra
7) Verify that it is still Ctrl+Shift+A

If you looking in your configuration directory is the ekeys file you created in 
step
1 there?

Do your other settings get remembered inbetween program launches?

Any errors in (View=>Editra Log) when you try to save your keybindings or when 
you
start editra with the -dd option?

Original comment by CodyPrec...@gmail.com on 23 Dec 2009 at 2:29

GoogleCodeExporter commented 9 years ago
I've been reproduce the problem.

1. Shutdown Editra
2. Renamed my current configuration profile (mv ~/.Editra/ ~/.EditraOld/)
   to be clean ;)
3. Starting Editra with -dd option
4. 1) Open Preferences
   2) Advanced->Keybindings and click New to make a new keybinding set
       -> set the new profile name: MyProfile
   3) Change column mode to Ctrl+Shift+A
   4) Click Apply
   5) Verify that it changed in the menu
       -> Menu entry is updated and the key binding work

6. At this step there is errors in log that explain the problem.
   In fact 'ekeys' are not stored in ~/.Editra but in the installation folder:

    [15:55:42][file_writer][err] Failed to open file
/usr/local/lib/python2.6/dist-packages/Editra/ekeys/MyProfile.ekeys
    [15:55:42][keybinder][err] Failed to open
/usr/local/lib/python2.6/dist-packages/Editra/ekeys/MyProfile.ekeys for writing

Do your other settings get remembered inbetween program launches?
  Yes, all other configuration files seen to be stored in the good folder (~/.Editra)

Original comment by pascal.r...@gmail.com on 23 Dec 2009 at 3:07

GoogleCodeExporter commented 9 years ago
Yes that is defintely a bug it should be getting saved to the user config 
directory.

I opened issue 447 to track this problem

Original comment by CodyPrec...@gmail.com on 23 Dec 2009 at 3:43