Bug 52960 - Text selection in commented text ranges
Summary: Text selection in commented text ranges
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) Master
Hardware: Other All
: medium normal
Assignee: Miklos Vajna
Whiteboard: target:3.7.0
Depends on:
Reported: 2012-07-30 10:15 UTC by Olivier R.
Modified: 2012-08-09 10:21 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

commented text range (13.39 KB, application/vnd.oasis.opendocument.text)
2012-07-30 10:15 UTC, Olivier R.

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier R. 2012-07-30 10:15:22 UTC
Created attachment 64949 [details]
commented text range

Normal behavior of Writer for text selection:

double-click -> select a word
triple-click -> select a sentence
four clicks  -> select a paragraph

How to reproduce this bug:

Write a paragraph with several sentences. Create a comment on a text range. Try to select a word within this text range.

double-click -> select the full comment
triple-click -> select the first sentence of the text range, whatever sentence you try to select.

Try this with the attached file.
Comment 1 s-joyemusequna 2012-07-30 11:56:32 UTC
Confirmed with Version (Build ID: 0c6bc6e) from 2012-07-28 under Windows XP.
Comment 2 Not Assigned 2012-08-09 10:18:34 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":


fdo#52960 SwCursor::SelectWordWT fix text selection in commented text ranges
Comment 3 Miklos Vajna 2012-08-09 10:21:47 UTC
This is now resolved in master.