Bug 137633 - Drag handle not shown for textbox in DOCX
Summary: Drag handle not shown for textbox in DOCX
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: DOCX-Textbox
  Show dependency treegraph
 
Reported: 2020-10-20 18:26 UTC by Telesto
Modified: 2023-05-24 14:11 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-10-20 18:26:42 UTC
Description:
Drag handle not shown for textbox in DOCX

Steps to Reproduce:
1. Open attachment 166495 [details]
2. Select the left or right text box and search for the drag handle

Actual Results:
No drag handle

Expected Results:
A drag handle; present in 4.4.7.2


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
7.1

6.3

6.0

not in
Version: 5.2.5.0.0+
Build ID: a4d4fbeb623013f6377b30711ceedb38ea4b49f8
CPU Threads: 4; OS Version: Windows 6.2; UI Render: default; 
TinderBox: Win-x86@62-merge-TDF, Branch:libreoffice-5-2, Time: 2016-12-24_14:43:55
Locale: nl-NL (nl_NL); Calc: group
Comment 1 Telesto 2020-10-20 21:15:29 UTC
Also in
Version: 5.3.0.0.alpha1+
Build ID: 4136757b4e51c4e6f7cb4132c95538a7f831ef2c
CPU Threads: 2; OS Version: Linux 5.3; UI Render: default; VCL: x11; Layout Engine: new; 
Locale: en-US (en_US.UTF-8); Calc: group
Comment 2 Aron Budea 2020-10-29 06:20:40 UTC
It's the hand mouse cursor when you hover over the selection rectangle, right? (which isn't in sync with the border)

(In reply to Telesto from comment #1)
> Also in
> Version: 5.3.0.0.alpha1+
> Build ID: 4136757b4e51c4e6f7cb4132c95538a7f831ef2c
My experience is different, I bibisected it to the 5.4 backport of the following commit using repo bibisect-linux-64-5.4. The commit has been backported to 5.3, too, but it's only in 5.3.8.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=cc438f60d6ad0855f754dd32da9c9a80c7cabf92
author		Justin Luth <justin_luth@sil.org>	2017-07-06 14:54:27 -0400
committer	Justin Luth <justin_luth@sil.org>	2017-07-15 03:39:26 +0200

tdf#103978 textboxhelper: syncProperty OPAQUE (wrap in background)
Comment 3 NISZ LibreOffice Team 2020-12-08 08:54:17 UTC
NEW per bibisect result.
Comment 4 NISZ LibreOffice Team 2020-12-08 10:04:42 UTC
Looking at it again: When the textboxes are selected, around their border the mouse pointer changes to a 4-direction drag handle. Clicking then makes it possible to drag the textboxes.

This is the same experience as with my Word 2013. 

Clicking inside the textboxes puts the edit cursor inside their text, which makes sense.
Comment 5 Aron Budea 2020-12-08 10:16:58 UTC
The problem in Writer is that the borders and the selection rectangles don't match.
Comment 6 QA Administrators 2022-12-09 03:24:00 UTC Comment hidden (obsolete, spam)
Comment 7 Justin L 2023-05-24 14:11:32 UTC
Comment 5 appears to be solved in LO 7.1
from commit 0afba07a597bf1d361624e10968855a802b859a0
Author: Miklos Vajna on  Mon Nov 9 21:05:55 2020 +0100
    DOCX import: fix <w:spacing w:before="..."/> for more than 58cm
    
How I tested:
-open Resume.docx
-click on the border of textbox "Colton Loewen" to get the drag handles
-grab the top-right corner and reduce the size by dragging.

Result before the fix: the selection handles would be way to the left of the document - half-way outside of the application.

Result after the fix: the selection handles remained around the smaller textbox as one would expect.