Bug 117277 - Image doesn't grow with the cell in some cases
Summary: Image doesn't grow with the cell in some cases
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.1.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-27 08:58 UTC by impreza233
Modified: 2018-04-27 16:28 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Image (94.73 KB, image/png)
2018-04-27 08:59 UTC, impreza233
Details
File that is having trouble (25.20 KB, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet)
2018-04-27 11:08 UTC, impreza233
Details

Note You need to log in before you can comment on or make changes to this bug.
Description impreza233 2018-04-27 08:58:48 UTC
Description:
In some xlsx documents I cannot modify anchor of image when image is pinned to a cell and configured to change anchor and height

Steps to Reproduce:
1. Change image to Anchor (cell and change width with that)
2. Change width of cell
3.

Actual Results:  
Image not change width

Expected Results:
Image change width


Reproducible: Sometimes


User Profile Reset: Yes



Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Comment 1 impreza233 2018-04-27 08:59:16 UTC
Created attachment 141684 [details]
Image

Image not resizing
Comment 2 impreza233 2018-04-27 10:48:35 UTC
I have reproduced too in:

Versión: 6.1.0.0.alpha1
Id. de compilación: cb47f0d320994e001bc38dc2ee9b7d957b15e6ab
Subprocs. CPU: 4; SO: Mac OS X 10.11.5; Repres. IU: predet.; 
Configuración regional: es-ES (es.UTF-8); Calc: group
Comment 3 impreza233 2018-04-27 11:08:10 UTC
Created attachment 141703 [details]
File that is having trouble
Comment 4 Xisco Faulí 2018-04-27 11:34:40 UTC
Reproduced back to the initial commit

Version: 6.1.0.0.alpha0+
Build ID: acf0bad4e2b8c3c43aaaee8312c8a61d3552fcc2
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

@Samuel, would you mind taking a look at it ?
Comment 5 Samuel Mehrbrodt (allotropia) 2018-04-27 16:26:29 UTC
The image in B2 is larger than its cell (it is partly in B3).
If the image is larger than its cell, the behavior is that it always will end in the same cell.
So it is not enlarged when enlarging the cell width.

Even when it fits into the cell, it will only become as large as the cell is.

The main use case for this feature is to have images inside of one cell (and keep them in that cell when resizing).

When the image is larger than its cell, we need to take care of the image end anchor as written, and so the behavior is different there.

If there are specific proposals what can be improved here, let me know.