Bug 128507 - Make higher zoom levels possible/available on iOS
Summary: Make higher zoom levels possible/available on iOS
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: iOS Editor (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other iOS
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard: target:7.0.0
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-31 14:02 UTC by Nicolas Christener
Modified: 2020-05-15 08:08 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example document with a tiny graphic (10.54 KB, application/vnd.oasis.opendocument.text)
2019-10-31 14:03 UTC, Nicolas Christener
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Christener 2019-10-31 14:02:01 UTC
Description:
Some writer documents contain small graphics that are hard to scale with a finger because the resize handles overlap (large) parts of the grapics.

The resize handles should not become smaller instead it would be good to make it possible to have higher zoom levels than 200%.

Would it be possible to enable higher zoom levels (for iOS)?

Steps to Reproduce:
1. Open the attached document using the iOS app
2. try to resize the graphic with a finger

Actual Results:
It is possible to resize the graphic but the user experience could be improved if the user could choose a higher zoom level than 200%.

Expected Results:
It would be nice to have some more zoom levels like 300% or 400%


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Nicolas Christener 2019-10-31 14:03:08 UTC
Created attachment 155427 [details]
Example document with a tiny graphic

Try to resize the graphic in the table (cell B2)
Comment 2 How can I remove my account? 2020-04-15 10:02:14 UTC
Working on this, will be ready today.
Comment 3 How can I remove my account? 2020-04-15 10:55:45 UTC
Suggested fix in https://gerrit.libreoffice.org/c/online/+/92259 .

I wonder, should we add some logic to use larger zoom steps further away from 100% ? 

Now each step is always pow(2,1/4) (1.1892), i.e. four steps are required to double or halve the zoom. That fits reasonably well into what one would expect between 35% and 200%, but to have four steps also from 200% to 400% (235%, 280%, 335%, 400%) is perhaps excessive.

Also, the convention of rounding the zoom to the closest five percent should perhaps be changed above 200% to be the closest 10 or even 20 percent? Perhaps the amount of rounding should also be exponential? (We already use 150% as the label for what is actually 1.4142. I guess this is because 150% is a naïve user's expectation that "150% is half between 100% and 200%".)
Comment 4 Nicolas Christener 2020-04-15 11:45:52 UTC
I admit, I have no knowledge in this field and can't say what would be a good rule to define the steps.

We currently have (in writer):
50
60
70
85
100
120
150
175
200

So maybe the simplest solution is something like:
...
175
200
250
300
350
400
450
500
550
600

Just for a reference, Apple Pages does not have a list of steps, but using pinch to zoom one can go from 66% to 200% (in 1% steps).

Microsoft Word from 50%to 167% an then it jumps to "Fit" fills the screen and it's then not possible to make it bigger.

So; the iOS app offers much more than the other player :)
Comment 5 Commit Notification 2020-04-15 12:06:38 UTC
Tor Lillqvist committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/online/commit/8c70e6a8f6fb8a36ade74ab4c6b4e5044e09064d

tdf#128507: Increase max zoom to 400%
Comment 6 How can I remove my account? 2020-04-16 04:43:23 UTC
Actually, I think that it is completely pointless to show the zoom percentage (and the pop-up menu for them) on tablets. (We don't show it on mobile phones.) The zoom values lack any connection to reality anyway. 100% does not mean that the size of the document on screen would exactly match its printed size (if printed at 100% on the desired paper size), far from it. Also the plus and minus buttons and the View > Zoom In, View > Zoom Out, and View > Reset Zoom menu entries are fairly pointless on tablets, too. (Not shown on mobile phones.) On touch devices you use touch gestures to adjust the zoom, not buttons or menus.
Comment 7 How can I remove my account? 2020-04-16 05:33:19 UTC
See also https://gerrit.libreoffice.org/c/online/+/92332 , a suggestion to remove the zoom controls on tablets, too, in the mobile app.
Comment 8 How can I remove my account? 2020-04-16 06:48:54 UTC
(Or actually, also in web-based Online when viewed on tablets.)
Comment 9 Nicolas Christener 2020-05-12 17:07:05 UTC
Tested in 4.2.4 (55), this feature is now implemented and I believe we can close this issue.

Thanks a lot to the Collabora tam and especially Tor for taking care of this!