Closed Bug 876408 Opened 11 years ago Closed 11 years ago

Change - Remove Zoom buttons for v1

Categories

(Firefox for Metro Graveyard :: Browser, defect, P2)

x86
Windows 8
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: virgil.dicu, Assigned: ally)

References

Details

(Whiteboard: [shovel-ready] feature=change c=main_ui_reorganization u=metro_firefox_user p=1)

Attachments

(3 files, 1 obsolete file)

Both zoom buttons don't perform any action and according to bug 801129 comment 3 those buttons should be removed. 

Can't see any other bug logged for this.
Whiteboard: feature=change c=main_ui_reorganization u=metro_firefox_user p=0
Priority: -- → P2
Whiteboard: feature=change c=main_ui_reorganization u=metro_firefox_user p=0 → [shovel-ready] feature=change c=main_ui_reorganization u=metro_firefox_user p=0
Assignee: nobody → ally
Hi Ally, are you planning on taking the bug for IT#8?
Flags: needinfo?(ally)
sure.
Flags: needinfo?(ally)
Attached patch zoom buttons removed (obsolete) (deleted) — Splinter Review
- I went for surgical removal; I want the feature to be inaccessible in the ui, but I know we want it back fro v2, so I don't want to rip out core code that we'll use later, so I removed only ui code & its immediate touch points.
- The images for the icons are part of one giant file, so I left that alone
- I did remove them from the list of supported commands in browser-ui
Attachment #756774 - Flags: review?(mbrubeck)
Attached image screenshot without the buttons (deleted) —
Comment on attachment 756774 [details] [diff] [review]
zoom buttons removed

I think I might have missed something. pulling review request
Attachment #756774 - Flags: review?(mbrubeck)
forgot to qref that. See Notes on previous patch
Attachment #756774 - Attachment is obsolete: true
Attachment #756778 - Flags: review?(mbrubeck)
Comment on attachment 756778 [details] [diff] [review]
zoom buttons, keyboard shortcuts for them removed

Review of attachment 756778 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/metro/base/content/browser.xul
@@ -143,5 @@
>      <key id="key_save" key="s" modifiers="accel" command="cmd_savePage"/>
>  
>      <!-- misc -->
> -    <key id="key_zoomin" key="+" modifiers="accel" command="cmd_zoomin"/>
> -    <key id="key_zoomout" key="-" modifiers="accel" command="cmd_zoomout"/>

We'll probably want to add these shortcuts back at some point, but if they're broken right now, let's go ahead and remove them.
Attachment #756778 - Flags: review?(mbrubeck) → review+
yea, my thought was to add them back when we had the ui back. In my perfect world, the keyboard access perfectly mirrors the gui access.
Comment on attachment 756778 [details] [diff] [review]
zoom buttons, keyboard shortcuts for them removed

Review of attachment 756778 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/metro/base/content/appbar.js
@@ -63,3 @@
>          break;
>        case 'MozPrecisePointer':
>        case 'MozImprecisePointer':

Almost forgot - please remove this entire (now-empty) "case:" section and the corresponding addEventListener calls.
Keywords: checkin-needed
Blocks: metrov1it8
No longer blocks: metrov1defect&change
Status: NEW → ASSIGNED
QA Contact: jbecerra
Whiteboard: [shovel-ready] feature=change c=main_ui_reorganization u=metro_firefox_user p=0 → [shovel-ready] feature=change c=main_ui_reorganization u=metro_firefox_user p=1
https://hg.mozilla.org/mozilla-central/rev/0ce9af0215ac
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Mozilla/5.0 (Windows NT 6.2; rv:24.0) Gecko/20130610 Firefox/24.0

Verified that the zoom buttons were removed from the navigation bar. Also, CTRL + +/- don't zoom in/out, but CTRL + mouse scroll does zoom in/out. Is this intended?
Went through the following "Change" for iteration #9 testing without any issues. Used the following build:

http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2013-06-25-03-12-38-mozilla-central/

- Ensured that the zoom buttons have been removed from the App Bar (using both touch & keyboard/mouse)
- Ensured that using CTRL + +/- doesn't zoom in
- Ensured that tapping/clicking on App Bar didn't enable any buttons that have been hidden
- Ensured that the above cases also worked in Filled View without any issues

Notes:

- As mentioned in comment 14, pressing CTRL + Mouse Scroll will still zoom in/out. Asa, before marking this as verified, should that also be removed?
Flags: needinfo?(asa)
(In reply to Kamil Jozwiak [:kjozwiak] from comment #15)
> Went through the following "Change" for iteration #9 testing without any
> issues. Used the following build:
> 
> http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2013-06-25-03-12-38-
> mozilla-central/
> 
> - Ensured that the zoom buttons have been removed from the App Bar (using
> both touch & keyboard/mouse)
> - Ensured that using CTRL + +/- doesn't zoom in
> - Ensured that tapping/clicking on App Bar didn't enable any buttons that
> have been hidden
> - Ensured that the above cases also worked in Filled View without any issues
> 
> Notes:
> 
> - As mentioned in comment 14, pressing CTRL + Mouse Scroll will still zoom
> in/out. Asa, before marking this as verified, should that also be removed?

Let's not worry about the legacy ctrl+mousewheel thing for now. I suspect our APZC stuff is going to simply replace or break all that.
Flags: needinfo?(asa)
User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
Build ID: 20130816030205
Built from http://hg.mozilla.org/mozilla-central/rev/1ed5a88cd4d0

WFM
Tested on windows 8 using latest nightly for iteration-12. Followed steps provided in comment15 and got expected result.

- Ensured that the zoom buttons have been removed from the App Bar (using both touch & keyboard/mouse)
- Ensured that using CTRL + +/- doesn't zoom in
- Ensured that tapping/clicking on App Bar didn't enable any buttons that have been hidden
- Ensured that the above cases also worked in Filled View without any issues

Notes:
- CTRL + Mouse Scroll will still zoom in/out.
Status: RESOLVED → VERIFIED
WFM with the latest Nightly (build ID: 20131103030204) on Win 8 32-bit, while testing for iteration #17.

Notes:
- CTRL + Mouse Scroll will still zoom in/out
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: