Bug 149196 - Impress: Size of imported video is incorrectly applied (is set to 0) if Keep Ratio is checked
Summary: Impress: Size of imported video is incorrectly applied (is set to 0) if Keep ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.3.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Media
  Show dependency treegraph
 
Reported: 2022-05-20 08:20 UTC by BDF
Modified: 2023-05-21 18:02 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
test video for impress bug 149196 (6.37 KB, video/mp4)
2022-05-20 08:22 UTC, BDF
Details
Impress presentation for bug 149196 (15.22 KB, application/vnd.oasis.opendocument.presentation)
2022-05-20 08:25 UTC, BDF
Details
screenshot of impress slide on Windows (207.18 KB, image/png)
2022-05-20 08:35 UTC, BDF
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BDF 2022-05-20 08:20:51 UTC
Description:
When I add a video via drag and drop to a slide and change it's size in the sidebar on the right by typing in the value, the size is not applied, but is reset to 0.

Steps to Reproduce:
1. Drag and drop a video file onto an Impress slide
2. Go to the video properties in the sidebar on the right in 'Position and Size' 
3. Enter a value for the video size.

Actual Results:
The size of the video is reset to "0". It doesn't matter if you type the number and press enter or if you use the +/- keys.

Expected Results:
The correct size is applied to the video.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.3.2 / LibreOffice Community
Build ID: d1d0ea68f081ee2800a922cac8f79445e4603348
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: de-AT (de_AT.UTF-8); UI: de-DE
Flatpak
Calc: threaded

Operating System: KDE neon 5.24
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.13.0-41-generic (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics
Memory: 30.8 GiB of RAM
Graphics Processor: AMD RENOIR
Comment 1 BDF 2022-05-20 08:22:32 UTC
Created attachment 180242 [details]
test video for impress bug 149196

A test video for Impress to demonstrate the bug.
The video is a simple 2 seconds long video that just is a red colour.

The video was created with blender VSE.
Comment 2 BDF 2022-05-20 08:25:50 UTC
Created attachment 180244 [details]
Impress presentation for bug 149196

The slide with the video already included.

Steps to reproduce the bug:
1) Open the side panel on the right and go to the video properties
2) Change the video size by entering a number and pressing enter or by clicking the +/- buttons
Comment 3 BDF 2022-05-20 08:35:09 UTC
Created attachment 180246 [details]
screenshot of impress slide on Windows

 Width =   50.80
Height = -495.00

The height is what?
Comment 4 BDF 2022-05-20 08:40:17 UTC
I tested this bug in Windows and the numbers there are not reset to 0 but to 520 if aspect ratio should be kept. If unticked, the width can be entered, the height of "-495.00" can not be changed.

Version: 7.3.3.2 (x64) / LibreOffice Community
Build ID: d1d0ea68f081ee2800a922cac8f79445e4603348
CPU threads: 16; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: en-GB (de_AT); UI: de-DE
Calc: CL

OS
Edition	Windows 10 Home
Version	21H2
Build 19044.1706
Leistung	Windows Feature Experience Pack 120.2212.4170.0
Comment 5 BDF 2022-05-20 09:18:11 UTC
It seems to be important that you import the video to an *empty* slide. If the video is dragged and dropped into the title + content slide, the bug does not show up.
Comment 6 Buovjaga 2023-01-16 10:05:17 UTC
I only repro if Keep Ratio is checked. It doesn't matter, if the slide is empty or not.

I couldn't repro in bibisect repositories, but I guess that is because of lacking video codecs.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0160109aae49189f5cc9bed60db3c7084003e471
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded Jumbo
Built on 16 January 2023