Launchpad has imported 9 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=198759.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2006-07-13T11:05:01+00:00 Akira wrote:

Description of problem:
When press Up/Down key to move the cursor up/down, the cursor should keeps the
current column if the above/below line has the same length of text or more. but
the cursor goes to the top of line or the end of line.

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

How reproducible:
always

Steps to Reproduce:
1.move the cursor up/down on the textarea.
2.
3.
  
Actual results:
the cursor is moved to the top of line or the end of line.

Expected results:
should be the same column if the moved line has same length or more.

Additional info:
this issue is gone if I run firefox with MOZ_DISABLE_PANGO=1.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/36571/comments/8

------------------------------------------------------------------------
On 2006-07-13T11:18:19+00:00 Lawrence wrote:

I can reproduce the bug as well.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/36571/comments/9

------------------------------------------------------------------------
On 2006-08-30T13:37:46+00:00 Akira wrote:

Created attachment 135207
proposed patch

after some debugging, this issue was introduced by the misuse of the return
value from pango_layout_xy_to_index. after applying this patch, it works fine.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/36571/comments/13

------------------------------------------------------------------------
On 2006-09-05T22:57:29+00:00 Behdad wrote:

The patch has a couple of problems.

Just removing that "if (found)" block completely fixes the problem.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/36571/comments/14

------------------------------------------------------------------------
On 2006-09-06T03:30:28+00:00 Akira wrote:

You mean "if (!found)"?  it just works without even "if (!found)" block though,
I'm not quite sure what problems it has.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/36571/comments/15

------------------------------------------------------------------------
On 2006-09-06T07:06:11+00:00 Christopher wrote:

The problems the old patch had were that it got the direction for the context,
but it should have gotten the context for the line as they could be different. 
Also, your getting the direction didn't actually effect the program at all since
you did the same thing for both the if (dir == PANGO_DIRECTION_LTR) part and the
else part.

But all that said, there was no adjustment needed.  Pango does the right thing
with the positioning, and the return value is more informative than anything in
this specific case.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/36571/comments/16

------------------------------------------------------------------------
On 2006-09-06T07:08:33+00:00 Christopher wrote:

Created attachment 135626
Better Patch

Better patch.  Thanks for tracking the main issue down, tagoh!

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/36571/comments/17

------------------------------------------------------------------------
On 2006-09-06T10:00:00+00:00 Akira wrote:

I see. you're right. getting the direction didn't effect anything indeed. and
your patch is working fine.  Thanks for the clarification.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/36571/comments/19

------------------------------------------------------------------------
On 2006-09-12T02:52:16+00:00 Christopher wrote:

Fixed in latest versions in rawhide.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/36571/comments/20


** Changed in: firefox (Fedora)
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/36571

Title:
  strange cursor moving in textarea

Status in Mozilla Firefox:
  Fix Released
Status in firefox package in Ubuntu:
  Fix Released
Status in firefox package in Debian:
  Fix Released
Status in firefox package in Fedora:
  Fix Released

Bug description:
  I have noticed that cursor in textarea moves not like it used to in previous 
versions of Firefox (however, don't ask me in which version it started
  behaving incorrectly - I don't know exactly).

  For example, put some text (let's say 5 lines of text) in textarea  and start 
moving
  cursor using cursor keys. When the cursor is in the middle of line
  and you move it up, then it shouldn't skip to the first column of
  text like it does now...this makes editing of text rather uncomfortable.

  I have also noticed that the bug is gone in latest firefox builds.

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/36571/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to