Open Bug 345438 Opened 18 years ago Updated 2 years ago

Moving cursor back/forward in all forms and in the location bar leaves caret turds (with nv video driver installed)

Categories

(Core :: Layout, defect)

1.8 Branch
x86
Linux
defect

Tracking

()

People

(Reporter: larytet, Unassigned)

References

()

Details

(Whiteboard: )

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1b1) Gecko/20060710 Firefox/2.0b1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1b1) Gecko/20060710 Firefox/2.0b1

it is not easy to describe the problem it appears in both  FF 1.5 and 2.0 
i use official build of FF 2.0b1 and FF 1.5 which came with Ubuntu. Wide Screen, VAIO, laptop, geoforcego video card. problem appears only in FF application 

check the URL http://www.gomyplace.com/snaps/ff_snapshot1.png for a screencapture demonstrating the problem. Also the cursor itself. For example in this form (bug report) i see only half of the blinking cursor - it toggles between half at the top of the line and half at the bottom line, but never appears as a whole .
moving the cursor up and down leaves left overs on the screen too

while the bug does not prevent browsing it is extremely annoying, because apparently FF does not position cursor correctly

Reproducible: Always
We affectionately call these "caret turds". Martijn, I know you've made testcases for a few of these bugs. Can you figure out what's going on here? I have a feeling this is a dupe or some other caret turd bug.
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Summary: move of cursor back/forward in all forms and in the FF address bar leaves "echo" → Moving cursor back/forward in all forms and in the FF address bar leaves caret turds
Version: unspecified → 1.8 Branch
Arkady, can you give reliable steps to reproduce for this? E.g. a site where it's easy to reproduce the problem.
(In reply to comment #0)
> User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1b1)
> Gecko/20060710 Firefox/2.0b1
> Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1b1)
> Gecko/20060710 Firefox/2.0b1
> 
> it is not easy to describe the problem it appears in both  FF 1.5 and 2.0 
> i use official build of FF 2.0b1 and FF 1.5 which came with Ubuntu. Wide
> Screen, VAIO, laptop, geoforcego video card. problem appears only in FF
> application 
> 
> check the URL http://www.gomyplace.com/snaps/ff_snapshot1.png for a
> screencapture demonstrating the problem. Also the cursor itself. For example in
> this form (bug report) i see only half of the blinking cursor - it toggles
> between half at the top of the line and half at the bottom line, but never
> appears as a whole .
> moving the cursor up and down leaves left overs on the screen too
> 
> while the bug does not prevent browsing it is extremely annoying, because
> apparently FF does not position cursor correctly
> 
> Reproducible: Always
> 

