Closed Bug 405133 Opened 17 years ago Closed 14 years ago

Implement UI for full page zoom (SeaMonkey part)

Categories

(SeaMonkey :: UI Design, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.0

People

(Reporter: InvisibleSmiley, Assigned: neil)

References

Details

Attachments

(2 files, 1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.9) Gecko/20071030 SeaMonkey/1.1.6 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.1.9) Gecko/20071030 SeaMonkey/1.1.6 Filing this as per bug 389628 comment 18 and discussion in mozilla.dev.apps.seamonkey. Options of implementing this include, but are not limited to: a) simple pref b) pref + UI i) option in Preferences ii) switch entry in Zoom menu to toggle full page / text zoom iii) two Zoom menus, one for full page and one for text zoom. Reproducible: Always
Depends on: 389628
Version: unspecified → Trunk
I would prefer to use two menu items for that. i) Adding one preference also increases complexity of interface ii) A hidden preference in about:config is the FX way of doing that, we usually show it or display a preference on our preferences panel iii) The user might want to mix both zooms for some reason
Status: UNCONFIRMED → NEW
Ever confirmed: true
(In reply to comment #1) > i) Adding one preference also increases complexity of interface A bit maybe. But maybe the strongest argument against it is bad discoverability. > ii) A hidden preference in about:config is the FX way of doing that, we usually > show it or display a preference on our preferences panel If your "ii)" refers to my "ii)" then you misunderstood me. Your "ii)" is equivalent to my "a)". What I suggest in "ii)" is a checkbox-style toggle inside the existing Text Zoom menu (which would have to be renamed to just "Zoom"). I agree with you that a simple pref for this is not enough in the SM world, still it is a possibility, so I listed it. > iii) The user might want to mix both zooms for some reason Might. I'm not sure if this theoretical possibility is enough to justify a second menu item which might confuse users. Maybe we need more people's opinions here.
(In reply to comment #2) > (In reply to comment #1) > > ii) A hidden preference in about:config is the FX way of doing that, we usually > > show it or display a preference on our preferences panel > > If your "ii)" refers to my "ii)" then you misunderstood me. Your "ii)" is > equivalent to my "a)". What I suggest in "ii)" is a checkbox-style toggle > inside the existing Text Zoom menu (which would have to be renamed to just > "Zoom"). I agree with you that a simple pref for this is not enough in the SM > world, still it is a possibility, so I listed it. Yes... but the average of users that don't understand both menus would be the same of those who don't understand the checkbox. The issue here would be if they would understand the difference between text zoom and full zoom. Two items would make it quicker to apply the kind of change he wants. Some pages may get a better zoom on text zoom than full page zoom, so the expert user would like to be able to use full page zoom on some pages and text zoom on others. Some expert users might prefer to use text zoom most of the time, but see a need to use full page zoom on places where it breaks the layout. How simple would be to manage full page zoom on a tab and text zoom on another? I would call two menus a advantage over FX. Remember that the average users of SM are expert and corporative users. ;)
The ii) option sounds very compelling to me, along with renaming the menu to "Zoom" and making full zoom the default. Having two menus sounds like the worst way to do it for me, as that would only confuse people. Also, I think mixing the two is not something we want to provide through UI, it would only be confusing. And actually, the last comment from asrail basically says "the normal user doesn't understand the difference but probably wants full zoom, some experts want to switch between both" - for me, the perfect case for going with ii) as we are targeting advanced users - if we'd target novies, the Firefox way would be correct (so we just say their decision is right for their audience) ;-)
Attached patch Draft patchSplinter Review
This is just something I whipped up as a proof of concept. What do you think?
(In reply to comment #5) > This is just something I whipped up as a proof of concept. What do you think? Looks like a good first step to me, the only thing we need to figure out in addition then is the switch itself
Attached patch Part 1 - implement pref (obsolete) — Splinter Review
Assignee: general → neil
Status: NEW → ASSIGNED
Attachment #290053 - Flags: review?(ajschult)
Comment on attachment 290053 [details] [diff] [review] Part 1 - implement pref >- <menu id="menu_textZoom"/> >+ <menu id="menu_zoom"/> viewSource.xul and viewPartialSource.xul also need this. navigator.js' hiddenWindowStartup() also needs s/text//.
Attachment #290053 - Flags: review?(ajschult) → review+
View source uses gPrefs instead, so I added a pref member to the object.
Attachment #290053 - Attachment is obsolete: true
Attachment #290515 - Flags: review?(ajschult)
Comment on attachment 290515 [details] [diff] [review] Addressed review comments >Index: suite/browser/navigator.js >+Components.classes["@mozilla.org/login-manager;1"].getService(); inadvertent change?
Comment on attachment 290515 [details] [diff] [review] Addressed review comments r=ajschult without the login-manager line
Attachment #290515 - Flags: review?(ajschult) → review+
Backend pref patch checked in.
Is something still open here? Note that FF just followed our way and implemented the same ideas in bug 401322.
Depends on: 417141
We've got no UI for the pref yet.
OK, I'm trying to add it to the appearance pref panel in bug 411215, we might want to have it in the menu itself as well though, just as FF has it now and as we already discussed back when work on this was done - that latter part should probably still be done here.
Flags: wanted-seamonkey2?
Do we still want to match Firefox and add this to the Zoom menu, or are we satisfied with the pref and the patches in here only?
Note: FF always calls the menu item Zoom, we call it Zoom or Text Zoom depending on the pref. IMO if we add a toggle (technically: checkbox) we should stop dynamically renaming the menu item.
> Do we still want to match Firefox and add this to the Zoom menu, or are we > satisfied with the pref and the patches in here only? I ported NoSquint to SeaMonkey. I had to do some ugly hacks since it overlays the View->Zoom menu items. Matching the Firefox UI would be helpful.
So the zoom pref is now on Appearance->Content pref panel, is there anything within scope of this bug? I would say any other work is outside of scope of this bug and a new bug should be logged for those items of work. Either way - 2.0 is feature complete, so minusing this bug.
Flags: wanted-seamonkey2.0? → wanted-seamonkey2.0-
Component: General → UI Design
QA Contact: general → ui-design
SeaMonkey 2.0 shipped long ago. Closing.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: