Bug 427753 - There is a problem with the underline annotation
Summary: There is a problem with the underline annotation
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.11.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-15 12:27 UTC by andy
Modified: 2020-10-19 10:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andy 2020-10-15 12:27:25 UTC
SUMMARY


STEPS TO REPRODUCE
1. Select underline and comment, then save. However, when you click the underline to view it again, the comment is empty。


OBSERVED RESULT
Select underline and comment, then save. However, when you click the underline to view it again, the comment is empty. Later, it was found that there were comments on the right side of the underline, but not on the left side. That is to say, the mapping relationship between the position of clicking the underline and the approval is not accurate.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Laura David Hurka 2020-10-17 10:03:32 UTC
Thanks for your report. Unfortunately I have trouble understanding it, since there are different possible interpretations to “select comment” in Okular.

I understand that you created an underline annotation (say, a black underline). After that:
a) Did you deselect the underline annotation tool and double-clicked the annotation in the document view area, so a black annotation comment window opened?
b) Or did you select the popup comment annotation tool and clicked on the underline annotation to add a comment to it?

In case of a, I don’t know what you mean with the right side and the left side, and the position relationship. Can you add a screenshot of the problem, or even a screencast?

In case of b, you possibly misunderstood the annotation workflow of Okular. To add a comment to an existing annotation, you need to deselect the annotation tool (e. g. by clicking the “Browse” tool), and then double-click the annotation in the view area, or right-click it and select “Open popup note”. However, the comment will not be visible unless you explicitely double-click the annotation again. If the comment should be obviously visible, you need to create a second annotation of type “Popup note” or “Inline note”.
Comment 2 andy 2020-10-19 01:45:02 UTC
(In reply to David Hurka from comment #1)
> Thanks for your report. Unfortunately I have trouble understanding it, since
> there are different possible interpretations to “select comment” in Okular.
> 
> I understand that you created an underline annotation (say, a black
> underline). After that:
> a) Did you deselect the underline annotation tool and double-clicked the
> annotation in the document view area, so a black annotation comment window
> opened?
> b) Or did you select the popup comment annotation tool and clicked on the
> underline annotation to add a comment to it?
> 
> In case of a, I don’t know what you mean with the right side and the left
> side, and the position relationship. Can you add a screenshot of the
> problem, or even a screencast?
> 
> In case of b, you possibly misunderstood the annotation workflow of Okular.
> To add a comment to an existing annotation, you need to deselect the
> annotation tool (e. g. by clicking the “Browse” tool), and then double-click
> the annotation in the view area, or right-click it and select “Open popup
> note”. However, the comment will not be visible unless you explicitely
> double-click the annotation again. If the comment should be obviously
> visible, you need to create a second annotation of type “Popup note” or
> “Inline note”.

Through your reminding, I seem to understand where I was wrong. Therefore, the problem should not be okular's bug, but my misoperation.

By select comment, I mean underline comments. By clicking on the left and right, I mean the left and right ends of the underline.

My improper operation is that when I use the underline comment to select a sentence, I do not invert the underline comment, but double-click to open a pop-up window to add comments. The error occurs when you double-click. Due to the mouse movement, I mistakenly selected a character. That is to say, in a sentence, I not only selected the whole sentence, but also selected a certain character. When I double-click to pop up the underline comment window, I may hit the underline of that character or the whole sentence. That's what caused me the illusion that clicking on the left and right sides of the underline would bring up different comments. In fact, I added two underscores without knowing it.

I'm sorry that my Chinglish is not accurate enough, and thank you for your patience.
Comment 3 Laura David Hurka 2020-10-19 10:30:40 UTC
Fine, then I just close this. :)

> My improper operation is that when I use the underline comment to select a
> sentence, I do not invert the underline comment, but double-click to open
> a pop-up window to add comments.
Yes, that is something that happens to me too. It’s a question whether I want “Continuous” mode enabled or not...