Closed
Bug 75158
Opened 24 years ago
Closed 5 months ago
`View' > `Show/Hide' menu items can't override window.open flags
Categories
(Core :: DOM: Core & HTML, defect, P5)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
INCOMPLETE
Future
People
(Reporter: mpt, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [p-ie/mac])
Attachments
(1 file, 2 obsolete files)
1.11 KB,
patch
|
Details | Diff | Splinter Review |
Build: 2001040408, Mac OS 9.1.
To reproduce:
* Open a Navigator window, and go to <http://numberfinder.com/>.
* Perform a search for anything.
* In the window which comes up, use the `View' > `Toolbars' submenu to turn
the toolbars back on.
What should happen:
* The items in the `View' > `Toolbars' menu should be unchecked, and checking
them should turn the toolbars back on.
What actually happens:
* The items in the `View' > `Toolbars' menu are checked, and unchecking them
and re-checking them has no effect.
Comment 1•24 years ago
|
||
The window that comes up for me doesn't have a menu bar, so I can't use the
View menu to re-show the toolbar.
Gerv
Comment 2•24 years ago
|
||
Doh! Of course. I see. MacOS. Yes. Right.
Gerv
Reporter | ||
Comment 3•24 years ago
|
||
That means pchen, I think.
OS: other → Mac System 9.x
Hardware: Other → Macintosh
Comment 5•24 years ago
|
||
yup, in 2001041008 builds, but I wasn't really surprised. Isn't this exactly what the author intended?
It wouldn't even be possible on another platform. Maybe the 'toolbar' item should just be greyed out?
regardless, reassigning to appropriate people.
Assignee: ben → pinkerton
Component: XP Apps: GUI Features → XP Toolkit/Widgets: Menus
QA Contact: claudius → jrgm
Comment 6•24 years ago
|
||
-> pchen
Assignee: pinkerton → pchen
Component: XP Toolkit/Widgets: Menus → XP Apps: GUI Features
Reporter | ||
Comment 7•24 years ago
|
||
I don't see what purpose disabling the items would serve, other than annoying
people. The author got what he/she asked for -- a window without chrome. Now
when I decide to turn the chrome on again (because it's *my* Web browser, not
the Web author's), the toolbar items don't do anything. I can turn the toolbars
back on in Internet Explorer, why not in Mozilla?
Whiteboard: [parity-ie/mac]
Comment 9•24 years ago
|
||
Sorry, I didn't realize this was Mac-only when I took it (I think I have
another bug somewhere on these items not working on other platforms when the
popup has a menubar). Back to Paul, but e-mail me if you're willing to send me
a mac and I'll respond with my address.
Assignee: blakeross → pchen
Priority: -- → P1
Target Milestone: --- → mozilla0.9.1
Comment 10•24 years ago
|
||
I have reproduced problem. Click on side tab to "close" the tab, then go to View
-> Toolbar and uncheck the item. It won't come back or show. Happens in Mail as
well as browser.
Comment 11•23 years ago
|
||
->default assignee
Assignee: pchen → blaker
QA Contact: jrgm → sairuh
Target Milestone: Future → ---
Comment 12•23 years ago
|
||
->XP Apps default assignee
Assignee: blaker → trudelle
Component: XP Apps: GUI Features → XP Apps
Comment 13•23 years ago
|
||
sorry, this was supposed to be XPApps: GUI Features
Assignee: trudelle → blaker
Component: XP Apps → XP Apps: GUI Features
Updated•23 years ago
|
Target Milestone: --- → Future
Comment 14•23 years ago
|
||
Also broken on Windows:
javascript:window.open("", "", "menubar=yes"); void 0
OS: Mac System 9.x → All
Hardware: Macintosh → All
Comment 15•23 years ago
|
||
*** Bug 75742 has been marked as a duplicate of this bug. ***
Reporter | ||
Updated•23 years ago
|
Summary: `View' > `Toolbars' items don't work in chromeless window → `View' > `Show/Hide' menu items can't override window.open flags
Whiteboard: [parity-ie/mac] → [p-ie/mac]
Reporter | ||
Comment 16•23 years ago
|
||
Scraps:
1.
<http://lxr.mozilla.org/mozilla/source/xpfe/browser/resources/content/navigator.js#1652>
2.
<http://lxr.mozilla.org/seamonkey/source/xpfe/browser/resources/content/navigatorOverlay.xul#167>
3. var chromehidden=document.documentElement.getAttribute("chromehidden");
var morechrome=chromehidden.replace(/\btoolbar\b/g," ");
if (chromehidden!=morechrome)
document.documentElement.setAttribute("chromehidden",morechrome)
else
do the usual thing
endif
Comment 17•23 years ago
|
||
taking... i got some lines from timeless which i converted into a real fix *eg*,
i will attach it as soon as my cygwin setup is finished... (or tomorrow,
whichever one comes first)
Assignee: blaker → rossi
Comment 18•23 years ago
|
||
Note that this patch does not do anything about the checkmarks on the menu
because they are persisted so changing them to reflect the window.open flags
would impact on new windows. Nor does this patch fix the sidebar.
Updated•23 years ago
|
Comment 19•23 years ago
|
||
Attachment #84058 -
Attachment is obsolete: true
Comment 20•22 years ago
|
||
Comment on attachment 84631 [details] [diff] [review]
Updated patch
I have talked to jst about this a while ago. We don't want to fix it this way,
since it will not update the window flags it needs to. There is going to be
some c++ stuff that I'll code up hopefully sometime soon that will take care of
this and some other problems with window features as well.
Attachment #84631 -
Flags: needs-work+
Comment 21•22 years ago
|
||
I've been looking for a placeholder for some of this stuff. This bug will do
just nicely.
Updated•21 years ago
|
Assignee: caillon → general
QA Contact: desale → ian
Comment 22•20 years ago
|
||
*** Bug 251329 has been marked as a duplicate of this bug. ***
Comment 23•20 years ago
|
||
*** Bug 244412 has been marked as a duplicate of this bug. ***
Updated•15 years ago
|
Assignee: general → nobody
QA Contact: ian → general
Mass-removing myself from cc; search for 12b9dfe4-ece3-40dc-8d23-60e179f64ac1 or any reasonable part thereof, to mass-delete these notifications (and sorry!)
Updated•2 years ago
|
Severity: normal → S3
Updated•1 year ago
|
Attachment #9384198 -
Attachment is obsolete: true
Updated•5 months ago
|
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•