GNOME Bugzilla – Bug 309924
Double-clicking should select word
Last modified: 2007-10-08 16:43:41 UTC
Double-clicking on text in Evince should select a word, as it does in most other selectable text views. Also, triple-clicking should probably select either the line or the sentence.
Another small addition to text selection would be a right click menu, similar to other areas of text you can select in GTK programs. At least "Copy" and "Select all" should in there.
*** Bug 377774 has been marked as a duplicate of this bug. ***
Nice to have in near future
I like how web browsers grab the paragraph on a triple click. That might be good for consistancy.
I was trying to figure out how to implement this feature. As I can see, there is no way to iterate over the document text, am I wrong? The only way I found to get a selection is calling compute_selections and passing a rectangle. If this is the only way we have to get text selected, I think that is not possible right now to make this feature (I made a hack that use a growin rectangle, but has an strange behavior on complex documents :). Ideas?
Poppler work is certainly required both for ally and complex selections. Current interface is not accepatable.
Ricardo, Are you still working on a fix to this issue? I'm just interested in giving it a go, but don't want to duplicate any work.
Not at the moment, I'm a little busy with others stuff.
Although this bug is marked as gnome-love is not actually so easy, since it also requires changes in poppler. Poppler changes were added yet (thanks to krh) and I've just committed the evince stuff to svn trunk. It supports double and triple click selections as well as double/triple click + drag selections.
*** Bug 484748 has been marked as a duplicate of this bug. ***