Bug 137964 - EDITING Shift + arrows move textframe out of rectangle shape
Summary: EDITING Shift + arrows move textframe out of rectangle shape
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.0.3 release
Hardware: All All
: medium normal
Assignee: Dániel Arató (NISZ)
URL:
Whiteboard: target:7.1.0
Keywords: implementationError
Depends on:
Blocks: Shape-Textbox
  Show dependency treegraph
 
Reported: 2020-11-03 15:45 UTC by NISZ LibreOffice Team
Modified: 2020-12-30 10:38 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Writer (10.27 KB, application/vnd.oasis.opendocument.text)
2020-11-03 15:45 UTC, NISZ LibreOffice Team
Details
Screenshot of the original document in Writer (35.11 KB, image/png)
2020-11-03 15:46 UTC, NISZ LibreOffice Team
Details
Screenshot of the problem in Writer after pressing Shift + up ; Shift + Left on all the shapes (28.16 KB, image/png)
2020-11-03 15:46 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2020-11-03 15:45:51 UTC
Created attachment 166974 [details]
Example file from Writer

Attached document contains some simple shapes with textframes.
When they are selected and moved around with the arrow keys the textframe stays with the shapes correctly.

However when the shapes are moved around by Shift+arrow keys the rectangles textframe is moved independently from the rectangle shape, while the other two shapes move together with their textframes.

Steps to reproduce:
    1. Open attached file
    2. Click on the shapes and press Shift + Arrow keys

Actual results:
Rectangle shapes textframe moves independently from the shape, while the triangle and diamond shapes textframes move with the shape.

Expected results:
Rectangle shape and its textframe move together when Shift+Arrow keys are used.

LibreOffice details:
Version: 7.1.0.0.alpha1+ (x64)
Build ID: bd8edf5d2ac579e51bfbf5fa6061909a67a309c7
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL

Also in:
Version: 6.0.0.3
Build ID: 64a0f66915f38c6217de274f0aa8e15618924765
CPU threads: 4; OS: Windows 6.3; UI render: default; 
Locale: en-US (hu_HU); Calc: CL

Version: 5.0.0.5
Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b
Locale: hu-HU (hu_HU)

Version: 4.4.0.3
Build ID: de093506bcdc5fafd9023ee680b8c60e3e0645d7
Locale: hu_HU
Comment 1 NISZ LibreOffice Team 2020-11-03 15:46:31 UTC
Created attachment 166975 [details]
Screenshot of the original document in Writer
Comment 2 NISZ LibreOffice Team 2020-11-03 15:46:49 UTC
Created attachment 166976 [details]
Screenshot of the problem in Writer after pressing Shift + up ; Shift + Left on all the shapes
Comment 3 Commit Notification 2020-11-12 15:21:23 UTC
Daniel Arato (NISZ) committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/768cfcee178b284be6d96d384364e59e40ecb375

tdf#137960 tdf#137964 sw: fix Shift-ArrowKey text box movement

It will be available in 7.1.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 NISZ LibreOffice Team 2020-12-30 10:38:05 UTC
Verified in:

Version: 7.2.0.0.alpha0+ (x64)
Build ID: 368c56144aab5794c39d5bc2082d9b3d6d7cebdb
CPU threads: 4; OS: Windows 10.0 Build 17134; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: threaded

Thanks for fixing!