[Libreoffice-ux-advise] [Bug 92218] UNO command for Single Toolbar Mode

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Mar 1 19:27:58 UTC 2016


https://bugs.documentfoundation.org/show_bug.cgi?id=92218

Yousuf (Jay) Philips <philipz85 at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needsDevEval, topicUI
                 CC|libreoffice-ux-advise at lists |akshaydeepiitr at gmail.com,
                   |.freedesktop.org            |kris.kr296 at gmail.com,
                   |                            |momonasmon at gmail.com
             Blocks|                            |86899
            Summary|Single toolbar mode         |UNO command for Single
                   |                            |Toolbar Mode

--- Comment #3 from Yousuf (Jay) Philips <philipz85 at hotmail.com> ---
So the Writer toolbar is ready and sent as a patch:
https://gerrit.libreoffice.org/22818

So that is pending is the creation of an UNO command to do the following.

On Click:
1) Backup to the user profile a list of the module toolbars where the Visible
property is true
2) Set all Visible=true toolbars to Visible=false
3) Enable single toolbar mode toolbar (singlemode.xml) by setting its
Visible=true
4) Backup the current user profile module 'ToolbarMode' entry in the user
profile 
5) Set the user profile module 'ToolbarMode' entry to 'Single'
6) Backup the current icon theme name and size and set it to Breeze small

On Un-Click: (basically the opposite)
1) Restore the backed up user profile module 'ToolbarMode' entry
2) Clear the backed up 'ToolbarMode' entry
3) Hide single toolbar mode toolbar by setting its Visible=false
4) Restore the Visible=true to the backed up toolbars list
5) Clear the backed up toolbar list
6) Restore backed up icon theme name and size

The point of this functionality is so that when a user enables and then
disables single toolbar mode, all their previously set toolbars settings wont
be reset. The UNO command should be accessible in Writer and Calc as Impress
and Draw can easily be set to utilize a single toolbar. This same UNO command
functionality is intended for Sidebar Mode (bug 92220), so ideally the code
should be written with the intention that it can be used reused/extended. It
would be ideal if there was a single UNO command (e.g. .uno:ToolbarMode) which
could take an argument for the toolbar mode to be done (e.g.
.uno:ToolbarMode?Style:string=Single)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list