-
Notifications
You must be signed in to change notification settings - Fork 169
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
Images do not take up entire screen when in fullscreen using Fit to Window #564
Comments
Those 2 options will solve your issues. First red circle, for fitting image to window. Second red circle is what is causing your margins. It expands smaller images to fit window but can be adjusted to have a limit of how much. Which is what is causing your margins. Move it all the way to the left to have no margins. |
Those are my settings, yes. I've experimented with different values to see what the problem might be. I tried other fit modes as well - stretching to width still has margins on the sides of the image, even for very large images, but it won't have the vertical margins. Videos are not impacted and will fit to screen correctly. I'm using the qimgv-qt6-kde-git package from the AUR. Here's a copy of qimgv.conf:
|
Okay. Now I'm confused at what option you are looking for. I'm only a user, so the scope my help is limited. Maybe a screenshot will help. Send screenshot of what you expect to happen maybe in another app and what is happening in the qimgv app. And I'm on windows. So maybe the apps behaviors are a bit different since you're on KDE. If you're looking for "Stretch to Fit". Which distorts and stretches the image to fit the window regardless of dimension. Which is usually undesired because it distorts the aspect ratio of the image. The app doesn't have it. Maybe using the right terminology would help. There's a few that exist. Fill = Fills out window using shortest dimension of the image, preserves aspect ratio, crops image, no margins So which one of those are you looking for. Can only be 1. qimgv only has 3 of them. |
Ok I've just built the Very strange. I'll also try on an external 2k monitor cause maybe the bug is resolution-dependant, but I doubt it Could you post a screenshot of the issue? |
This is the image as pulled from https://github.com/linuxdotexe/nordic-wallpapers/blob/4451bb432fc855159ab77a2ee41a0d4b8f60555a/wallpapers/ign_highTechGlobe.png which is a native 4k image on my 4k screen. This is the image as pulled from https://www.reddit.com/media?url=https%3A%2F%2Fi.redd.it%2Fp2nkmgo6p3ud1.png which is an ultrawide wallpaper. No matter the dimensions of the original image, it always opens with these margins. I'm able to then zoom as normal, but switching to "fit to screen" or just opening an image normally will have these margins. Sometimes, but not consistently, an image that I just open as a window but not in fullscreen won't have the margins. But sometimes it does open with the margins. If I use the arrow keys to change to another image in the folder, it goes back to having the margins again. |
After a recent update, qimv seems to no longer have the margins. I'm not sure what updated that might have changed this - maybe Krohnkite or Plasma? Nothing was changed in the configuration file, I updated my system yesterday and now today there's no issue. |
When in windowed mode, images will initially open and properly fit in window, assuming they're of sufficient resolution. But as soon as I go to the next image in a folder, or if I switch to or start in fullscreen, there's instead very large margins on all sides of the image. This occurs even when the image is above 4k on a 4k monitor.
On a similar note, I would like a way to force images to always fit in the screen regardless of size, or to otherwise set a size under which they no longer stretch to fit the window. The current option seems to just limit the screen space an image will take up to x4, regardless of starting resolution, which is annoying on high resolution displays.
The text was updated successfully, but these errors were encountered: