Incorrect cursor positioning in Firefox.

Bug #413950 reported by Arroc
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mozilla Firefox
Invalid
High
firefox-3.5 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: firefox-3.5

From the "Organize Bookmarks" menu, when I try to drag a folder or bookmark, the destination that is highlighted is significantly above (misaligned) with the cursor. The destination folder should be exactly beneath the cursor location.

ProblemType: Bug
Architecture: i386
Date: Sat Aug 15 03:54:12 2009
DistroRelease: Ubuntu 9.10
Package: firefox-3.0 (not installed)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-5.24-generic
SourcePackage: firefox-3.0
Uname: Linux 2.6.31-5-generic i686

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Confirmed - just seen the same thing myself.

Changed in firefox-3.5 (Ubuntu):
status: New → Confirmed
Revision history for this message
Vish (vish) wrote :

I actually has nothing to do with bookmarks.
It is just the cursor positioning is totally wrong.

To test:
1: Type text with several[>4] lines in a comments section[example: LP]
2: Now select text and drag the text

Noticed behavior:
If you have selected text in the *first three* lines of the comment box and are dragging it , the cursor is missing,
Now while dragging the text , bring down the pointer while holding the text , when the pointer is in line 3 , you will now see the cursor in line 1 ...!

Actual behavior:
Cursor should appear in the same position as the pointer[IIRC half a line above the pointer]

This problem is only specific to firefox and not in any other app.

Another issue is , when moving the cursor in the comments with arrow keys , the cursor shows a lag.[this is when firefox is open for several hrs. this is all new behavior ]

This bug should be titled properly and into how firefox handles cursor position.

Arroc (fratercratus)
summary: - Drag in drop in "Organize Bookmarks" is misaligned.
+ Incorrect cursor positioning in Firefox.
Revision history for this message
In , Vish (vish) wrote :

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2) Gecko/20090810 Ubuntu/9.10 (karmic) Firefox/3.5.2
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2) Gecko/20090810 Ubuntu/9.10 (karmic) Firefox/3.5.2

Problem is seen during:
1: Drag-and-drop of text in a text field [eg: comments box]
2: Drag-and-drop while organizing bookmarks

Reproducible: Always

Steps to Reproduce:
A: Drag and drop of text in a text field [eg: comments box]
For single-line text input boxes
1. Type and Select text
2. Now drag the text
3. Cursor is missing

For text input boxes which have several lines [eg: comments box]
1. Type text for several lines > 4 lines
2. Select text in the First line
3. Now drag the text in the First line
4. Cursor is missing
5. Now drag the text , from the first line , lower so that the mouse pointer is now on the 4th line
6. notice the cursor in the first line !

While organizing bookmarks:
1. select bookmark and drag it
2. Drag it over to the Left pane , to drop in a folder
3. Notice the cursor position is always higher than the pointer [about 2-3 lines higher]
Actual Results:
For single line text boxes and large input boxes:
The cursor is missing when the pointer is in the first line
and cursor is visible in first line only when the pointer in brought much lower.

For bookmarks:
Cursor is always higher than the pointer position. which leads to improper drops

Expected Results:
Cursor should always be positioned near the pointer.
Only this will allow easier and predictable drag-and-drop.

When dragging tabs , this also leads to tearing off of the tab and new windows are opened > https://bugs.launchpad.net/ubuntu/+source/firefox-3.5/+bug/413950/comments/4

These behavior is noticed only in firefox and thunderbird apps , in all other apps position the cursor is always near the pointer.

This did not happen in the previous versions of the apps.

I'v also tested with
- mozilla build of 3.5.2 and
- Ubuntu 3.7 version of firefox[ppa], the issue is present in all the versions.

Lp firefox bug > https://bugs.launchpad.net/ubuntu/+source/firefox-3.5/+bug/413950
Lp thunderbird bug > https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/403325

Also to note :
when the bookmarks are dragged within the right pane or when dragged in the bookmarks drop-down menu , the cursor is positioned correctly [near the pointer]

Revision history for this message
Vish (vish) wrote :

