Bug 152556 - Right-click context menu for line numbering area should show line-numbering-related items
Summary: Right-click context menu for line numbering area should show line-numbering-r...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: low enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevAdvice
Depends on:
Blocks: Context-Menu Line-Numbering
  Show dependency treegraph
 
Reported: 2022-12-16 18:13 UTC by Eyal Rozenberg
Modified: 2022-12-22 09:45 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 Eyal Rozenberg 2022-12-16 18:13:37 UTC
When we right-click somewhere the line numbering area, we get the same context menu as if we had right-clicked the paragraph with the line being counted, with entries like "Character", "Paragraph", "List" - which apply to the paragraph, not the LN region.

Instead, the context menu should mostly have an entry for opening the Line Numbering dialog (accessible via Tools | Line Numbering... on the menu). This would, in particular, allow the user to more easily get to where they can change the LN character style than in the current state of affairs.
Comment 1 Roman Kuznetsov 2022-12-18 21:20:55 UTC
I agree, but let's ask other UX people
Comment 2 Heiko Tietze 2022-12-19 14:52:14 UTC
The focus never leaves the document margins so you do actually not click the line numbers. And from my POV not much benefit to have an extra context menu for this function to show LN on/off or to show TC in margins yes/no. 

But the stronger argument against such a context menu is the focus remaining in the document. => WF
Comment 3 Eyal Rozenberg 2022-12-20 22:26:59 UTC
(In reply to Heiko Tietze from comment #2)
> The focus never leaves the document margins

Not sure what you mean. Line Numbering can't be focused, IIANM. So why does the focus matter? User intent is clear when clicking the LN, which are well outside the paragraphs they relate to.

> so you do actually not click the line numbers.

I literally am clicking the line numbers.

> And from my POV not much benefit to have an extra context menu
> for this function to show LN on/off or to show TC in margins yes/no. 

TC?

Anyway, if I click some visible element of the document, or the non-document UI, I expect the context menu to relate to what I've clicked - and it doesn't. The user should not have to know when LN is on the menus to get to the dialog controlling it. Think of the user who's opened a document with LN and wants to tweak it or turn it off. What are they going to do? Naturally, right-click the LN.
Comment 4 Heiko Tietze 2022-12-22 09:45:09 UTC
The topic was on the agenda of the design meeting but didn't receive further input.
needsDevAdvice whether clicking the margin area can be contextual