Closed Bug 408095 Opened 17 years ago Closed 17 years ago

Screen artifacts when opening a hidechrome window

Categories

(Core :: Widget: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9beta3

People

(Reporter: skrulx, Assigned: kinetik)

References

Details

Attachments

(3 files)

When opening a hidechrome window on gtk, there is always a brief appearance of a 200x200 gray box before the actual window opens up. You can catch this gray box in action if you breakpoint nsWindow::HideWindowChrome (http://mxr.mozilla.org/seamonkey/source/widget/src/gtk2/nsWindow.cpp#4041), open a hidechrome windoiw, and step through the method. The gray box will appear after you step past the call to XSync(). Attached is a screen shot of the gray box right after the XSync() line was run. Also attached is the XUL file that opens a hidecrhome window that I used to reproduce the bug.
Attached image gray box in the wild (deleted) —
Attached file opens a hidechrome window (deleted) —
Attachment #292819 - Attachment mime type: image/png → image/jpg
Attached patch patch (deleted) — Splinter Review
Consider current window visibility when doing hide/show dance in nsWindow::HideWindowChrome.
Assignee: nobody → kinetik
Status: NEW → ASSIGNED
Attachment #296871 - Flags: superreview?(roc)
Attachment #296871 - Flags: review?(roc)
Attachment #296871 - Flags: superreview?(roc)
Attachment #296871 - Flags: superreview+
Attachment #296871 - Flags: review?(roc)
Attachment #296871 - Flags: review+
Comment on attachment 296871 [details] [diff] [review] patch very straightforward patch, low risk
Attachment #296871 - Flags: approval1.9+
Whiteboard: checkin-needed
Keywords: checkin-needed
Whiteboard: checkin-needed
Checking in widget/src/gtk2/nsWindow.cpp; /cvsroot/mozilla/widget/src/gtk2/nsWindow.cpp,v <-- nsWindow.cpp new revision: 1.249; previous revision: 1.248 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9 M11
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: