When using touch UI (for example on Win8), zooming shouldn't reflow, but just scale
Categories
(Core :: Panning and Zooming, enhancement, P3)
Tracking
()
People
(Reporter: smaug, Unassigned)
References
(Depends on 1 open bug, Blocks 4 open bugs)
Details
(Keywords: feature, Whiteboard: gfx-noted)
Updated•12 years ago
|
Comment 1•12 years ago
|
||
Updated•12 years ago
|
Updated•11 years ago
|
Updated•11 years ago
|
Comment 4•10 years ago
|
||
Comment 6•10 years ago
|
||
Updated•9 years ago
|
Updated•9 years ago
|
Updated•9 years ago
|
Comment 9•9 years ago
|
||
Updated•9 years ago
|
Updated•9 years ago
|
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
Updated•7 years ago
|
Comment 16•7 years ago
|
||
Comment 17•7 years ago
|
||
Comment 18•7 years ago
|
||
Comment 19•7 years ago
|
||
Comment 20•7 years ago
|
||
Comment 21•7 years ago
|
||
Comment 22•7 years ago
|
||
Comment 23•7 years ago
|
||
Comment 24•7 years ago
|
||
Comment 25•7 years ago
|
||
Updated•7 years ago
|
Comment 26•7 years ago
|
||
Comment hidden (advocacy) |
Comment hidden (advocacy) |
Comment 29•7 years ago
|
||
Updated•7 years ago
|
Comment hidden (advocacy) |
Comment hidden (advocacy) |
Comment 32•6 years ago
|
||
Comment hidden (advocacy) |
Comment hidden (advocacy) |
Comment hidden (advocacy) |
Comment 36•6 years ago
|
||
Comment 37•6 years ago
|
||
Comment 38•6 years ago
|
||
Comment 39•6 years ago
|
||
Thanks for the updates on this. I am currently using MOZ_USE_XINPUT2=1 on Linux to at least have smooth scrolling with my touchscreen. Is this already using APZ or is this some hacky workaround, which kinda just works for now?
Are the changes discussed here also affecting Linux or just the Windows platform? For the zooming there are a few suboptimal addons like https://addons.mozilla.org/en-US/firefox/addon/multi-touch-zoom/ which work on Linux using XINPUT2 but since they just translate the document body, they break touch gestures within websites.
Comment 40•6 years ago
|
||
One more question related to this, the only good resource I can find about APZ is https://wiki.mozilla.org/Platform/GFX/APZ but it feels quite outdated. Is there something better to follow the progress or is this just due to few resources working on this issue?
Comment 41•6 years ago
|
||
(In reply to Johannes Zellner from comment #39)
I am currently using MOZ_USE_XINPUT2=1 on Linux to at least have smooth scrolling with my touchscreen. Is this already using APZ or is this some hacky workaround, which kinda just works for now?
Yep, this is using APZ. It's just not enabled by default, due to the issues blocking bug 1207700.
Are the changes discussed here also affecting Linux or just the Windows platform?
They will affect both Windows and Linux.
(In reply to Johannes Zellner from comment #40)
One more question related to this, the only good resource I can find about APZ is https://wiki.mozilla.org/Platform/GFX/APZ but it feels quite outdated. Is there something better to follow the progress or is this just due to few resources working on this issue?
I can point you to technical documentation about APZ, but that's not really useful for following this issue. The best way to follow progress on this issue is to follow bugs in its dependency tree. At this time, the dependency I'm actively working on continues to be bug 1459312.
Comment 42•6 years ago
|
||
Thanks for the quick and elaborate reply. I would love to help with this issue, but I have never coded for firefox. I will first try to figure how to build and run it from source and can at least offer to test any changes if wanted.
I can test on both wayland (my default since some time) and X11 with a touchscreen and touchpad.
Comment 43•6 years ago
|
||
(In reply to Johannes Zellner from comment #42)
I would love to help with this issue, but I have never coded for firefox. I will first try to figure how to build and run it from source and can at least offer to test any changes if wanted.
Cool, thanks!
Note that you don't necessarily need to build Firefox yourself to test out changes. Code will start to land on the Nightly channel behind a pref, so if you just run an up-to-date Nightly and flip relevant prefs in about:config, you can test things without having to build.
I can test on both wayland (my default since some time) and X11 with a touchscreen and touchpad.
One thing to note is that the initial support will be for touchscreens. Pinch-zooming on the touchpad will require a bit of additional work (and separate work for Windows and Linux).
Comment 44•6 years ago
|
||
The Addon zooms very unresponsive for me on Windows 10. Any update on when smooth scale zooming will be implemented? Q1 of 2019 has already passed.
Comment 45•6 years ago
|
||
This feature did get onto the roadmap, and we made progress in Q1 by fixing one of the main architectural dependencies (bug 1137890). I will be continuing to work on it in Q2.
Note that being on the roadmap for a given quarter does not mean being done or released in that quarter, it means development time will be spent on it in that quarter. The total amount of development time needed, and therefore the shipping date, is not certain at this point.
Comment 46•6 years ago
|
||
quick question about this: when it's 'finished', will the scrollbars update when you zoom in or out via touchscreen? The EdgeHTML based Edge does this but Chromium still doesn't https://bugs.chromium.org/p/chromium/issues/detail?id=456861
Comment 47•6 years ago
|
||
The end goal is to have the full range of scrollbar behaviour with zooming, including updating their size appropriately, dragging them, and so on.
In the interest of getting this feature in front of users sooner, we may enable it by default before reaching that end goal.
Updated•6 years ago
|
Comment 48•5 years ago
|
||
Is there a rough ETA for touchscreen zoom on Windows 10?
Comment 49•5 years ago
|
||
I'm continuing to actively work on this.
I'm currently working on changes related to scrollbar dragging (bug 1556556). They're turning out to be tricker than anticipated, as discussed in bug 1556556 comment 19 and subsequent comments.
If you don't care about scrollbar dragging, you could try the feature already by going to about:config
and setting apz.allow_zooming
to true
. My understanding is that some early adopters have been using it (see the "Pinch to zoom" section in this Reddit thread) and apart from some known issues (such as scrollbar dragging, and the issue mentioned about add-on popups in that thread, which I've actually since fixed) it seems to be working fine for them.
Note that on Windows, this is only hooked up for touchscreens at this time (not touchpads).
Comment 50•5 years ago
|
||
Pinch zoom works great on my Mac, with a few caveats:
- When I zoom in then try to scroll side to side using two fingers on the trackpad, Firefox starts to go forward or back in history instead of scrolling. In Safari, the page scrolls until it reaches the edge of the page, then starts to go forward or back. Workaround is to scroll up or down a bit first, then scroll sideways (or just disable the forward/back gestures in about:config).
- I find Safari's double-tap with two fingers gesture to zoom in/out on a block of text to be very useful. It appears that Firefox doesn't have this yet.
Are either of these currently on the radar?
Comment 51•5 years ago
|
||
(In reply to lhagan from comment #50)
Pinch zoom works great on my Mac, with a few caveats:
- When I zoom in then try to scroll side to side using two fingers on the trackpad, Firefox starts to go forward or back in history instead of scrolling. In Safari, the page scrolls until it reaches the edge of the page, then starts to go forward or back. Workaround is to scroll up or down a bit first, then scroll sideways (or just disable the forward/back gestures in about:config).
Could you file a bug for this please?
- I find Safari's double-tap with two fingers gesture to zoom in/out on a block of text to be very useful. It appears that Firefox doesn't have this yet.
Are either of these currently on the radar?
This one is tracked in bug 674371.
Comment 52•5 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #51)
Could you file a bug for this please?
Done, see bug 1591799.
Comment 53•5 years ago
|
||
This actually works very nicely now on Linux/wayland for my touchscreen. Great work! :-)
Are there any settings I could try to see if it also works with a multitouchpad?
Only caveat I can currently experience is the sometimes very slow rerendering of the viewport when coming from high zoom levels.
Comment 54•5 years ago
|
||
That last comment triggered the thought: Are we going to need new tests for zoom? Stuff like measuring render performance after zoom in/out? Or that content doesn't break before/after.
Comment 55•5 years ago
|
||
Also btw enabling this on Linux/wayland still breaks extension popups to be shown as mentioned in https://bugzilla.mozilla.org/show_bug.cgi?id=1522131
From the toolbar other popups like the sync account popup work just fine. So maybe there is some default size missing if apz is enabled? Just a very wild guess.
Comment 56•5 years ago
|
||
(In reply to Johannes Zellner from comment #53)
Are there any settings I could try to see if it also works with a multitouchpad?
Unfortunately not, it has not been hooked up for Linux touchpads yet. Bug 1581126 tracks.
Only caveat I can currently experience is the sometimes very slow rerendering of the viewport when coming from high zoom levels.
Yeah, the feature will likely need some tuning. It is reusing the mobile pinch-zooming infrastructure which thus far has been tuned for mobile screen sizes.
Comment 57•5 years ago
|
||
(In reply to Caspy7 from comment #54)
Are we going to need new tests for zoom? Stuff like measuring render performance after zoom in/out?
Yes, some performance tests for desktop zooming will be useful.
Or that content doesn't break before/after.
For this, I think our existing tests for pinch-zooming on mobile should provide test coverage. However, if we come across desktop-specific issues that don't occur on mobile, then tests for them will be useful as well.
Comment 58•5 years ago
|
||
(In reply to Johannes Zellner from comment #55)
Also btw enabling this on Linux/wayland still breaks extension popups to be shown as mentioned in https://bugzilla.mozilla.org/show_bug.cgi?id=1522131
Are you testing with latest nightly? The extension popup issue was only fixed a few days ago.
If so, please file a new bug with STR (or feel free to reopen bug 1522131).
Comment 59•5 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #58)
(In reply to Johannes Zellner from comment #55)
Also btw enabling this on Linux/wayland still breaks extension popups to be shown as mentioned in https://bugzilla.mozilla.org/show_bug.cgi?id=1522131
Are you testing with latest nightly? The extension popup issue was only fixed a few days ago.
If so, please file a new bug with STR (or feel free to reopen bug 1522131).
Oh indeed, I can confirm this is fixed in nightly already. I was on developer version. Awesome work!
Comment 60•5 years ago
|
||
Works nicely on Windows 10, maybe the PDF.js could be edited in manor so the top PDF bar is always visible when zooming (in other words zooming just the content, not whole PDF.js, as other browsers do).
Comment 61•5 years ago
|
||
I found another bug on Linux/Wayland. When apz.allow_zoom=true
switching between HiDPI and non HiDPI monitors results in page viewports having the wrong size within the tab which was zoomed. Not even a page reload fixes it, also not resizing the browser window nor restarting the browser altogether. Zooming withing the wrongly sized viewport still works as expected but the frame simply has a persistent right and bottom padding. Is there any tool to view the tab properties, where the frame size might be stashed away?
Sorry if this does not have much technical detail for further debugging, but I am not sure what to provide.
Comment 62•5 years ago
|
||
(In reply to Johannes Zellner from comment #61)
I found another bug on Linux/Wayland. When
apz.allow_zoom=true
switching between HiDPI and non HiDPI monitors results in page viewports having the wrong size within the tab which was zoomed. Not even a page reload fixes it, also not resizing the browser window nor restarting the browser altogether. Zooming withing the wrongly sized viewport still works as expected but the frame simply has a persistent right and bottom padding. Is there any tool to view the tab properties, where the frame size might be stashed away?
Please file a new bug with this information, so we don't forget about it. Thanks!
Comment 63•5 years ago
|
||
(In reply to Botond Ballo [:botond] [standards meeting Nov 4-9] from comment #62)
(In reply to Johannes Zellner from comment #61)
I found another bug on Linux/Wayland. When
apz.allow_zoom=true
switching between HiDPI and non HiDPI monitors results in page viewports having the wrong size within the tab which was zoomed. Not even a page reload fixes it, also not resizing the browser window nor restarting the browser altogether. Zooming withing the wrongly sized viewport still works as expected but the frame simply has a persistent right and bottom padding. Is there any tool to view the tab properties, where the frame size might be stashed away?Please file a new bug with this information, so we don't forget about it. Thanks!
Comment 64•5 years ago
|
||
For those of you interested in touchpad support on Windows or Linux -- does it work in any other browsers, such as Chrome or Edge? If it does, could you mention what model of laptop (or external touchpad hardware) you have?
Zooming through touchpad works on Surface 3 (non-pro) on the new Chromium-based Microsoft Edge. (Edit: Works on Chrome too.)
Comment 66•5 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #64)
For those of you interested in touchpad support on Windows or Linux -- does it work in any other browsers, such as Chrome or Edge? If it does, could you mention what model of laptop (or external touchpad hardware) you have?
Works for me on windows in both Chrome and Edge. XPS 15 (9560) and Surface Pro 3. Is there any additional information there that would be helpful? (happy to test stuff on both windows and linux for both machines :) )
Don't remember any browser on Linux (wayland or xorg) that has pinch to zoom hooked up, but AFAIK GTK has some native support for it as just a passthrough from the platform provided events.
Comment 67•5 years ago
|
||
(In reply to Sawyer Bergeron from comment #66)
Works for me on windows in both Chrome and Edge. XPS 15 (9560) and Surface Pro 3. Is there any additional information there that would be helpful? (happy to test stuff on both windows and linux for both machines :) )
Weird, on a Surface Pro 2 (which has a high precision touch pad) in Chrome I get reflow zooming, not scaling. I wonder what is causing the difference.
In IE on the Surface Pro 2 I get scaling from the touchpad, and reflow zoom if I plug in a wireless keyboard that has a touchpad on it (presumably not a high precision touchpad).
Comment 68•5 years ago
|
||
Any ETA on this? I would really love to switch from Chrome to Firefox but it is unusable because of this issue on touch displays. It's 2020. iPhone could do this in 2007!
Comment 69•5 years ago
|
||
Regarding touchpads, Microsoft explained here how they solved it for Edge: https://blogs.windows.com/msedgedev/2017/12/07/better-precision-touchpad-experience-ptp-pointer-events/
https://bugzilla.mozilla.org/show_bug.cgi?id=789906#c49 explains how to enable pinch to zoom for touchscreens (not touchpads yet) on Windows.
Comment 71•5 years ago
|
||
(In reply to Kagami :saschanaz from comment #70)
https://bugzilla.mozilla.org/show_bug.cgi?id=789906#c49 explains how to enable pinch to zoom for touchscreens (not touchpads yet) on Windows.
Thanks! That somewhat works. It is not as smooth as in other browsers but it is good enough. Looking forward for the touchpad to get fixed as well.
Comment 72•5 years ago
|
||
We are looking at getting this working with precision touchpads; you can follow bug 1568676 for details.
Updated•5 years ago
|
Updated•5 years ago
|
Comment 73•5 years ago
|
||
Was just wondering what the status of this is, is it shipping soon?
Comment 74•5 years ago
|
||
It can be enabled on Nightly by setting the following prefs:
- touchscreens:
apz.allow_zooming=true
- precision touchpads:
apz.allow_zooming=true
andapz.windows.use_direct_manipulation=true
To follow the progress of shipping the feature, you can follow the tracking bugs for enabling by default on the nightly channel and letting the feature ride to the release channel.
Comment 75•5 years ago
|
||
(In reply to Will from comment #73)
Was just wondering what the status of this is, is it shipping soon?
I'm following one of the bugs that botond mention and have noticed that dependent bugs keep getting fixed. So if part of your question is, "Is work ongoing to actually fix this?" It seems the answer is yes.
Comment 76•4 years ago
|
||
There's a small issue with this type of zoom replacing the previous type (it's not specific to Firefox, I think it's just a downside of this type of zoom): though rare, sometimes I find myself wanting to zoom OUT via touchscreen (90%, 80% etc.). The new style of zooming doesn't allow this. I know it's not commonly needed/desired but would this even be possible to do? If so, I'll file a bug for it.
Is this possible?: when fully zoomed out with scale zoom, if it senses the user is zooming out on their touchscreen/touchpad, it could switch to using the reflow style zoom? And you would see the "90%", "80%" page zoom indicator etc. pop up in the URL bar
(In reply to Will from comment #76)
There's a small issue with this type of zoom replacing the previous type (it's not specific to Firefox, I think it's just a downside of this type of zoom): though rare, sometimes I find myself wanting to zoom OUT via touchscreen (90%, 80% etc.). The new style of zooming doesn't allow this. I know it's not commonly needed/desired but would this even be possible to do? If so, I'll file a bug for it.
You should still be able to tap the menu button and adjust the zoom level.
Comment 78•4 years ago
|
||
(In reply to Kagami :saschanaz from comment #77)
(In reply to Will from comment #76)
There's a small issue with this type of zoom replacing the previous type (it's not specific to Firefox, I think it's just a downside of this type of zoom): though rare, sometimes I find myself wanting to zoom OUT via touchscreen (90%, 80% etc.). The new style of zooming doesn't allow this. I know it's not commonly needed/desired but would this even be possible to do? If so, I'll file a bug for it.
You should still be able to tap the menu button and adjust the zoom level.
I know, was just wondering if something could be done with touchscreen zooming out. It's much more natural and intuitive than tapping menu and tapping zoom out button
Comment 79•4 years ago
|
||
(In reply to Will from comment #76)
There's a small issue with this type of zoom replacing the previous type (it's not specific to Firefox, I think it's just a downside of this type of zoom): though rare, sometimes I find myself wanting to zoom OUT via touchscreen (90%, 80% etc.). The new style of zooming doesn't allow this. I know it's not commonly needed/desired but would this even be possible to do? If so, I'll file a bug for it.
Is this possible?: when fully zoomed out with scale zoom, if it senses the user is zooming out on their touchscreen/touchpad, it could switch to using the reflow style zoom? And you would see the "90%", "80%" page zoom indicator etc. pop up in the URL bar
You can try the pref apz.allow_zooming_out, I'm not too familiar with it, so it might not do anything for the situation you are talking about.
Nothing really seems to use apz.allow_zooming_out
per my Searchfox result, though.
Comment 81•4 years ago
|
||
Comment 82•4 years ago
|
||
apz.allow_zooming_out allows zooming out past the initial zoom in cases where the page content is wider than the browser window. However it sounds like the case you're interested in may not satisfy that requirement. It's worth filing a bug for the case you described, it should be possible to switch to reflow zoom out in cases where you can't pinch zoom out.
Comment 83•4 years ago
|
||
Wow, apz.allow_zooming_out is fantastic! Chromium doesn't have this, does Safari? If this is exclusive to Firefox, whoever thought of this deserves a raise haha. Honestly, I think apz.allow_zooming_out is the solution, thank you. I really hope it makes it through to release! What I described above seems a bit messy and confusing, assuming it would even be possible, so I don't think I'm going to bother filing it.
Comment 84•4 years ago
|
||
My brother convinced me to file it https://bugzilla.mozilla.org/show_bug.cgi?id=1650596
Btw, is apz.allow_zooming_out going to be hooked up to the page zoom percentage indicator that appears in the URL bar? It seems like it should appear when you zoom out beyond 100%
Comment 85•4 years ago
|
||
(In reply to Will from comment #84)
Btw, is apz.allow_zooming_out going to be hooked up to the page zoom percentage indicator that appears in the URL bar? It seems like it should appear when you zoom out beyond 100%
No plans for that at the moment. We also don't show any indicator when you're zoomed in.
Comment 86•4 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #85)
(In reply to Will from comment #84)
Btw, is apz.allow_zooming_out going to be hooked up to the page zoom percentage indicator that appears in the URL bar? It seems like it should appear when you zoom out beyond 100%
No plans for that at the moment. We also don't show any indicator when you're zoomed in.
To expand on this a bit: the current zoom indicator only ever shows the reflowing-zoom level. Note that you can combine reflowing-zoom with scaling-zoom, so you can e.g. pinch-zoom in to 1.5x, and press Ctrl+Plus to increase the reflow-zoom level to 110%, and the indicator would appear and show 110%.
I don't think it makes sense to try to combine the two zoom levels into a single numerical indicator, as they behave quite differently. We could, however, consider having a separate indicator for the scaling-zoom level.
Is apz.allow_zooming_out
not supported on Windows? Seems it has no effect on my machine. (Sorry for my previous mislead 🤯)
Comment 88•4 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #86)
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #85)
(In reply to Will from comment #84)
Btw, is apz.allow_zooming_out going to be hooked up to the page zoom percentage indicator that appears in the URL bar? It seems like it should appear when you zoom out beyond 100%
No plans for that at the moment. We also don't show any indicator when you're zoomed in.
To expand on this a bit: the current zoom indicator only ever shows the reflowing-zoom level. Note that you can combine reflowing-zoom with scaling-zoom, so you can e.g. pinch-zoom in to 1.5x, and press Ctrl+Plus to increase the reflow-zoom level to 110%, and the indicator would appear and show 110%.
I don't think it makes sense to try to combine the two zoom levels into a single numerical indicator, as they behave quite differently. We could, however, consider having a separate indicator for the scaling-zoom level.
I got confused because of this: right now in Nightly I went to https://en.wikipedia.org/wiki/Main_Page with apz.allow_zooming_out enabled. I made the window small but the page zoom level is still at default 100%. I zoom out via touchscreen pinch gesture (because apz.allow_zooming_out is enabled and I made the window really small) but the page zoom indicator hasn't triggered. This just seems wrong... Maybe there really should be a separate page zoom indicator for the scale type of zoom for this type of scenario, even though that's confusing I think it would be wrong to not have that.
Comment 89•4 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #86)
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #85)
(In reply to Will from comment #84)
Btw, is apz.allow_zooming_out going to be hooked up to the page zoom percentage indicator that appears in the URL bar? It seems like it should appear when you zoom out beyond 100%
No plans for that at the moment. We also don't show any indicator when you're zoomed in.
To expand on this a bit: the current zoom indicator only ever shows the reflowing-zoom level. Note that you can combine reflowing-zoom with scaling-zoom, so you can e.g. pinch-zoom in to 1.5x, and press Ctrl+Plus to increase the reflow-zoom level to 110%, and the indicator would appear and show 110%.
I don't think it makes sense to try to combine the two zoom levels into a single numerical indicator, as they behave quite differently. We could, however, consider having a separate indicator for the scaling-zoom level.
Sorry to double post but I am confused about something, you said it's not a good idea to try to combine the two zoom levels into a single thing (I agree, btw) but haven't you done exactly that for the scrollbars? The scrollbars are indeed supposed to update for scale-zooming but you're using 1 scrollbar for both scale zooming and reflow zooming. It would look ridiculous but wouldn't it be "correct" to have 2 scrollbars, 1 for each type of zoom? For example, go to google.com, zoom in via touchscreen until horizontal scrollbar appears, now reflow zoom in and notice that same scrollbar updates. That seems really confusing and wrong? Maybe scale-zoom should have a mobile-style overlay scrollbar instead so it wouldn't look as ridiculous (2 scrollbars beside each other at times) and it wouldn't take up as much space.
Comment 90•4 years ago
|
||
(In reply to Kagami :saschanaz from comment #87)
Is
apz.allow_zooming_out
not supported on Windows? Seems it has no effect on my machine. (Sorry for my previous mislead 🤯)
It should work on Windows, assuming you're running nightly and have the prefs for comment 74 set as well.
However, note that, as explained in comment 82, zooming out will only work if the page content is wider than the browser window at 1.0 zoom (i.e. if there is a horizontal scrollbar at 1.0 zoom). For many pages that's not the case (since the content width is often sized to fit the browser window's width).
Comment 91•4 years ago
|
||
(In reply to Will from comment #88)
I got confused because of this: right now in Nightly I went to https://en.wikipedia.org/wiki/Main_Page with apz.allow_zooming_out enabled. I made the window small but the page zoom level is still at default 100%. I zoom out via touchscreen pinch gesture (because apz.allow_zooming_out is enabled and I made the window really small) but the page zoom indicator hasn't triggered. This just seems wrong... Maybe there really should be a separate page zoom indicator for the scale type of zoom for this type of scenario, even though that's confusing I think it would be wrong to not have that.
I understand the desire for a scale-zoom level indicator.
But just to clarify: there's nothing special about zooming out here, right? I would expect the scenario you describe is no more confusing than the fact that pinch-zooming in doesn't cause any zoom indicator to appear.
Comment 92•4 years ago
|
||
(In reply to Will from comment #89)
Sorry to double post but I am confused about something, you said it's not a good idea to try to combine the two zoom levels into a single thing (I agree, btw) but haven't you done exactly that for the scrollbars? The scrollbars are indeed supposed to update for scale-zooming but you're using 1 scrollbar for both scale zooming and reflow zooming. It would look ridiculous but wouldn't it be "correct" to have 2 scrollbars, 1 for each type of zoom? For example, go to google.com, zoom in via touchscreen until horizontal scrollbar appears, now reflow zoom in and notice that same scrollbar updates. That seems really confusing and wrong? Maybe scale-zoom should have a mobile-style overlay scrollbar instead so it wouldn't look as ridiculous (2 scrollbars beside each other at times) and it wouldn't take up as much space.
You are right to observe that pinch-zooming in creates a situation that has some aspects of the behaviour of two nested scrollable elements. (This page has a nice simulation illustrating it.)
However, showing two sets of scrollbars may just confuse users more than it helps. We haven't seen other browsers doing this, and we have no current plans to do so either.
Comment 93•4 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #91)
(In reply to Will from comment #88)
I got confused because of this: right now in Nightly I went to https://en.wikipedia.org/wiki/Main_Page with apz.allow_zooming_out enabled. I made the window small but the page zoom level is still at default 100%. I zoom out via touchscreen pinch gesture (because apz.allow_zooming_out is enabled and I made the window really small) but the page zoom indicator hasn't triggered. This just seems wrong... Maybe there really should be a separate page zoom indicator for the scale type of zoom for this type of scenario, even though that's confusing I think it would be wrong to not have that.
I understand the desire for a scale-zoom level indicator.
But just to clarify: there's nothing special about zooming out here, right? I would expect the scenario you describe is no more confusing than the fact that pinch-zooming in doesn't cause any zoom indicator to appear.
Well, in the scenario I described, there's no way of going back to the default 100% like you can by clicking the reflow page zoom percentage indicator, you wouldn't even really know that you're not at 100%, it seems wrong. In Chromium for WIndows and Chrome for iPad (in Safari for iPad when you zoom out, it zooms out into a tab grid view so Safari can't be used for this), you can zoom out fully with pinch gesture on touchscreen and that's how you know you're at 100%.
Comment 94•4 years ago
|
||
(In reply to Will from comment #93)
Well, in the scenario I described, there's no way of going back to the default 100% like you can by clicking the reflow page zoom percentage indicator, you wouldn't even really know that you're not at 100%, it seems wrong. In Chromium for WIndows and Chrome for iPad (in Safari for iPad when you zoom out, it zooms out into a tab grid view so Safari can't be used for this), you can zoom out fully with pinch gesture on touchscreen and that's how you know you're at 100%.
Thanks for clarifying. I agree, having a discoverable mechanism to reliably get back to 100% scale-zoom is one of the things we'll need to figure out before we can release apz.allow_zooming_out
.
Comment 95•4 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1638315 is on file for one possible solution to that problem.
Comment 96•4 years ago
|
||
Not sure if this is a Bugzilla bug or a Firefox bug but please take a look https://bugzilla.mozilla.org/show_bug.cgi?id=1656139
Comment 97•4 years ago
|
||
(In reply to Botond Ballo [:botond] from comment #91)
I understand the desire for a scale-zoom level indicator.
I filed bug 1656612 to track discussions around adding a scale-zoom level indicator.
Comment 98•4 years ago
|
||
For anyone who's following this bug but not the more recent tracking bugs like bug 1620056: this feature is slated to be released as part of Firefox 83.
Thank you to everyone who helped test the feature in Nightly, and to everyone else for your patience.
Comment 99•4 years ago
|
||
I think we can close this bug now.
Updated•4 years ago
|
Comment 100•4 years ago
|
||
Fantastic. Great job.
Description
•