Bug 90186 - Right-click on unfocused comment does not focus it and shows wrong context menu
Summary: Right-click on unfocused comment does not focus it and shows wrong context menu
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 148351 (view as bug list)
Depends on:
Blocks: Writer-Comments
  Show dependency treegraph
 
Reported: 2015-03-24 02:25 UTC by Gordo
Modified: 2024-04-08 08:50 UTC (History)
3 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 Gordo 2015-03-24 02:25:33 UTC
1. New Text Document.
2. Type “test” and Return several times.
3. Place cursor after one of the “test”s.
4. Insert → Comment.
5. Type “test” in comment.
6. Right click on one of the text “test”s.
7. Place mouse pointer over “test” in comment and right click.
Expected Result:
Comment context menu is shown and comment gains focus with cursor.
Result:
Incorrect context menu is shown and comment does not gain focus with cursor.

Alternate:
6. Select one of the text “test”s and right click.
7. Left click in comment.
Expected Result:
“test” is no longer selected in document and comment gains focus with cursor.
Result:
Text is still selected in document and comment does not gain focus with cursor.
Note:
Right clicking in comment in step 7 and performing an action affects the selected text in the document.

Alternate:
6. Right click on text in comment.
7. Left click in document.
Expected Result:
Document gains focus with cursor.
Result:
Cursor is still in comment and document does not gain focus with cursor.

Alternate:
6. Place cursor in comment.
7. Select “test” in comment and right click.
8. Left click in document.
Expected Result:
“test” is no longer selected in comment and document gains focus with cursor.
Result:
“test” is no longer selected in comment, cursor is still in comment and document does not gain focus with cursor.
9. Repeat steps 6 through 8.
Expected Result:
“test” is no longer selected in comment and document gains focus with cursor.
Result:
Text is still selected in comment and document does not gain focus with cursor.

Version: 4.4.1.2
Build ID: 45e2de17089c24a1fa810c8f975a7171ba4cd432
Comment 1 A (Andy) 2015-03-24 19:25:01 UTC
All issues are reproducible with LO 4.4.1.2, Win 8.1
Comment 2 tommy27 2016-04-16 07:22:37 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present on a currently supported version of LibreOffice (5.0.5 or 5.1.2 https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System

Please DO NOT

- Update the version field
- Reply via email (please reply directly on the bug tracker)
- Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 

1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3)

http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug 

3. Leave a comment with your results. 

4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 
4b. If the bug was not present in 3.3 - add "regression" to keyword


Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa

Thank you for your help!

-- The LibreOffice QA Team This NEW Message was generated on: 2016-04-16
Comment 3 QA Administrators 2019-05-14 02:57:52 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2021-05-14 04:12:55 UTC Comment hidden (obsolete)
Comment 5 Eyal Rozenberg 2022-04-08 12:55:28 UTC
*** Bug 148351 has been marked as a duplicate of this bug. ***
Comment 6 Eyal Rozenberg 2022-04-08 13:00:04 UTC
I'm the dupe bug author. Some more points:

* There _may_ be cases when even a focused comment gets the wrong context menu. I don't have reproduction instructions, but when looking at the context menu choice code, please be on the lookout for something like that.

* Hovering over a comment changes its frame and the dashed line to it from the document, hinting that it has become focused, or at least that it's semi-focused, close-to-focused etc. That makes the context-menu choice even more puzzling, because the user is basically certain they're seeing a context menu for the comment, and may well have lost sight of where the cursor is.
Comment 7 QA Administrators 2024-04-08 03:13:55 UTC Comment hidden (obsolete)
Comment 8 Eyal Rozenberg 2024-04-08 08:50:51 UTC
A right click still shows the context menu for the text body, with:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ffccbf4762a9ae810bcdd21c41fccdd436e7bfc9
CPU threads: 4; OS: Linux 6.6; UI render: default; VCL: gtk3
Locale: he-IL (en_IL); UI: en-US