The view layout offers single page, two-pages, and a book mode at the statusbar. Unfortunately we do not provide alternative methods to access it. This not only violates a11y but makes it also hard to understand for novice users. In particular since the statusbar icons do not have any tooltip.
My proposal is to add a menu "Layout" or "Mode" under View just above Zoom and list the three commands there. It clearly violates the HIG and breaks the menu a11y for small screens. Ideally we hide (or rather move) some other items.
I would add submenu like this: View -> Pages -> Single page view Multiple pages view Book view And I would add it to top of the View menu like: Normal Web Pages --------- User interface ........
The tooltip shows up in master / 7.5 but not with Version: 7.4.0.3 / LibreOffice Community Build ID: 40(Build:3) CPU threads: 8; OS: Linux 5.19; UI render: default; VCL: kf5 (cairo+xcb) Locale: de-DE (en_US.UTF-8); UI: en-US 7.4.0-3 Calc: threaded In fact no tooltip at all at the statusbar, toolbar and sidebar do have tips.
Had to read this a couple of times to realize you want to add an item to the Main menu. Not make a change to widget on the status bar, nor add it to the Options -> View panel. The view state buttons on the status bar correspond to 3 views that have defined UNO actions: .uno:ShowSinglePage .uno:ShowMultiplePages .uno:ShowBookview respectively. So adding them to a menu is already simple and just need to decide placement and labeling. And maybe move the UNO for full screen: .uno:FullScreen onto this sub menu. Better label than "View -> Pages" might be "View -> Layout". Pages connotes the position in the document, while Layout would be the right meaning. Also, on Windows builds at least, the Status bar *does* provide tool tips for every element on the status bar--except the thumb on the zoom slider. And, what about MUFFIN? Where we've conveniently hidden the Main menu. And the controls remain silent to AT. And since you've cast this as an a11y issue, we have never resolved bug 107343--where F10, F6 and standard keyboard movements, shortcuts, and accelerators are integral to providing functional Assistive Technology. We also don't fire accessible events for the Otherwise +1, it is needed.
(In reply to V Stuart Foote from comment #4) > also don't fire accessible events for the Sorry better finish that. ... accessible events for the Notebook bar bug 190425
(In reply to V Stuart Foote from comment #4) Sorry better finish that. ... accessible events for the Notebook bar bug 109425
Let's do it. Code pointer in comment 4.
*** Bug 160785 has been marked as a duplicate of this bug. ***
(In reply to V Stuart Foote from comment #4) > defined UNO actions: > > .uno:ShowSinglePage > .uno:ShowMultiplePages > .uno:ShowBookview > > respectively. Unfortunately looking at this again for dupe bug 160785, and these UNO are only for the Print Preview modes. I was wrong, sorry! Actual controls on the Status Bar UI are in viewlayoutctrl.cxx [1] and will need new UNO to implement. But continue to think addition to the main View would be useful.
A little bike-shedding by the author of the dupe bug (i.e. me): * I agree that this should be in a submenu of the View menu. * I think "pages" is not a good submenu title. It's as though you're supposed to choose whether to view pages; or which pages to view. Perhaps something like "multi-page layout" or "Layout of pages" or "Viewport layout" or "Page placement". None of these are great, maybe you have a better idea * I think the item titles should be a little more descriptive than with the bottom toolbar, because we don't have the icons to illustrate. So maybe "Single page per row", "Multiple pages per row" and "Book view".