i just have it all the time. I installed Ubuntu (i started from kubuntu and thought that may be KDE is to blame). Sony VAIO, laptop, Wide screen. The setup is just a default setup - "click next" installation.  and i have this problem constantly. No workarounds so far. 
another thing. I have something similar in Eclipse. Not in the dialogs (they are SWT and native and not suprisingly work), bujt in the text area. the phenomenon, much less pronounced. From time to time cursor leaves a "thurd", but it is a farely rare condition. 
I tried to change system fonts, play with that advanced font settings in KDE. nothing. Eventually switched to Konqueror on that machine. I use the machine with kdevelop/eclipse so i do nto need fancy browser. on other machines (Ubuntu with 2 different desktops and Win32) i use Firefox. 
May be the problem is wide screen ? something wrong in the font scaling in GTK/KDE/Gnome ?
...another thing. the problem affects not only HTML forms (like on that screen capture), but ALL text fields, including address bar. that is why i think that somethig is wrong with X11/KDE/Gnome "glue"
What do **** mean?
(In reply to comment #5)
> What do **** mean?
> 
in my case 
small thin vertical bars between the letters in the editable text areas left after user moves the cursor
uri: is this similar to bug 313940?
(In reply to comment #7)
> uri: is this similar to bug 313940?
> 

In my case the problem appears literally everywhere, not only in the HTML forms, but aslo in the Address bar of the Firefox, where you put URL and this is the most annoying. I am not sure that the bug is related to some CSS settings, but i do not  know enough about inners of the Firefox. Screen resizing does not help, but i did not try to change screen width/height ratio. On the laptop where i experience the problem - this is a wide screen Sony Vaio.

It indeed looks like cursor blinks between point and line, but it is really hard to say.
And again - the problem is consistent. From time i filled the bug report i went through major update of Ubuntu. The problem appears both in KDE and Gnome. On all other machiens i do not see the phenomenon. Only on the wide screen laptop.
(In reply to comment #7)
> uri: is this similar to bug 313940?

This appears to be a 1.8 branch problem (judging by the User-Agent, etc). It's probably a dupe of one of the other "caret leaves turds" bugs.
(In reply to comment #9)
> (In reply to comment #7)
> > uri: is this similar to bug 313940?
> 
> This appears to be a 1.8 branch problem (judging by the User-Agent, etc). It's
> probably a dupe of one of the other "caret leaves ****" bugs.
> 

Interesting also that on the same laptop with Windows Firefox works just fine. The problem appeared when i installed Ubuntu. I do not know what is branch 1.8
I see this issue, as well as turds left by oocalc's selected cell lower right hand corner handle, on one machine when using the 'nv' driver, but not with the 'nvidia' driver.
...and, wfm on trunk m.o builds, turds on branches.
(In reply to comment #10)
> Interesting also that on the same laptop with Windows Firefox works just fine.
> The problem appeared when i installed Ubuntu. I do not know what is branch 1.8

The 1.8 branch means Firefox 1.5 (and nightly builds leading up to Firefox 2.0).
I've seen this with firefox 1.5x and 2.0x on kubuntu using the nv driver for my nvidia card. it went away when using the nvidia proprietary driver.
I have exactly the same problem with Firefox 1.5.0.7 on Debian, with the nv driver.
I have the same problem with 1.5.0.8 and Ubuntu.

I'm using nvidia-glx package with nv driver.

This problem occours also in thunderbird.

Always that I click in any text in the browser (editing or a plain text in a web) create a vertical mark in it.

In Ubuntu bugs: https://launchpad.net/distros/ubuntu/+source/firefox/+bug/50768
I'd be interested to know when this was fixed on trunk, since Tuukka says it is (comment 12).

I'd also be interested to know if the patch in bug 335065 fixes this on branch, and if it does, if it would be suitable to go in on branch. (Unfortunately, it doesn't look like it is since it changes APIs.)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: qawanted
Summary: Moving cursor back/forward in all forms and in the FF address bar leaves caret turds → Moving cursor back/forward in all forms and in the location bar leaves caret turds (with nv/nvidia video driver installed)
(In reply to comment #17)
> I'd be interested to know when this was fixed on trunk, since Tuukka says it is
> (comment 12).

I bet this was fixed by the caret overhaul (bug 287813).

> I'd also be interested to know if the patch in bug 335065 fixes this on branch,
> and if it does, if it would be suitable to go in on branch. (Unfortunately, it
> doesn't look like it is since it changes APIs.)

It won't help on branch since it relies on the patches for bug 287813 and friends. I think this bug is caused by improper/faulty implementations of the XOR operator on the various video cards mentioned here.
Summary is now: Moving cursor back/forward in all forms and in the location bar leaves caret **** (with nv/nvidia video driver installed)

However on my machine, the bug occurs with the nv driver, but not with the nvidia driver. See comment #11 and comment #14 for similar reports.
Summary: Moving cursor back/forward in all forms and in the location bar leaves caret turds (with nv/nvidia video driver installed) → Moving cursor back/forward in all forms and in the location bar leaves caret turds (with nv video driver installed)
Just to chime in, I was about to report this highly annoying bug when I discovered your bug report in which you describe it very well.  I am seeing this consistantly in Firefox 1.5.0.9 and Thunderbird 1.5.0.9 with both Fedora Core 4 and 6 and using NVidia nv drivers.
Here's my "me too": interestingly, this started happening to me when I had to upgrade to a new video card. Previous day with a GeForce2 MX/MX400 (nv driver, xorg-x11-7.0-r1, gnome-2.12.3), no ****; next day with eGeForce 6200 A-LE (no changes to software), **** everywhere. Only Firefox (1.5.0.4) and Thunderbird (1.5.0.5) were affected, but in those programs _every_ text box/area was affected, including the URL/location bar in FF and when composing e-mails in TB.  (All software compiled from source, stable versions.)

Because I was experiencing some other minor annoyances and had "fallen behind" in upgrading my software for a few months, I decided to do a complete reinstall of my entire Gentoo system from scratch, but it didn't fix this particular problem -- still as described above. Recent upgrade to Firefox 2.0.0.1 didn't fix it either. Current versions: xorg-x11-7.1, nv driver, gnome-2.16.1, mozilla-firefox-2.0.0.1, mozilla-thunderbird-1.5.0.9.

- dcljr
OBTW, my monitor is an LCD running at its native 1600x1200 resolution, 24-bit color (TrueColor), 'Xorg.0.log' reports X is actually release 7.1.1 and states "Display dimensions: (410, 310) mm" and "DPI set to (99, 98)", if any of that is significant.

- dcljr
Someone claimed that this bug disappears by

Option "XaaNoSolidFillRect"

https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/50768/comments/9

Maybe give it a try.
In Ubuntu 7.04 the problem can be solved via adding proprietary Nvidia driver. Enable Desktop effects in System->Preferences. Ubuntu will install the driver.

The bug was so annoying that even after almost a month of not experiencing the bug I still find it difficult to use message boadrs/e-mail in Firefox. Pure psychology at work.
This is still showing up in the 3.0b3pre nightly.  I'm using X Window System Version 7.2.0 and gtk 2.0
It's fixed for me with the 3.7a1pre nightlies, using x11-server-xorg 1.6.1-5.7 and gtk 2.16.1
Whiteboard:
Can anyone still reproduce this issue?

It works fine for me on the latest builds.
Keywords: qawanted
(In reply to Ioana Budnar, QA [:ioana] from comment #28)
> Can anyone still reproduce this issue?

Not with the "nouveau" driver.

> It works fine for me on the latest builds.

This bug mentions the "nv" driver. Do you still use this driver?

The nv driver has been superseded by the nouveau driver several years ago. Thus this bug should be closed IMHO, either as WORKSFORME if users of the nv driver (if there's any) can't reproduce it, or as WONTFIX.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.