Bug 453614 - Highlighter Annotation not readable
Summary: Highlighter Annotation not readable
Status: RESOLVED DUPLICATE of bug 155563
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 21.12.3
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-10 08:36 UTC by Ian Proudler
Modified: 2022-05-11 18:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
GIF showing atempt to annotate a pdf document (534.73 KB, image/gif)
2022-05-10 18:49 UTC, Ian Proudler
Details
Example pdf document used in GIF (21.91 KB, application/pdf)
2022-05-10 18:50 UTC, Ian Proudler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Proudler 2022-05-10 08:36:30 UTC
SUMMARY
***
When reading a pdf document with some highlighter annotations, clicking on the highlighted text does not show annotation. On further investigations I discovered that I can see the annotation by clicking at the very left-hand side of the highlighted text but it is very sensitive to the position of the mouse.

In addition once a highlighter annotation has been created, it is no longer possible to delete it.
***


STEPS TO REPRODUCE
1.  Annotate a pdf document using the highlighter tool. Close the annotation window.
2. Hover mouse over highlighted text. Right click on  highlighted text.
3. Move mouse to extreme left-hand side of  highlighted text, double click.
4. Save file, repeat 2 & 3.

OBSERVED RESULT
Annotation text does not pop up. Can't reopen annotation windows, no option to delete annotation.

EXPECTED RESULT
Annotation text should  pop up when mouse hovers over highlighted text. Annotation  window should be capable of being reopened.  There should be an option to delete annotation using left-hand mouse button. This what happened when I was using Kubuntu 20.04.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Kubuntu 22.04 
KDE Plasma Version: 5.24.4
KDE Frameworks Version:  5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Albert Astals Cid 2022-05-10 17:02:37 UTC
> There should be an option to delete annotation using left-hand mouse button. 

This has never existed, unless you mean right mouse button, and the option is still there.

I don't understand the other part of the bug (for the record never report two different issues in the same bug), you mean that clicking the right mouse button on some parts of the highlight don't show the menu for that higlight?

If so could you attach a video recording of the issue (peek is a good app to record the desktop) and ideally the file you're having trouble with?
Comment 2 Ian Proudler 2022-05-10 18:49:19 UTC
Created attachment 148715 [details]
GIF showing atempt to annotate a pdf document

The GIF file shows me attempting to annotate a pdf document.  I first select the 'Yellow Highlighter' button and then highlight some words. Next I double-click (several times) on the highlighted text (to open up the text box). This does not work. I then double click on the extreme left-hand side of the highlighted text and the text box appears, I type the word "test" and close the text box. I move the cursor over the highlighted text expecting to see a pop-up showing me the annotated text. This does not happen. Double-click on the highlighted text. All that happens is the underlying words get selected. I right-click on the highlighted text (to get the options menu).  I get an options menu related to the underlying text. Finally I go to the annotation sidebar and can open the annotation text box and delete it. 

If I open the annotated document in Gnome Document Viewer (Evince) very thing is as I would expect.

> Comment #1 from Albert Astals Cid <aacid@kde.org> ---
>> There should be an option to delete annotation using left-hand mouse button. 
> This has never existed, unless you mean right mouse button, and the option is
still there.
Sorry about that. I use a left-handed mouse and forgot to translate.
Comment 3 Ian Proudler 2022-05-10 18:50:38 UTC
Created attachment 148716 [details]
Example pdf document used in GIF

This is the example pdf document I used in the GIF movie.
Comment 4 Laura David Hurka 2022-05-11 18:12:23 UTC
You are in Text Selection mode. This mode will make the mouse select text if there is text. Since there is text, it does not select the annotation instead.

You need to use Browse mode. I agree that this is not intuitive user interface. :(

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