Bug 106858 - Slide / Page background image size needs a "keep ratio" option like images do ( steps in comment 2 )
Summary: Slide / Page background image size needs a "keep ratio" option like images do...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.2.5.1 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 138119 155614 (view as bug list)
Depends on:
Blocks: Slide-Background
  Show dependency treegraph
 
Reported: 2017-03-29 19:08 UTC by Stapler
Modified: 2023-06-02 16:03 UTC (History)
7 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 Stapler 2017-03-29 19:08:01 UTC
Once you set a background image using "Slide > Set background image" then go to "Slide > Slide properties > Background" and uncheck "AutoFit" and check "Relative", what is it relative to? Certainly not the original image. It seems that what its relative to is the slide's dimension's, not the image's original dimensions. Ok, that's fine, but in that case there should be an option to let the image keep its proportions, because if the user wants to scale the image to 50% of the slide's height then they have no idea what to set the width to. The image does not keep its proportions and so becomes distorted. Try it for yourself.

Width=50% Height=50% https://i.imgur.com/W5cB0Xp.png
Width=100% Height=50% https://i.imgur.com/5SJrIll.png
Both are distorted.
Comment 1 Carlos 2017-03-29 19:46:53 UTC
Thank you for reporting the bug. 
Unfortunately without clear steps to reproduce it, we cannot track down the origin of the problem. 
Please provide a clearer set of step-by-step instructions on how to reproduce the problem.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested information is provided.

Where can you find the "AutoFit" option. A screenshot would be useful.
Comment 2 Stapler 2017-03-29 20:08:52 UTC
1. Set a background image using "Slide > Set background image"
2. Go to "Slide > Slide properties > Background"
3. Uncheck "AutoFit"
4. Check "Relative"
5. Set Height=50%

You want the background image to keep its width:height proportions but LibreOffice doesn't let you do that.
Comment 3 Regina Henschel 2017-11-16 21:09:20 UTC
This dialog does no longer exist in current versions (5.3.7 and 5.4.3). The current workflow is to first import the image and then set the kind of filling. The current versions have an item "Custom", where you can select a percent value and a check box "Scale" to decide, whether the value is relative to the slide size or relative to the image size.

But the dialog has no options, to easily get the percent value, which is needed to scale the image with keeping ration to height or width. Therefore I set this to enhancement request.
Comment 4 Heiko Tietze 2017-11-19 10:22:28 UTC
Original proposal was published at https://design.blog.documentfoundation.org/2015/12/22/area-fill-options-made-consistent/. Don't think there is further input from UX needed.
Comment 5 Heiko Tietze 2021-03-26 07:54:20 UTC
*** Bug 135591 has been marked as a duplicate of this bug. ***
Comment 6 Stéphane Guillou (stragu) 2023-01-19 23:39:28 UTC
*** Bug 138119 has been marked as a duplicate of this bug. ***
Comment 7 Buovjaga 2023-06-02 16:03:09 UTC
*** Bug 155614 has been marked as a duplicate of this bug. ***