summaryrefslogtreecommitdiff
path: root/svx/source/sdr/contact/objectcontactofobjlistpainter.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-04-28 17:19:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-04-28 20:47:36 +0200
commit9f46ae1ab572b62af01119dcd473f99184e4760c (patch)
treeac43cbbb59cb3ba22788cfb965de34f6fb77f944 /svx/source/sdr/contact/objectcontactofobjlistpainter.cxx
parent6e66b30d9287b418bed35400c77b257b97cf26ec (diff)
tdf#116384 only drag hyperlink if user's not currently setting the selection
which is what writer does for normal text. Under gtk it's common on selecting by dragging the mouse over a hyperlink for one or two letters of the hyperlink to get selected before that selection then gets dragged as dnd. Under gen StartDragWidth is 2 by default so the drag kicks in before enough text has been selected for writer to select anything, but under gtk gtk-dnd-drag-threshold is used for StartDragWidth and that is 8 by default making it easy to select one or two characters before the gesture is recognized as a possible drag. it seems sane to do the same as for normal text and not dnd if the user is still using the mouse to set a selection Change-Id: I971d429acaf8a5a656c5ce58f52632979b94e40a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114817 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/sdr/contact/objectcontactofobjlistpainter.cxx')
0 files changed, 0 insertions, 0 deletions