Bug 105723 - GTk2 text widgets dont do emacs key-bindings.
Summary: GTk2 text widgets dont do emacs key-bindings.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gtkhtml3
Version: rawhide
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-09-26 20:27 UTC by Dams
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-09-26 21:04:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dams 2003-09-26 20:27:06 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703
Galeon/1.3.9

Description of problem:
It's impossible to have Emacs keybindings in the evolution mail composer and
gedit and all gtk text widget. Maybe this is related with this bug in ximian
bugzilla : http://bugzilla.ximian.com/show_bug.cgi?id=41187

Version-Release number of selected component (if applicable):
gtkhtml3(0:3.0.9-3).i386

How reproducible:
Always

Steps to Reproduce:
1. gedit &
2. Type some things in the composer 
3. press Ctrl-a
    

Actual Results:  ctrl-a select all text.

Expected Results:  cursor should be in the beginning of the line "a la emacs".

Additional info:

The system is a fresh severn2 install. The "Text Editing Shortcuts" is set to
'Emacs' in gnome-keybinding-properties.

Comment 1 Jeremy Katz 2003-09-26 20:36:00 UTC
Does it work if you upgrade to 1.4.5 in rawhide?

Comment 2 Dams 2003-09-26 20:54:02 UTC
1.4.5 of what ? Evolution ?
lftp ftp.redhat.com:/pub/redhat/linux/rawhide/SRPMS/SRPMS> ls *1.4.5*
-rw-r--r--    1 ftp   ftp   122658 Sep 09 20:54 cipe-1.4.5-18.src.rpm
-rw-r--r--    1 ftp   ftp   601065 Sep 09 20:18 compat-slang-1.4.5-6.src.rpm
-rw-r--r--    1 ftp   ftp   612999 Jun 16 14:09 slang-1.4.5-18.1.src.rpm
lftp ftp.redhat.com:/pub/redhat/linux/rawhide/SRPMS/SRPMS>

it's not evolution related. it's gtk-wide..

Comment 3 Jeremy Katz 2003-09-26 21:04:33 UTC
Of evolution, it may not be pushed yet (should be soon).

To set the gtk2 keybindings, go to preferences->keyboard shortcuts and change
the type there.  But until evolution 1.4.5 and gtkhtml 3.0.9, evolution wouldn't
respect it.  Also, some other apps have conflicting keybindings (eg, ctrl-a) via
the menus that cause emacs keybindings to not be 100% useful everywhere.

Comment 4 Dams 2003-09-26 22:00:17 UTC
I was about to say "i disagree with notabug" but you're right. Menus say 'Select
All   Ctrl+A". Is there a way to 'override' theese menu shortcuts ? I thought it
was the purpose of the /desktop/gnome/interface/can_change_accels gconf key, but
cannot figure how to change the shortcuts once it is enabled.


Note You need to log in before you can comment on or make changes to this bug.