Closed Bug 269632 Opened 20 years ago Closed 20 years ago

Add paint flashing for OS/2

Categories

(Core Graveyard :: GFX: OS/2, defect)

x86
OS/2
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jonitis, Assigned: mkaply)

Details

Attachments

(1 file)

Attached patch diff -d -u -8Splinter Review
In bug 268090 Boris Zbarsky recommends to use paint flashing to investigate OS/2 problem. Here is the widget code to implement this for OS/2. Enable it under Edit-Preferences-Debug-Events-Paint flashing
Comment on attachment 165792 [details] [diff] [review] diff -d -u -8 This is just a port from Win32 nsWindow.cpp
Attachment #165792 - Flags: superreview?(mkaply)
Attachment #165792 - Flags: review?(mkaply)
Great, thanks. Flashes nicely for me.
Comment on attachment 165792 [details] [diff] [review] diff -d -u -8 Why is the change to eventStatus necessary?
Attachment #165792 - Flags: superreview?(mkaply)
Attachment #165792 - Flags: superreview+
Attachment #165792 - Flags: review?(mkaply)
Attachment #165792 - Flags: review+
Comment for Win32 nsWindow says that eventStatus != nsEventStatus_eIgnore is just an optimization to skip flashing those invalidations that are not handled by DispatchWindowEvent and thus will not be repainted by Mozilla. I thought it is good to keep both win32 and os/2 implementations as close as possible.
Comment on attachment 165792 [details] [diff] [review] diff -d -u -8 a=mkaply for 1.85
Attachment #165792 - Flags: approval1.8a5+
Fix checked into trunk.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: