Show zoom level, revise zoom values
Forwarding from Red Hat 1702528:
Original comment:
Steps to Reproduce:
1. Zoom in / out using +/- menu item from AppMenu.Actual results:
The zoom percentage control widget doesn't update reflecting the new zoom percent.Expected results:
Zoom percentage control should update its value.
My response:
That's a clickable button, and as such, its label displays the action to be executed: Change the zoom level to 100%.
Another commenter:
Files has an identical widget that shows the *current* zoom level. (And resets the zoom level when you click on the label).
Also, everyone will expect it to show the current zoom level, because that is what Firefox does :-).
@fmuellner What do you think, shall we go with Files's / Firefox's behavior?
As a prerequisite, we'd need to revise our zoom levels, and switch from jumping by a factors of 1.2 (up to ±7 steps from the default) to more human-friendly values. Our current percentages, rounded to the nearest integer are: 28, 33, 40, 48, 58, 69(*), 83, 100, 120, 144, 173, 207, 249, 299, 358.
(*) Actually 64, see pango#372 (closed).
We could go with e.g. 25, 31.25, 40, 50, 62.5, 80, 100, 125, 160, 200, 250, 320, 400 percents. These are nice rational numbers and their reciprocals, most of them look friendly in decimal, and are pretty even on the logarithmical scale with factors of 1.25 and 1.28.
Files offers 50, 67, 100, 133.
Firefox offers 30, 50, 67, 80, 90, 100, 110, 120, 133, 150, 170, 200, 240, 300.