Closed
Bug 770058
Opened 12 years ago
Closed 12 years ago
Switching main window between active and inactive doesn't update the title bar active state if disabled MenuBar in Window7Classic Style
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: alice0775, Assigned: roc)
References
Details
(Keywords: regression)
Attachments
(2 files, 2 obsolete files)
11.45 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
1.24 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
Build Identifier: http://hg.mozilla.org/mozilla-central/rev/d9d61d199b11 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Firefox/16.0 ID:20120701030537 This maybe happens in Windows7 Classic style only. Steps to Reproduce: 1. Make sure "Windows7 Classic Style" is selected 2. Start Firefox with clean profile (MenuBar is disabled) 3-1. Switch to another application (Alt+Tab) -- Observe TitleBar Color 3-2. Switch to Nightly again (Alt+Tab) -- Observe TitleBar Color Actual Results: The TitleBar color does not change Expected Results: The TitleBar should change . Mouse over Window Control Buttons(Minimum/Maximize/Close) helps. Good: http://hg.mozilla.org/integration/mozilla-inbound/rev/0d9f7fb55226 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Firefox/16.0 ID:20120629192951 Bad: http://hg.mozilla.org/integration/mozilla-inbound/rev/cd6d52bdf2d8 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/16.0 Firefox/16.0 ID:20120629200651 Pushlog: http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=0d9f7fb55226&tochange=cd6d52bdf2d8 Suspected: Bug 539356
Assignee | ||
Comment 1•12 years ago
|
||
It's probably this change to PresShell::DocumentStatesChanged: - if (aStateMask.HasState(NS_DOCUMENT_STATE_WINDOW_INACTIVE)) { - nsIFrame* root = mFrameConstructor->GetRootFrame(); - if (root) { - root->InvalidateFrameSubtree(); - } - } + ScheduleViewManagerFlush(); We still need to do that InvalidateFrameSubtree to invalidate frames that have native-theme backgrounds that have changed.
Assignee | ||
Comment 2•12 years ago
|
||
Assignee: nobody → roc
Attachment #638256 -
Flags: review?(matt.woodrow)
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #638257 -
Flags: review?(matt.woodrow)
Assignee | ||
Comment 4•12 years ago
|
||
Only call GetChildLists, not GetCrossDocChildLists, because this gets called on every document anyway.
Attachment #638257 -
Attachment is obsolete: true
Attachment #638257 -
Flags: review?(matt.woodrow)
Attachment #638258 -
Flags: review?(matt.woodrow)
Comment 5•12 years ago
|
||
FWIW (not much), those don't seem to fix the not-yet-marked-dupe bug 770081 on OS X.
Assignee | ||
Comment 6•12 years ago
|
||
Hmm, maybe that uses nsILookAndFeel colors or something?
Assignee | ||
Comment 7•12 years ago
|
||
I sure hope this fixes it. I don't have any bigger sledgehammers.
Attachment #638258 -
Attachment is obsolete: true
Attachment #638258 -
Flags: review?(matt.woodrow)
Attachment #638268 -
Flags: review?(matt.woodrow)
Updated•12 years ago
|
Attachment #638268 -
Flags: review?(matt.woodrow) → review+
Updated•12 years ago
|
Attachment #638256 -
Flags: review?(matt.woodrow) → review+
Comment 8•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/071d6332729b https://hg.mozilla.org/integration/mozilla-inbound/rev/6266a1336e2d
Updated•12 years ago
|
OS: Windows 7 → All
Hardware: x86 → All
Comment 9•12 years ago
|
||
I'm not sure which All this one is, but it's All minus OS X, which is bug 770056.
Comment 10•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/071d6332729b https://hg.mozilla.org/mozilla-central/rev/6266a1336e2d
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
Comment 11•12 years ago
|
||
Backed out as part of DLBI: https://hg.mozilla.org/mozilla-central/rev/6266a1336e2d https://hg.mozilla.org/mozilla-central/rev/071d6332729b
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 12•12 years ago
|
||
Backed out (see bug 539356 comment 337): https://hg.mozilla.org/integration/mozilla-inbound/rev/d3f86e3a3240
Comment 13•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5f4c8635e87e https://hg.mozilla.org/mozilla-central/rev/9366a70acb1d
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Target Milestone: mozilla16 → mozilla18
You need to log in
before you can comment on or make changes to this bug.
Description
•