After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 749727 - Impossible to select the text in a note with the mouse
Impossible to select the text in a note with the mouse
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: pdf annotations
3.14.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-05-22 12:26 UTC by Frédéric Parrenin
Modified: 2015-12-02 15:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Selecting text inside annotations (3.75 KB, patch)
2015-07-29 20:26 UTC, giselle
committed Details | Review

Description Frédéric Parrenin 2015-05-22 12:26:25 UTC
Steps to reproduce:
- open a pdf document
- create a note a insert some text
- try to select the text with the mouse
=> the note is moved and the text is not selected
The expected behavior would be to select the text.
The note should be moved only by dragging the header of the note
Comment 1 giselle 2015-07-29 20:26:22 UTC
Created attachment 308416 [details] [review]
Selecting text inside annotations

Hello!

The problem was caused by the fact that GtkWindow was getting all the button-press events. The patch removes this setting and adds an event box to the title bar which takes the button-press and calls the function to move the window. This way, the text view behaves as expected, and the window is only moved via the title bar.
Comment 2 Carlos Garcia Campos 2015-12-02 15:19:52 UTC
Comment on attachment 308416 [details] [review]
Selecting text inside annotations

Cool!, pushed, thank you.