Bug 87897 - RULER: Right-click access to disable rulers
Summary: RULER: Right-click access to disable rulers
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
4.5.0.0.alpha0+ Master
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevEval, topicUI
Depends on:
Blocks: Rulers
  Show dependency treegraph
 
Reported: 2014-12-31 10:47 UTC by Yousuf Philips (jay) (retired)
Modified: 2017-06-19 03:43 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2014-12-31 10:47:45 UTC
I personally only use the top ruler, as i like being able to set indents with it, and it would be nice to have easy access to disabling any of the rulers from the right-click context menu that appears, allowing you to change between the measurement units, rather than having to go into Tools > Options in order to do so.

The context menu would ideally need two entries - 'Disable Ruler' and 'Disable Rulers'.
Comment 1 V Stuart Foote 2014-12-31 16:32:51 UTC
The ruler objects for horizontal and vertical are distinct so can be individually controlled. But not sure if the hooks needed to show or not show one or the other exist to tie to a context menu action.  

If so, should be an easy, and worthwhile adjustment. If they can't be shown/hidden independently, it would be more involved.  But worth a look in either case.
Comment 2 Yousuf Philips (jay) (retired) 2015-04-27 05:15:08 UTC
Lets see if we can get some evaluation by a dev with some code pointers.
Comment 3 Heiko Tietze 2015-04-27 09:48:09 UTC
(In reply to Jay Philips from comment #0)
> The context menu would ideally need two entries - 'Disable Ruler' and
> 'Disable Rulers'.

Please don't have just the plural form affect the functionality. A simple context sensitive "Hide ruler" would be cool however. Perhaps "Hide horizontal ruler" and "Hide vertical ruler" to make it clear.
Comment 4 Yousuf Philips (jay) (retired) 2015-04-27 22:45:18 UTC
(In reply to Heiko Tietze from comment #3)
> Please don't have just the plural form affect the functionality. A simple
> context sensitive "Hide ruler" would be cool however. Perhaps "Hide
> horizontal ruler" and "Hide vertical ruler" to make it clear.

Have to revise my first assumption that we'd need two entries, as other entries in the context menu only effect the selected ruler, so only one entry is needed. Yep 'Hide Ruler' is better than 'Disable Ruler' and would result in less translation work.
Comment 5 Robinson Tryon (qubit) 2015-12-13 11:23:58 UTC Comment hidden (obsolete)