Apache OpenOffice (AOO) Bugzilla – Issue 110655
Display of block selection mode is broken
Last modified: 2017-05-20 11:41:43 UTC
I just happened to note that block selection is not working properly in the latest snapshot. 1) File > New > Text Document 2) dt,F3 (insert dummy text autotext) 3) Edit > Selection Mode > Block Area: YES (checked) 4) Click in the top line and drag toward the lower right: the visible selection does not follow the mouse cursor position; it seems to be offset. The visible selection does accurately show what is selected, it just doesn't follow the mouse cursor as I drag it. The block selection does seem to work if I start at the right and drag toward the left. Block area selection works properly for me in OOo 3.2.0 on the same system.
Oops: I'm running DEV300_m75 on Fedora Linux 11. OS set to Linux--I'm guessing this is system-specific.
@jes: Good catch! Thank you! :) Reproducible on Vista too. Reset OS to All. @MBA: Regression in DEV300 (tested m75) only. The displayed selection in block selection mode doesn't follow the mouse pointer when dragging from left to right. It's hard to explain but let's say that if you drag the mouse in the dummy text following a north-west to south-east direction, the selection will expand correctly to the right but will stay in the first 2-3 lines of text collapsing and expanding as if the Y coordinate of the selection was following a sinusoidal function... Sometimes dragging doesn't create any selection. But the selection NEVER follows the pointer. OD/OS: one of your playgrounds?
Functionality seems to be broken in DEV300m66 - DEV300m65 works fine. od->mst: It seems that the changes from cws sw33bf01 causes this defect. Thus, please take over.
found the root cause: a change to SwRect::Justify() from the patch in i106401 (X was changed into Y)
fixed in cws sw33bf03 http://hg.services.openoffice.org/hg/cws/sw33bf03/rev/1674dc534d3d
Reassigned to ES
Verified in CWS sw33bf03
The hg pages seem to say that the fix was merged in DEV300_m77, but I don't see the fix in the latest OOo-Dev snapshot (DEV300_m78). Hopefully I'm just reading it wrong and the fix is on track to be integrated with the new branch.
od->jes: cws sw33bf03 which contains the fix for this issue has been integrated into DEV300m79. Thus, please check again in DEV300m79 or even DEV300m80
Testing OOo-dev 3.3 300m80(Build:9507) in Fedora Linux 13: Looks good: block selection works correctly. Thanks!