Bug 144700

Summary: ctrl-e [end-of-line] command doesn't work in mozilla when text=numbers
Product: [Fedora] Fedora Reporter: Satish Balay <balay>
Component: mozillaAssignee: Christopher Aillon <caillon>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: mcepl, mcepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-14 14:54:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Satish Balay 2005-01-10 19:31:25 UTC
Description of problem:

Wen typing in numbers [whereever mozilla accepts text input] emacs keybindings
misbehave. Esp: Ctrl-E & Ctrl-K

Version-Release number of selected component (if applicable):

mozilla-1.7.5-3
gtk2-2.4.14-2.fc3

How reproducible:
Always

Steps to Reproduce:
1. install FC3 & update mozilla from rawhide (or just install rawhide)
2. enable emacs style editing in by adding the following to ~/.gtkrc-2.0

include "/usr/share/themes/Emacs/gtk-2.0-key/gtkrc"
gtk-key-theme-name = "Emacs"

3. start up mozilla
4. Now get to some 'editable' area  [Ctrl-L to type in a URL will do]
5. Now type in just numbers - say '123'

Actual results: 
Ctrl-A works
Arrow -> works
Ctrl-E  doesn't work
Ctrl-K   kills 'char' instead of 'line'
Moving the 'cursor' to the end of the line with 'mouse' doesn't work

Expected results:
Ctrl-E (end of line) should work
Ctrl-k (kill line) should work
moving Mouse pointer to end of line should work

Additional info:

This is probably gtk bug - but I'm filing against mozilla - as I notice this
here. I see the same issue with 'firefox'

Comment 1 Satish Balay 2005-01-11 19:29:31 UTC
Just tried gtk2-2.6.1-1 update in rawhide - still the same behavior. 

Comment 2 Matěj Cepl 2007-03-14 14:54:44 UTC
Since this bugzilla report was filed, there have been several major updates,
which may have resolved this issue, and Mozilla itself was removed from the
latest Fedora Core/RHEL distributions. Users who have experienced this problem
are encouraged to upgrade their system to the latest version of the equivalent
package (Firefox, Thunderbird, etc.) available. Therefore closing this bug as
obsolete.

If you experience this problem on the up-to-date system, please reopen this bug
with an additional information.

Comment 3 Satish Balay 2018-04-11 18:44:35 UTC
I hadn't looked at this issue in a [long] while.

Looks like I had to follow instructions from:

http://shallowsky.com/blog/linux/gtk3-emacs-key-theme.html

gsettings set org.gnome.desktop.interface gtk-key-theme "Emacs"