Closed Bug 121246 Opened 23 years ago Closed 23 years ago

gtk2 has rendering bug in url bar, text fields

Categories

(Core :: XUL, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: blizzard, Assigned: blizzard)

References

Details

The gtk2 port doesn't always draw text properly in the url bar and in text fields. I suspect it's a problem with the regions implementation. Also, this bug looks familiar. I seem to think it has to do with the "single region" idea or something. I think that bryner might have found this bug in the old region code. Look there for clues.
Blocks: gtk2
Fixed. Easy patch: Index: nsWindow.cpp =================================================================== RCS file: /cvsroot/mozilla/widget/src/gtk2/nsWindow.cpp,v retrieving revision 1.22 diff -u -r1.22 nsWindow.cpp --- nsWindow.cpp 28 Jan 2002 08:11:50 -0000 1.22 +++ nsWindow.cpp 29 Jan 2002 23:23:17 -0000 @@ -495,7 +495,7 @@ PRBool aIsSynchronous) { GdkRegion *region = nsnull; - aRegion->GetNativeRegion((void *)region); + aRegion->GetNativeRegion((void *&)region); if (region) { GdkRectangle rect;
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.