Closed Bug 52969 Opened 25 years ago Closed 25 years ago

Need to not show 'View->Text Size' menu on the Mac

Categories

(SeaMonkey :: UI Design, defect, P2)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jrgmorrison, Assigned: jag+mozbugs)

References

Details

(Whiteboard: [nsbeta3-][PDTP2][rtm++])

Attachments

(1 file)

See (bug 39117). The text scaling functionality doesn't work _at_all_ on the Mac, and it looks like this will not be fixed for NS6 (that bug is not [nsbeta3+] at this time). That begs the question: why do we even have 'View->Text Size' in the menu on Mac if it is known to be broken? I suppose we need to use platformGlobalOverlay.xul to conditionally overlay this menu depending on mac/linux/win32. So this bug is to rework the XUL/JS/DTD for this menuitem so that it is available on a platform by platform basis. Peter 'jag' Annema (disttsc@bart.nl) has recently rewritten most of this stuff so it would be best to coordinate this work with him. nom. nsbeta3: there is no point in shipping a menu on Mac for a feature that is known not to work on Mac.
Depends on: 39117
Keywords: nsbeta3, rtm
Okay, that can be done, but I suggest creating a new file called platformViewOverlay.xul (.js, .dtd), or something like that. Doing that should be fairly straightforward. Can we put those files in xpfe/browser/resources/content/ (and locale/en-US/), add them to unix/jar.mn and win/jar.mn, then put an "empty" version of those in mac/ and refer to that in mac/jar.mn?
I'll leave the particulars of how to do it up to people who know better (i.e., not me :-]). It does seem like a good thing not to have two implementations of the same overlay, when the code in this case is identical for win32 and linux (but an overlay with no elements on mac).
Triage team: Please consider plussing bug 39117 instead of this one if at all possible.
nsbeta3+ to fix either 39117 or this one.
Whiteboard: [nsbeta3+]
Well, I guess I wait on bug #39117 ...
Priority: P3 → P2
Whiteboard: [nsbeta3+] → [nsbeta3+] Waiting on resolution of bug #39117
Another option, if bug 39117 doesn't get fixed in time, is to hide the menuitem in initViewMenu() when we're on a Mac, or initially hide it and only turn it on when we're not. See navigator.js, function EnableBusyCursor(doEnable) for an example of "not a Mac" code. This is easier to undo than using platform overlays, which also signal a "by design" solution, which this really isn't.
If this bug is waiting on 39117, please contact the bug owner and manager and get that bug triaged. We need to understand complexity of the bug that your depending on, and that should be reflected in a triage marking. Adding PDTP2
Whiteboard: [nsbeta3+] Waiting on resolution of bug #39117 → [nsbeta3+][PDTP2] Waiting on resolution of bug #39117
I have updated bug 39117 to ask for a nsbeta3(+|-) decision, but perhaps Don would like to contact the Layout folks more directly.
Guess we wait until RTM for this ...
Whiteboard: [nsbeta3+][PDTP2] Waiting on resolution of bug #39117 → [nsbeta3-][PDTP2][rtm+] Waiting on resolution of bug #39117
nav triage team: we don't ahve a patch yet, so [RTM NEED INFO] to get the patch.
Whiteboard: [nsbeta3-][PDTP2][rtm+] Waiting on resolution of bug #39117 → [nsbeta3-][PDTP2][RTM NEED INFO] Waiting on resolution of bug #39117
Note that karnaze gave bug 39117 an rtm+ today. If that bug is fixed, then this bug is moot.
This is apparently fixed on the branch, i.e. the menu is no longer there. See bug #53207 for my detailed rant on the subject. And since we have bug #53207 now, do we want to close this one as FIXED?
It is not, see bug 53207 for a recap/explanation :-)
We just minused 39117. Please let PDT know when you have a reviewed patch for this bug.
Sinc the PDT has just "minused" bug #39117, we need to disable this menu on the Mac. Bug #53207 can deal with enabling for the other platforms.
Whiteboard: [nsbeta3-][PDTP2][RTM NEED INFO] Waiting on resolution of bug #39117 → [nsbeta3-][PDTP2][RTM NEED INFO]
Ben, we need a fix for this at the same time as the fix for bug #53207.
Assignee: don → ben
I'll take this. Preferred solution? JS runtime check for Mac (minimal change), or per platform version of textZoomOverlay.xul,.js (move xul and js out into per platform files, with Mac having "do nothing, don't show" equivalents)?
Assignee: ben → disttsc
The first solution would seem to be the easiest, both to implement, and to reverse once bug 39117 is fixed. -- mpt (oh, the irony of it all ...)
OK, jag. That seems reasonable. Run with it ...
Patch attached, keywords added. Alternatively, I could remove the menu instead of simply hiding it. Feel free to hack :-)
Keywords: patch, review
jag, Cool. Now pester people to get this reviewed and approved. Once that's done, I'll "rtm+" it again and talk to the PDT about making it "rtm++". So you can check it in.
Btw, if you're going to test this, you'll need to have the menu enabled again (doh), see bug 53207 for that patch.
r=pinkerton, asking ben for a=.
Keywords: review
Blocks: 53207
Not to worry. :-) Ben will approve this shortly. ...
Whiteboard: [nsbeta3-][PDTP2][RTM NEED INFO] → [nsbeta3-][PDTP2][rtm+]Fix in hand, waiting on approval
Fix checked in on trunk. gramps, your turn :-)
Whiteboard: [nsbeta3-][PDTP2][rtm+]Fix in hand, waiting on approval → [nsbeta3-][PDTP2][rtm+]Fix on trunk
PDT, please approve. (Sorry Peter, I actually didn't work on Saturday :-)
Whiteboard: [nsbeta3-][PDTP2][rtm+]Fix on trunk → [nsbeta3-][PDTP2][rtm+]Fix on trunk, reviewed and approved
Does this relate to 40340? If that lands does that change the disposition of this bug? Marking need info
Whiteboard: [nsbeta3-][PDTP2][rtm+]Fix on trunk, reviewed and approved → [nsbeta3-][PDTP2][rtm+ need info]Fix on trunk, reviewed and approved
I do not believe that this will change when bug 40340 lands. bug 40340 appears to be high-level XP code dealing with the style system and pref. values. This bug is motivated by a mac-specific problem with the implementation of TextZoom on the Mac (bug 39117), which requires a platform-specific fix at the device context level (if I'm not mistaken). Marc, can you confirm that your fix for bug 40340 will not fix bug 39117. So, assuming that bug 39117 is not going to be fixed, this bug exists to remove the menu item on the Mac, where it will not (unfortunately) work. (Removing need info).
Whiteboard: [nsbeta3-][PDTP2][rtm+ need info]Fix on trunk, reviewed and approved → [nsbeta3-][PDTP2][rtm+]Fix on trunk, reviewed and approved
PDT marking [rtm-] because it's time to focus on P1 crash/data loss bugs.
Whiteboard: [nsbeta3-][PDTP2][rtm+]Fix on trunk, reviewed and approved → [nsbeta3-][PDTP2][rtm-]Fix on trunk, reviewed and approved
*ahem*. This patch has been available for days now. Marking this rtm- blocks bug# 53207 which has already been marked rtm++ by the PDT and ALSO has had a patch available for days now. Allowing the checkin of these two patches would not require any further work by these developers, and both patches have been checked in and verified on the trunk. Not changing this to rtm++ will create a menu for a feature that doesn't work on mac. Changing 53207 from rtm++ to rtm- would deprive netscape users of yet ANOTHER useful feature that works well and is highly requested by most users. Most forums talking about PR3 have several disappointed comments about View->Text Size disappearing. This patch has been reviewed and approved and verified in the trunk. The dependant bug has also been reviewed, approved and verified in the trunk, AND it has been rtm++'ed. The only reason that it hasn't been checked into the branch is because the manager would prefer that THIS patch be checked in at the same time, so macintosh users don't get a menu item that they can't actually use. The only reason that THIS item didn't get rtm++'ed as well is because another member of the PDT wanted to know if we could get View->Text Size working on the mac as well by fixing another bug that was already (I assume) rtm++'ed. The answer came back negative; fixing that bug (40340) would not make View->Text Size work on mac, therefore making this patch necessary. No further work needs to be done on EITHER of these patches, they just need to be CHECKED IN. If the PDT didn't have a question about 40340, then this bug would have been rtm++'ed to be consistant with the decision made on 53207. Therefore, marking this rtm- is horribly inconsistant, and I'm removing the rtm- to ask for reconsideration.
Whiteboard: [nsbeta3-][PDTP2][rtm-]Fix on trunk, reviewed and approved → [nsbeta3-][PDTP2]Fix on trunk, reviewed and approved
jce2@po.cwru.edu: PDT won't get to this again unless it's rtm+. readding that
Whiteboard: [nsbeta3-][PDTP2]Fix on trunk, reviewed and approved → [nsbeta3-][PDTP2][rtm+]Fix on trunk, reviewed and approved
pdt: OK, one day only. Check in by 4pm Wednesday or the product lockdown cycle will leave it behind. The standard for fixes gets higher as we get closer to shipping, so you should not expect the same bug to get the same evaluation, separated by several days.
per phil's comment marking rtm++
Whiteboard: [nsbeta3-][PDTP2][rtm+]Fix on trunk, reviewed and approved → [nsbeta3-][PDTP2][rtm++]Fix on trunk, reviewed and approved
Checked in on branch too, marking fixed.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
vrfy: View > Text Size is no longer in the mac branch bits [using 2000.10.11.09-n6 opt comm bits on os 9.0]. although i haven't seen that menu item on the mac for some time, i contrast this with the fact that it *is* back in the linux and winnt branch [using 2000.10.11.09-n6 opt comm bits] --but that of course is the subject of bug 53207, which am gonna vrfy rsn...
Keywords: vtrunk
Whiteboard: [nsbeta3-][PDTP2][rtm++]Fix on trunk, reviewed and approved → [nsbeta3-][PDTP2][rtm++]
Verified Fixed on trunk builds. Menu is gone. mac 101804 Mac OS9 Setting bug to Verified and removing vtrunk keyword
Status: RESOLVED → VERIFIED
Keywords: vtrunk
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: