Bug 478483 - Resize to fit video option does not size correctly
Summary: Resize to fit video option does not size correctly
Status: REPORTED
Alias: None
Product: Haruna
Classification: Applications
Component: generic (show other bugs)
Version: 0.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: george fb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-13 20:32 UTC by Peter
Modified: 2023-12-13 20:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2023-12-13 20:32:51 UTC
SUMMARY
The "Resize to fit video" option in the Haruna settings is intended to expand or shrink the window to match the video without scaling it if the display's resolution is high enough. This is not currently working, likely because it is making an assumption about the size of the display.

STEPS TO REPRODUCE
1. Play a video file of resolution 1918x872 on a higher resolution display. 

OBSERVED RESULT
Instead of having the window shrink to fit the video with the video playing at native resolution, the window is maximized to fill the entire screen and the video is upscaled to 2048x931.

EXPECTED RESULT
That the video play at 1918x872 with no upscaling performed.

SOFTWARE/OS VERSIONS
Operating System: SteamOS 3.4.11
KDE Plasma Version: 5.26.1
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6

ADDITIONAL INFORMATION
The monitor's resolution is 2048x1152. This is enough additional resolution that no video upscaling to a larger window is necessary and other players work as expected for this case.