Zoom percentage is lost when window is resized narrowly.
There were already bug 86018 in 4.4 and bug 86612 in 6.2, but I think more should be done, as seen in screenshots attached where LO is compared to MSO.
I resized all to the point where zoom percentage is lost.
Created attachment 177634 [details]
Created attachment 177635 [details]
Created attachment 177636 [details]
.uno:Zoom (the numeral zoom value), and .uno:ZoomSlider (the slider) are both already set to statusbar:mandatory="true" in the appropriate statusbar.xml per module.
But then other StatusBar controls are also set mandatory. IIUC reducing the width first removes the non-mandatory controls. And then reduces the remaining mandatory from right-to-left.
But I notice though, on Windows builds at least, that the .uno:Zoom zoom-value is not actually removed, rather it remains shown and is gradually covered as the frame width is reduced.
.uno:Zoom just happens to be the first mandatory control remaining. There is nothing more to do without refactoring the logic.
Otherwise, I might agree that the zoom slider is less important than the zoom value text widget--and it should be removed before the zoom value is hidden.
"Mandatory" keeps the item visible, other than that we do not prioritize and as Stuart said just clip from right. Starts for me at ~650px width and I see no need to tweak anything. The alternative is to make Word/Character count non-mandatory and/or the style too.
While you are shrinking the window, sooner or later you will reach the point where you need to hide the zoom scale and the percentage value.
At the width when this disappears now, most of the toolbar is also hidden, which means you cannot really use Writer at this size in the long run.
There are a couple of options how to get some space when the window gets too narrow:
- hide zoom scale and factor (current behaviour)
- replace "Page 1 of 1" with "1/1", a tooltip still could show "Page 1 of 1"
- replace "18 words, 171 characters" with "18c/171w", tooltip still could show "18 words, 171 characters"
I wouldn't hide the page style, though.
The view-related things also could be combined into a single icon, when space is needed. This icon could pop up a little dialog for the view icons, the zoom slider and the zoom factor.
However, I agree with Heiko, I wouldn't bother with changing it because all the possible options are just semi-solutions.
When program width is so reduced, we need mostly zoom and in Writer that layout button before, just like in Word. We don't need Word/Character.
I use that often to make a comparison screenshot of different versions or programs. And zoom is only relevant and most important, then styles and count is irrelevant when resizing.
I think it's Ok to set New with all the discussion.
I think there is no good solution (except Csongor's special handling). We can set "mandatory" to some panels and make them disappear later, which is the fact for zoom. And to hide other panels is no good solution.