Bug 148917 - Adding a sheet in front of a sheet with a narrow column width, the object anchored by the cell will move to the left
Summary: Adding a sheet in front of a sheet with a narrow column width, the object anc...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.1.8.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2022-05-04 04:28 UTC by nobu
Modified: 2024-05-05 22:21 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
sample file (include basic macro) (11.14 KB, application/vnd.oasis.opendocument.spreadsheet)
2022-05-04 04:32 UTC, nobu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nobu 2022-05-04 04:28:19 UTC
Description:
Adding a sheet in front of a sheet with a narrow column width, the object anchored by the cell will move to the left.

Steps to Reproduce:
1. Start Calc
2. Make the Columns [A:E] narrow. (One character can be displayed)
3. Place PushBotton control in Cell [F1].
4. Set the PushBotton anchor to the Cell.
5. Create a new Sheet in front of the Sheet.


Actual Results:
It looks like PushBotton has moved to the left.

Expected Results:
PushBotton does not move as it is.


Reproducible: Always


User Profile Reset: No



Additional Info:
Even if there is a problem, Return to the original location by one of the following operations.

・ Operate column width or row height.
・ Delete the added Sheet.
・ The file is reopened.

Objects that can be anchored Cells seem to include such problems.

If there is a Sheet behind the corresponding Sheet, there will be no problem.

If there is set the PushBotton anchor to the Sheet, there will be no problem.
Comment 1 nobu 2022-05-04 04:32:33 UTC
Created attachment 179909 [details]
sample file (include basic macro)
Comment 2 LeroyG 2022-05-06 11:20:35 UTC
For me, the object¹ remains in the same place, but becomes invisible.
If do you select it,² and change the zoom level, it reapears.

¹ I tested with a shape in cell F1
² I created a new shape, selected the new shape, and pressed TAB.

Version: 7.1.8.1 (x86) / LibreOffice Community
Build ID: e1f30c802c3269a1d052614453f260e49458c82c
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: es-MX (es_MX); UI: en-US
Calc: threaded
Comment 3 nobu 2024-05-05 22:21:09 UTC
Confirmed with
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f4ef5435df5560e6b6b061ce4053c71e2819bf51
CPU threads: 4; OS: Windows 10.0 Build 10240; UI render: Skia/Raster; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: threaded