Bug 129343 - Line cannot be regenerated after its width has been reduced to zero
Summary: Line cannot be regenerated after its width has been reduced to zero
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
4.4.7.2 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Sidebar-Properties-PositionAndSize
  Show dependency treegraph
 
Reported: 2019-12-12 14:05 UTC by R. Green
Modified: 2022-05-17 08:19 UTC (History)
1 user (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 R. Green 2019-12-12 14:05:40 UTC
1. Draw a horizontal line less than 1 cm long.
2. In the "Position and Size" dialogue (docked), put the cursor at the end of the "Width" field and backspace so that only "0." is left.

Expected / Actual result: The line disappears.

3. Now enter a figure after the decimal point, or use the spin arrows to regenerate the line.

Expected result: the line should reappear again, reflecting the new value after the decimal point.
Actual result: The line has disappeared permanently. You have to UNDO to restore the line.
Comment 1 Durgapriyanka 2019-12-12 16:03:46 UTC
Thank you for reporting the bug. I can not reproduce the bug in

Version: 6.4.0.0.alpha1+ (x86)
Build ID: ec7374ff84c71edfbb30d6e4dc5b486b6df7107f
CPU threads: 2; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-11-10_21:37:30
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 2 R. Green 2019-12-12 16:11:58 UTC
Just to clarify: by "can not", do you mean "cannot" or "can now"?
Comment 3 R. Green 2020-03-07 11:15:44 UTC
Version: 6.4.0.3 (x64)
Build ID: b0a288ab3d2d4774cb44b62f04d5d28733ac6df8
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win; 
Locale: en-GB (en_GB); UI-Language: en-GB
Calc: threaded

I CAN duplicate it in this version. The same thing happens if, at step 2 (above), you use the down-spinner to reduce the line to "0.00". Once at zero, you cannot regenerate the line by any means from the "Position and Size" dialogue.
Comment 4 Buovjaga 2020-05-16 15:59:39 UTC
Repro on Win and Linux. Already in 4.4, so I think this in an implementation error when Position and size section was added into the Sidebar.

Arch Linux 64-bit
Version: 7.0.0.0.alpha1+
Build ID: bdc8cd060dca8a97ef7970d1c0ab30694930beea
CPU threads: 8; OS: Linux 5.6; UI render: default; VCL: kf5; 
Locale: en-US (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 14 May 2020
Comment 5 QA Administrators 2022-05-17 03:31:42 UTC Comment hidden (obsolete)
Comment 6 R. Green 2022-05-17 08:19:10 UTC
Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 465c3ad95059f0efa13c8027f7383c4d20a5b2ff
CPU threads: 2; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

Yes, the issue is still extant.

1. Create a line.
2. Reduce width to zero in the "Position and size" section of the sidebar.
3. Now increase the width again in the sidebar.

ACTUAL RESULT: The line does not regenerate.

EXPECTED RESULT: The line should appear again.