Closed Bug 839073 Opened 13 years ago Closed 13 years ago

Titlebar is collapsed in private browsing windows

Categories

(Firefox :: Theme, defect)

x86_64
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 21

People

(Reporter: tetsuharu, Assigned: mconley)

References

Details

(Keywords: regression)

Attachments

(2 files, 1 obsolete file)

Attached image screenshot
[Environment] * OSX 10.8 * http://hg.mozilla.org/mozilla-central/rev/04e13fc9dbff Please see screenshot.
Keywords: regression
Hmm, is this a regression from bug 647216?
Mike, would this be an unintended consequences from private browsing's use of in-titlebar drawing for private browsing windows?
Blocks: PBnGen
Ouch, possibly. Hang on - lemme poke at this.
Assignee: nobody → mconley
STR: 1) Go to http://www.getpersonas.com and add a lightweight theme to Firefox 2) Open a Private Browsing window Result: See attachment 711336 [details] According to DOMi, we're getting burned by this rule: http://mxr.mozilla.org/comm-central/source/mozilla/browser/themes/pinstripe/browser.css#42 I don't believe we need this rule in this new drawing-titlebar-in-OSX world we're living in now. Give me some time to confirm.
Summary: Tabbar is buried on private browsing window → Titlebar is collapsed in private browsing windows when using lw-themes
(In reply to Mike Conley (:mconley) from comment #4) > > I don't believe we need this rule in this new drawing-titlebar-in-OSX world > we're living in now. Give me some time to confirm. Hm, so we *do* need this rule until we're permanently drawing in the titlebar a-la bug 625989.
Ugh, and I was wrong about needing to have a lw-theme installed. Was using the wrong build. The STR in comment 4 are no longer valid. Just opening a private browsing window is sufficient to expose the bug.
Summary: Titlebar is collapsed in private browsing windows when using lw-themes → Titlebar is collapsed in private browsing windows
Attached patch Patch v1 (obsolete) — Splinter Review
Don't display:none the titlebar if we're in a private browsing window.
Comment on attachment 711388 [details] [diff] [review] Patch v1 Hey Dao, does this work for you?
Attachment #711388 - Flags: review?(dao)
Blocks: 647216
Comment on attachment 711388 [details] [diff] [review] Patch v1 Or perhaps you have some cycles to review this, Marco?
Attachment #711388 - Flags: review?(dao) → review?(mak77)
Comment on attachment 711388 [details] [diff] [review] Patch v1 > #titlebar-buttonbox-container, >-#titlebar:not(:-moz-lwtheme) { >+#main-window:not([privatebrowsingmode=temporary]) > #titlebar:not(:-moz-lwtheme) { > display: none; > } I believe you want '#main-window:not([drawintitlebar=true]) > #titlebar' here. > #main-window[drawintitlebar="true"] > #titlebar { > height: 22px; > } And then you can change this to just #titlebar.
Attachment #711388 - Flags: review?(mak77) → review-
Attached patch Patch v2Splinter Review
Oh yes - good thinking. That's much more direct.
Attachment #711388 - Attachment is obsolete: true
Attachment #711824 - Flags: review?(dao)
Attachment #711824 - Flags: review?(dao) → review+
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 21
I think here is still an issue: Switching into (and out of) fullscreen with a PrivateMode Window with the shortcut SHIFT-CMD-F or CTRL-CMD-F is very smooth. But when you use the Fullscreen-Button then you will notice a short break with the titlebar and you will notice that there is not a nice transition while switching into (and out of) fullscreen. Same behavior, when you are in fullscreen with a PrivateMode Window and open a new one with SHIFT-CMD-P. Is this a known issue or should I file a new one ? Thanks.
Please file a new one.
(In reply to Josh Matthews [:jdm] from comment #17) > Please file a new one. Filed bug 839773. Thanks.
Depends on: 839773
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: