Closed Bug 4202 Opened 26 years ago Closed 26 years ago

[PP] Regression: caret not drawn

Categories

(Core :: XUL, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: akkzilla, Assigned: pavlov)

Details

Sometime late last week or over the weekend, the blinking cursor became invisible on Linux. The timeout (nsCaret::CaretBlinkCallback) is firing correctly, and when we get to nsCaret::DrawCaret(), frameRect is {x = 3642, y = 681, width = 20, height = 192} (I assume these are twips), we call SetColor() then FillRect(frameRect) but nothing ever appears on the screen. Worked fine at the beginning of last week.
Summary: [PP] Regression: caret not drawn
BTW, we don't get the nonblinking triangle cursor either; not sure if that should be visible (I don't see one on a Win32 build from Monday).
You can turn the blue triangle on by uncommenting #define SHOW_SELECTION_CURSOR in nsTextFrame.cpp. From the sound of this bug, it seems like something in the view or frame system changed, like clip management, or some rendering context thing?
Rick said to cc ramiro on gfx bugs.
Target Milestone: M4
Marking P4 -- it's hard to use the editor when you can't see the caret. Any updates on this, Pav? I'm thinking about turning on the triangle cursor #ifdef unix 'cause we need something to tide us over until you figure out where the regression was ...
kipp - i have a feeling this has to do with your invalidate/update hacks. could you see?
Status: NEW → ASSIGNED
Target Milestone: M4 → M5
this may not be kipp's problem either. i'm not sure what is causing this, but we have the triangle, and there is a cursor showing up when in editor mode now.. it doesn't flash... marking this m5 and assigning it to me.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
this SHOULD be fixed. otherwise, mark it as resolved anyways. please verify.
Status: RESOLVED → VERIFIED
verified that there is both a caret and a blinking vertical bar/curson on RedHat 5.2 i386, build 1999-04-08-08 There is no caret on WinNT or MacOS 8.51 (1999-04-08-10, -09 respectively) but that is probably platform specific goodness.
for the record, the caret is there on all three platforms, and in addition, the non-blinking-triangle-cursor is also still there in linux. (i misunderstood this fact: caret == cursor && traingle_cursor == a hack that will soon disappear.) sorry for the misunderstanding
Thanks for the reminder! I need to remove the triangle now that the caret is back; will do so right after M4.
sorry for bugzilla spam. trying to get these off my radar
Status: RESOLVED → VERIFIED
reverifying (as of July 07, 1999 )
You need to log in before you can comment on or make changes to this bug.