Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fit to window doesn't work on qt6 #578

Open
Rabcor opened this issue Dec 17, 2024 · 3 comments
Open

Fit to window doesn't work on qt6 #578

Rabcor opened this issue Dec 17, 2024 · 3 comments

Comments

@Rabcor
Copy link

Rabcor commented Dec 17, 2024

Settings:
image

Result:
image

Fit to window actually makes the image much smaller than the window for me, always, aspect ratio of the image itself vs window doesn't seem to matter much at all.

Even if I use the automatic resize setting, image will still be a lot smaller than the window, it's like qimgv doesn't properly recognize the size of the window, maybe cuz I'm on wayland or something?

Edit: I've found out that it's related to qt6ct somehow, i tried both of the qimgv qt6ct versions in AUR and had this issue, i tried the qt5ct version and it's fine there, although that version opens videos in a separate window.

@Rabcor Rabcor changed the title Fit to window doesn't work. Fit to window doesn't work on qt6 Dec 17, 2024
@soul4kills
Copy link

From your settings where it says "Expand images, up to" "4x". That's the limit you set for it to expand to. Only 4x it's original resolution.

If you move that slider all the way to the left to set it to "-" nothing. It will fill the window by the longest dimension.

@Rabcor
Copy link
Author

Rabcor commented Jan 10, 2025

From your settings where it says "Expand images, up to" "4x". That's the limit you set for it to expand to. Only 4x it's original resolution.

If you move that slider all the way to the left to set it to "-" nothing. It will fill the window by the longest dimension.

The image i used in my examlpe is 4k, my monitor is only 1440p. The image is displayed at 36% of it's original size, no matter what I set it to.

@soul4kills
Copy link

Last thing you could try is uncheck "Unlock Minimum Zoom". That prevents the zoom level going anything below the window size. So it lets you zoom in but not zoom out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants