Bug 116903 - Wrong image size shown when using an external image area bitmap fill
Summary: Wrong image size shown when using an external image area bitmap fill
Status: RESOLVED DUPLICATE of bug 152295
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (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: Area-Fill-Tab-Image
  Show dependency treegraph
 
Reported: 2018-04-09 16:42 UTC by Telesto
Modified: 2022-12-19 12:48 UTC (History)
2 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 2018-04-09 16:42:25 UTC
Description:
Wrong image size shown when using an external image area bitmap fill

Steps to Reproduce:
1. Download attachment 141232 [details]
2. Open Writer
2. Format -> Page - Area tab -> Bitmap
3. Add import -> 
4. Size shown: 1 cm width 1 cm height
4. Press OK
5. Format -> Page - Area tab -> Bitmap -> Notice 107,34 cm width/ 76,96 cm height

Actual Results:  
Wrong dimensions shown in the size field

Expected Results:
Correct dimensions should be shown in the size field


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.1.0.0.alpha0+
Build ID: 818619b0f2f7813decb26d0b14362dec76a8ff37
CPU threads: 4; OS: Windows 6.3; UI render: default; 
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2018-04-08_13:29:47
Locale: nl-NL (nl_NL); Calc: CL


User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 Regina Henschel 2018-04-09 22:47:12 UTC
Please copy the About information of your version. I ask for it, because there had been recently some work on the dialog.
Comment 2 Regina Henschel 2018-04-10 00:43:15 UTC
The version Version: 6.1.0.0.alpha0+ (x64)
Build ID: 8b34efff7a7ed13553dfe87cd2413d01c76dec1d
CPU threads: 8; OS: Windows 10.0; UI render: default; 
Locale: de-DE (de_DE); Calc: CL

contains the recent made changes.

I can confirm the error. In the fill style "Custom position/size the fields are only updated with the actual size of the image, after you close and reopen the dialog.

The initial size is set to 1cm x 1cm. It should be set to the size of the selected image.
Comment 3 Xisco Faulí 2018-04-11 11:16:16 UTC
Yes, the error is while setting the image size, not after reloading the dialog...
Comment 4 Telesto 2018-04-23 18:52:14 UTC
Hmm, not only 'external images' are affected
1. Format -> Page -> Area tab
2. Bitmap button -> Select a bitmap (style: tiled)  -> Size shown: 1 cm width 1 cm height
3. Press OK
4. Format -> Page - Area tab -> Bitmap
5. Size shown: 23,90 x 23,90
6. Change it to  1 cm width 1 cm 
7. Press OK (layout changes)
8. Open the Format -> Page - Area tab -> Bitmap again:  1 cm width 1 cm shows up
9. Press OK layout changes again (back to the look in step 3)
Comment 5 QA Administrators 2019-04-24 02:49:51 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2021-04-24 04:09:26 UTC Comment hidden (obsolete)
Comment 7 Tibor Nagy 2022-12-19 12:48:23 UTC

*** This bug has been marked as a duplicate of bug 152295 ***