Bug 150056

Summary: Feature Request (Impress): Limit size of imported video to slide size
Product: LibreOffice Reporter: BDF <bugs_documentfoundation_org.5.kuru>
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: heiko.tietze
Priority: medium    
Version: 7.3.4.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107322, 107817    
Attachments: video in Impress slide

Description BDF 2022-07-19 07:11:49 UTC
Description:
When a video is imported into a slide via drag & drop the video is always way too big and needs to be re-scaled every time.

Steps to Reproduce:
1. Drag & Drop a file onto a slide (slide layout is empty)

Actual Results:
The video is too big (see attached image)

Expected Results:
The video should have the max. dimensions of the slide


Reproducible: Always


User Profile Reset: No



Additional Info:
I use a 16:10 slide for a 16:10 beamer. I created the videos I want to show in the beamer's resolution of 1920x1200. Everytime when I drag a video into the slide I have to resize and center it.

I don't say that you shouldn't be able to enlarge a video if you want, but having a video that is too large for the slide should not be the default in my opinion.
Comment 1 BDF 2022-07-19 07:13:27 UTC
Created attachment 181319 [details]
video in Impress slide

The image shows the imported video.
The max slide width seems to be 28cm. The imported video size is 50.80 cm.
Comment 2 Roman Kuznetsov 2023-03-09 14:04:31 UTC
I agree, but added UX-team for discussion
Comment 3 Heiko Tietze 2023-03-14 12:52:25 UTC
Sure, let's scale down to 80 or 90% of the slide dimension if larger than 100%. If too small I'd keep it small.