Closed
Bug 575449
Opened 13 years ago
Closed 13 years ago
Firefox Menu Button appears on Javascript PopUp Windows - but Not in the Title bar
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
FIXED
Firefox 4.0b2
People
(Reporter: ronin.achilles, Assigned: dao)
References
()
Details
Attachments
(3 files)
User-Agent: Mozilla/5.0(Windows; U; Windows NT 5.2; rv:1.9.2) Gecko/20100101 Firefox/3.6 Build Identifier: Mozilla/5.0(Windows; U; Windows NT 5.2; rv:1.9.2) Gecko/20100101 Firefox/3.6 The popup windows opened via javascript commands currently show the titlebar in the old style. The Firefox Button is pushed downwards, whereas it should either: - Not appear at all OR - Appear in the Title Bar Reproducible: Always
Reporter | ||
Comment 1•13 years ago
|
||
Comment 2•13 years ago
|
||
This is the probably the same or similar to bug 575291 but that bug doesn't have a screenshot.
Mozilla/5.0 (Windows; U; Windows NT 6.1; WOW64; en-US; rv:2.0b2pre) Gecko/20100629 Minefield/4.0b2pre Same issue. Reproducible for me, will try with a clean profile.
![]() |
||
Comment 4•13 years ago
|
||
(In reply to comment #3) > Created an attachment (id=454861) [details] > Same issue in a slightly different position > > Mozilla/5.0 (Windows; U; Windows NT 6.1; WOW64; en-US; rv:2.0b2pre) > Gecko/20100629 Minefield/4.0b2pre > > Same issue. Reproducible for me, will try with a clean profile. Thanks for pointing this out, was just working on it. Do you have a site that reproduces this? (It's a different bug really - bug 575228.)
![]() |
||
Comment 5•13 years ago
|
||
(In reply to comment #4) > (In reply to comment #3) > > Created an attachment (id=454861) [details] [details] > > Same issue in a slightly different position > > > > Mozilla/5.0 (Windows; U; Windows NT 6.1; WOW64; en-US; rv:2.0b2pre) > > Gecko/20100629 Minefield/4.0b2pre > > > > Same issue. Reproducible for me, will try with a clean profile. > > Thanks for pointing this out, was just working on it. Do you have a site that > reproduces this? (It's a different bug really - bug 575228.) (I guess maybe espn might be a good guess..) ;)
![]() |
||
Updated•13 years ago
|
OS: Windows Server 2003 → Windows 7
Assignee | ||
Updated•13 years ago
|
Assignee | ||
Updated•13 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → dao
![]() |
||
Comment 6•13 years ago
|
||
Dao, any idea why we're picking up the maximized state from the other window on a popup window?
Comment 7•13 years ago
|
||
Would it be in the javascript?
Assignee | ||
Comment 8•13 years ago
|
||
I hadn't even noticed this yet. Must be a widget bug, I think. I'll test if this happens on Linux as well.
Assignee | ||
Comment 9•13 years ago
|
||
Also happens on Linux...
Assignee | ||
Comment 10•13 years ago
|
||
And with Firefox 3.6.3.
Assignee | ||
Updated•13 years ago
|
Assignee | ||
Comment 11•13 years ago
|
||
The really simple explanation for why the sizemode attribute is inherited to the popup is that the window element in browser.xul persists it. But I guess the persisted attribute is applied too late or some other code fails to clobber it.
Assignee | ||
Comment 13•13 years ago
|
||
Attachment #455405 -
Flags: review?(gavin.sharp)
Comment 14•13 years ago
|
||
Comment on attachment 455405 [details] [diff] [review] patch >diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js >+ var displayAppButton = menubarHidden && >+ document.documentElement.getAttribute("chromehidden").indexOf("menubar") == -1; !window.menubar.visible
Attachment #455405 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 15•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/519d798e7855
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7b2
Reporter | ||
Comment 16•13 years ago
|
||
I think this landed alongside Bug 571813. The Full Screen issue is resolved but I still see the App Button on Popup Windows. Will wait for the next hourly and report if it persists. To reproduce - use the bookmarklet here... http://www.facebook.com/share_options.php
Comment 17•13 years ago
|
||
(In reply to comment #16) > I still see the App Button on Popup Windows. > > To reproduce - use the bookmarklet here... > http://www.facebook.com/share_options.php This popup now returns the standard titlebar with text, no app menu, no custom titlebar and a location bar. Did you try without any extensions or custom styling, clean profile? Before it was the custom titlebar and app menu.
Reporter | ||
Comment 18•13 years ago
|
||
(In reply to comment #17) > (In reply to comment #16) > > I still see the App Button on Popup Windows. > > > > To reproduce - use the bookmarklet here... > > http://www.facebook.com/share_options.php > > This popup now returns the standard titlebar with text, no app menu, no custom > titlebar and a location bar. Did you try without any extensions or custom > styling, clean profile? Before it was the custom titlebar and app menu. :) Very Strange... if you have browser.tabs.closeWindowWithLastTab set to False... you will see the Menu Button in Pop Up window... go figure!!
Comment 19•13 years ago
|
||
(In reply to comment #18) > (In reply to comment #17) > > (In reply to comment #16) > > > I still see the App Button on Popup Windows. > > > > > > To reproduce - use the bookmarklet here... > > > http://www.facebook.com/share_options.php > > > > This popup now returns the standard titlebar with text, no app menu, no custom > > titlebar and a location bar. Did you try without any extensions or custom > > styling, clean profile? Before it was the custom titlebar and app menu. > > :) Very Strange... if you have browser.tabs.closeWindowWithLastTab set to > False... you will see the Menu Button in Pop Up window... go figure!! Confirming, that case shows custom titlebar and app menu.
Comment 20•13 years ago
|
||
(In reply to comment #19) > (In reply to comment #18) > > browser.tabs.closeWindowWithLastTab set to False... you will see the Menu Button in Pop Up window > Confirming, that case shows custom titlebar and app menu. Or the regular titlebar I seen again with the appmenu showing. Might want to file a separate bug for that.
Assignee | ||
Comment 22•13 years ago
|
||
(In reply to comment #15) > http://hg.mozilla.org/mozilla-central/rev/519d798e7855 here's the right one: http://hg.mozilla.org/mozilla-central/rev/1f59c5f4d8d3
You need to log in
before you can comment on or make changes to this bug.
Description
•