I tested this with the upstream build.
http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.5.2/linux-i686/en-US/firefox-3.5.2.tar.bz2

This problem exists with the upstream build too.

Revision history for this message
sparr (sparr0) wrote :

I am seeing a possibly related issue with dragging tabs, occasionally what I intend to be a horizontal drag (or even a click) will be interpreted as enough of a vertical drag to tear the tab off into a new window.

Revision history for this message
In , Mozilla-bugs-micahscomputing (mozilla-bugs-micahscomputing) wrote :

Reed added per Alexander Sack

Changed in firefox:
status: Unknown → New
Revision history for this message
In , Tanner-sumo-bugs (tanner-sumo-bugs) wrote :

Changing to Drag and Drop...

Revision history for this message
In , Dominik George (natureshadow) wrote :

I see this happen in Thunderbird when moving mails. but only if the folder pane has been scrolled at leasrt once after startup.

Revision history for this message
Norbert Nemec (nnemec) wrote :

Same for me:
firefox 3.5 and thunderbird 2.0.0 show the same problem.
[Kubuntu (Jaunty+some updates to Karmic) on two different machines]
The size of the vertical offset is roughly the height of the window header (menu+toolbar) so there might be a connection.
The problem has annoyed me for several months now. I have tried various combinations of versions of the libraries that the programs use without any success.

Revision history for this message
Vish (vish) wrote :

this bug has been solved.!
did anyone happened to notice which update fixed this?

Probably some other bug was causing this effect on firefox and thunderbird?

Revision history for this message
Norbert Nemec (nnemec) wrote :

What system are you running? What kind of updates did you do recently?

Revision history for this message
Vish (vish) wrote :

@Norbert Nemec :
I'm running , Karmic , fully up-to-date... i had problems even on 2009-08-24 , but there has been no xulrunner or firefox updates since....
Which makes me believe that some other bug was causing this.

see related thunderbird bug > https://bugs.launchpad.net/bugs/403325

Revision history for this message
Norbert Nemec (nnemec) wrote :

Thanks! Seems like the following update solved the problem for me:

libgnutls26 2.6.6-1 -> libgnutls26_2.8.3-2_amd64.deb
libgail-common 2.17.7-0ubuntu3 ->libgail-common_2.17.10-0ubuntu1_amd64.deb
libgail18 2.17.7-0ubuntu3 -> libgail18_2.17.10-0ubuntu1_amd64.deb
libgtk2.0-0 2.17.7-0ubuntu3 -> libgtk2.0-0_2.17.10-0ubuntu1_amd64.deb

Revision history for this message
In , Martin Emrich (emme) wrote :

All people affected by this seem to have been users of Ubuntu karmic development releases. Since a few weeks before the release, this was fixed at least for me in Ubuntu 9.10. I wonder if it is still affecting anyone...

Revision history for this message
In , Vish (vish) wrote :

(In reply to comment #4)
> All people affected by this seem to have been users of Ubuntu karmic
> development releases. Since a few weeks before the release, this was fixed at
> least for me in Ubuntu 9.10. I wonder if it is still affecting anyone...

I'm the original reporter of this bug , The bug seems solved for me. But oddly *not* fixed by an update in firefox.
Seems that something else was affecting firefox and thunderbird simultaneously.

Revision history for this message
In , Martin Emrich (emme) wrote :

Yes, I assume it was an Ubuntu-related problem, so IHMO this bug could be set to RESOLVED/WORKSFORME (My bugzilla account seems not to allow this change).

Revision history for this message
In , Tobbi-bugs (tobbi-bugs) wrote :

Resolving as worksforme.

Revision history for this message
Micah Gersten (micahg) wrote :

Is anyone still experiencing this? Upstream just closed as works for me.

Changed in firefox-3.5 (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Norbert Nemec (nnemec) wrote :

Guess, the few library updates mentioned before really fixed the problem.

Changed in firefox-3.5 (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Looks good to me.

Changed in firefox:
status: New → Invalid
Changed in firefox:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.