Bug 148351 - Context menu on comment text has poor selection of items
Summary: Context menu on comment text has poor selection of items
Status: RESOLVED DUPLICATE of bug 90186
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Comments
  Show dependency treegraph
 
Reported: 2022-04-04 09:01 UTC by Eyal Rozenberg
Modified: 2022-04-08 12:55 UTC (History)
2 users (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-04-04 09:01:08 UTC
If you open the context menu on comment text while the cursor is in the comment, the menu entries are:

Paste
Paste Special...
---------
Clone Formatting
Clear Direct Formatting
Character >
Paragraph >
List >
---------
Insert Comment
---------
Edit Section...
---------
Page Style...


This is a poor choice:

* You can't insert comment on a comment.
* No option to delete the comment (you can get that in the context menu when the cursor is _not_ within the comment)
* Edit Section and Page Style don't seem like something that particularly relevant to the comment.
Comment 1 Eyal Rozenberg 2022-04-04 09:01:53 UTC
Oh, I mean Writer comments of course.
Comment 2 Eyal Rozenberg 2022-04-04 09:09:43 UTC
On further scrutiny, it seems the choice of context menu doesn't depend on whether you're in focus or not. It must be something that decides which context menu you get; I'm not sure exactly what.
Comment 3 Aron Budea 2022-04-04 11:20:40 UTC
(In reply to Eyal Rozenberg from comment #0)
> If you open the context menu on comment text while the cursor is in the
> comment, the menu entries are:
For me the list is:

Paste
Paste Special
Resolved
Resolved Thread
Delete Comment
Delete Comment Thread
Delete All Comments by <author>
Delete All Comments
Format All Comments

And the menu depends on where the cursor (focus) is, if it's in the comment, I get the above list, if it's in the document, regardless of where the mouse pointer is, I get the menu items you listed.

LO 7.4.0.0.alpha0+ (9f0e19721bb598c75835cfa94f4158085f81288e) / Ubuntu.
Comment 4 Heiko Tietze 2022-04-07 07:22:24 UTC
(In reply to Aron Budea from comment #3)
> For me the list is...

Me too. Please test again with a clean user profile.
Comment 5 Eyal Rozenberg 2022-04-08 07:56:41 UTC
(In reply to Aron Budea from comment #3)
> And the menu depends on where the cursor (focus) is,

So, that's not consistently the case for me, but let's go with your experience.

Suppose my cursor (and focus) is in the body of the document, and I right-click in the body of a comment. I should get the menu with Delete, not the menu with Edit Section (let's call them CMenu and BMenu respectively). But in your experience, and in this case, I would get the BMenu.
Comment 6 Aron Budea 2022-04-08 12:29:53 UTC
Yes, and this seems to be a dupe of bug 90186. Are you fine with closing it as such?
Comment 7 Eyal Rozenberg 2022-04-08 12:55:28 UTC
(In reply to Aron Budea from comment #6)
> Yes, and this seems to be a dupe of bug 90186. Are you fine with closing it
> as such?

Hmm... well... I'll go with Yes. If that bug is resolved and I can reproduce the weirder behavior I (seem to) have seen, I'll reopen. Thanks for asking before closing.

*** This bug has been marked as a duplicate of bug 90186 ***