This service will be undergoing maintenance at 00:00 UTC, 2016-09-28. It is expected to last about 1 hours
Bug 154368 - Clicking in pre-filled form text-entry boxes doesn't place the cursor in the correct location.
Clicking in pre-filled form text-entry boxes doesn't place the cursor in the ...
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: firefox (Show other bugs)
3
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Christopher Aillon
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-11 03:28 EDT by Stephen Warren
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-10-01 11:13:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Stephen Warren 2005-04-11 03:28:22 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050323 Firefox/1.0.2 Fedora/1.0.2-1.3.1

Description of problem:
Clicking in pre-filled form text-entry boxes doesn't place the cursor in the correct location.

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

How reproducible:
Always

Steps to Reproduce:
1. Enter a new bug at bugzilla.redhat.com using the guided steps.
2. At the main page where you fill in description, steps to reproduce, etc., left-click in the pre-filled "Steps to Reproduce" text box (3 lines are present which are prefilled "1.", "2.", and "3.") Click on the very first line, after all text in that line.


Actual Results:  The cursor/caret is position prior to the very first character on line 1, despite clicking after all text on line 1. Clicking again does not move the cursor to the correct location.

Expected Results:  The cursor/caret should be positioned where the mouse is clicked. Since the mouse was clicked to the right of the text on line 1, any typing one performs should be appended to line 1, not pre-pended (i.e. the cursor/caret should be placed at the end of the line, not the start).

Additional info:

Attempting the same test on lines 2 or 3, or in the middle of any line (e.g. between the "1" and the "." on line 1) also incorrectly positions the cursor/caret.

After some amount of editing, the cursor will be correctly positioned when the mouse is clicked.
Comment 1 Stephen Warren 2005-04-11 03:29:46 EDT
After the cursor/caret has been incorrectly positioned, pressing the END key on
the keyboard won't move the cursor/caret to the end of the line. Instead, the
RIGHT cursor key must be used. Once the cursor/caret is at the end of the line,
pressing the END key will move the cursor/caret back to the beginning of the line.
Comment 2 Warren Togami 2005-09-30 15:45:39 EDT
Is this still an issue with the latest FC updates?

If so, can you reproduce the same bad behavior with MOZ_DISABLE_PANGO=1?
Comment 3 Stephen Warren 2005-09-30 16:54:53 EDT
Do you mean the lastest "yum update"'d FC3, or something like the latest dev
releases?
Comment 4 Stephen Warren 2005-10-01 03:27:51 EDT
With firefox-1.0.7-1.1.fc3 installed, I cannot reproduce the bug (I did not need
to set MOZ_DISABLE_PANGO=1).

I tested:
* Clicking at start/middle/end of each line in the text box
* Home/End keys
* Ctrl-Home/End keys
* Cursoring around
* Ctrl-Cursoring around (word jump)

All this worked correctly.

Thanks.

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