Closed
Bug 312106
Opened 19 years ago
Closed 18 years ago
Caret never gets unpainted
Categories
(Core :: Graphics, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: djcater+bugzilla, Unassigned)
References
Details
(Keywords: testcase, Whiteboard: cairo)
Attachments
(2 files)
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20051009 Firefox/1.6a1 Place caret in location bar at end of URL. Hold down left arrow. View textbox full of carets. I tried to screenshot this behaviour, but when I do the window sort of refreshes and they disappear. Basically a caret after every letter, unblinking. Any sort of reflow removes the carets.
Comment 1•19 years ago
|
||
Here's a screenshot from Windows XP (also showing that it's not a Linux-specific problem).
Comment 2•19 years ago
|
||
*** Bug 324718 has been marked as a duplicate of this bug. ***
Updated•19 years ago
|
OS: Linux → All
Comment 3•19 years ago
|
||
This is due to XOR/InvertRect no longer doing a bitwise XOR operation. We don't really have a good solution to that problem. One idea for fixing this include having the caret code blit from the backbuffer to the front and then draw the caret on the front. when it wants to undraw, it should just copy from the back buffer. I'm sure there are some other ways as well.
Comment 4•18 years ago
|
||
can this one be resolved Stuart ? Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060210 Firefox/1.6a1 ID:2006021023 / Cairo WFM
No, it's still an issue, just not as visible -- try moving the caret with the cursor keys in an entry box.
Comment 6•18 years ago
|
||
As was noted on MozillaZine, aside from sometimes cutting off letters, the current hack-fix erases the caret by drawing it over with white - on a site with dark textboxes, you get white leftovers (if you have good eyes you can see this with the yellow address bar on https sites like bugzilla).
Comment 7•18 years ago
|
||
Updated•18 years ago
|
Whiteboard: cairo
Comment 8•18 years ago
|
||
Also drawing it over with white is very visible on yellow https url. There's a related problem (worthy of another bug entry ?). With some large url (that also have an rss feed ?), when you move and scroll to the end of the url, the caret gets actually badly positionned wrt the characters in addition to the bad redrawing. The "Bugs Filed Today" url on bugzilla is a good exemple : https://bugzilla.mozilla.org/buglist.cgi?product=Core&product=Firefox&product=Mozilla+Application+Suite&product=Thunderbird&product=Toolkit&bug_status=UNCONFIRMED,NEW,ASSIGNED,REOPENED,RESOLVED&chfield=%5BBug%20creation%5D&chfieldfrom=-0d
Comment 10•18 years ago
|
||
*** Bug 332507 has been marked as a duplicate of this bug. ***
*** Bug 333753 has been marked as a duplicate of this bug. ***
Updated•18 years ago
|
Flags: blocking1.9a1?
Comment 12•18 years ago
|
||
This is fixed by bug 287813. (I confirmed on Windows) -> FIXED
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 13•18 years ago
|
||
Sorry, I reopen this. The caret is drawn by black, not invert. -> REOPEN
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 14•18 years ago
|
||
if the caret gets unpainted lets close this. open another bug on the blackness of the caret.
Status: REOPENED → RESOLVED
Closed: 18 years ago → 18 years ago
Resolution: --- → FIXED
Comment 15•18 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060418 Firefox/3.0a1 ID:2006041810 [cairo] verified
Status: RESOLVED → VERIFIED
Comment 16•18 years ago
|
||
(In reply to comment #14) > if the caret gets unpainted lets close this. open another bug on the blackness > of the caret. > I opended bug 334635.
Comment 17•18 years ago
|
||
*** Bug 331195 has been marked as a duplicate of this bug. ***
Updated•18 years ago
|
Flags: blocking1.9a1?
You need to log in
before you can comment on or make changes to this bug.
Description
•