Bug 135833

Summary: UI: Bitmap area preview looks stretched with scaled turned on
Product: LibreOffice Reporter: Telesto <telesto>
Component: UIAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: libreoffice-ux-advise
Priority: medium Keywords: needsUXEval
Version: 7.1.0.0.alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=141059
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Screencast

Description Telesto 2020-08-17 09:30:15 UTC
Description:
UI: Bitmap area preview looks stretched with scaled turned on

Steps to Reproduce:
1. Open Writer
2. Page -> Page Style -> Area tab -> Bitmap
3. Select maple leaves & turn scale on and look at the preview
4. Switch Colorful pebbles
5. Switch to coffee beans 

Actual Results:
Stretched images (not proportional)

Expected Results:
Proportional


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: <buildversion>
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2020-08-17 09:31:27 UTC
Don't thinks this needs UX advise, but always nice to have Heiko in the loop
Comment 2 Heiko Tietze 2020-08-31 09:48:22 UTC
What do you expect? Stretched (onto the page background) means the image to be distorted and the preview shows this.

Use Custom position/size and large values for width/height to proportionally scale.  Or tile to fill the entire background.

Nevertheless, Area Fill > Bitmap has not been finished, see bug 113224. The original idea is described here https://design.blog.documentfoundation.org/2015/12/22/area-fill-options-made-consistent/ (pretty sure there is a duplicate to this issue).
Comment 3 Telesto 2020-09-16 15:25:08 UTC
Created attachment 165575 [details]
Screencast
Comment 4 Heiko Tietze 2020-09-16 17:21:55 UTC
(In reply to Telesto from comment #0)
> UI: Bitmap area preview looks stretched with scaled turned on

If you check stretched the preview shouldn't stretch?
Comment 5 QA Administrators 2021-03-16 04:29:39 UTC Comment hidden (obsolete)
Comment 6 Telesto 2021-03-16 10:21:30 UTC
(In reply to Heiko Tietze from comment #4)
> (In reply to Telesto from comment #0)
> > UI: Bitmap area preview looks stretched with scaled turned on
> 
> If you check stretched the preview shouldn't stretch?

Hmm, the preview should match the actually stretchiness on the document itself. Wanted to check that, but ran into: bug 141059
Comment 7 Heiko Tietze 2021-03-17 09:55:21 UTC
Let's close this ticket. Some possible configurations haven't been implemented, see bug 113224, but the status of stretched images is correctly shown in the preview (all options are disabled but per custom position/size and scale you get the same result).