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

Change windowed mode zooming default settings #11

Open
XCongoAlpha opened this issue Aug 1, 2021 · 14 comments
Open

Change windowed mode zooming default settings #11

XCongoAlpha opened this issue Aug 1, 2021 · 14 comments
Labels
config opts Related to configuration options, config files, or keymap files documentation Improvements or additions to documentation

Comments

@XCongoAlpha
Copy link

Current Default Settings:

DefaultWindowRect=image
When you zoom in an image while in windowed mode, the window will be resized and move around like crazy.

Proposed Default Settings:

DefaultWindowRect=auto
When you zoom in an image while in windowed mode, the window will keep the current window size just like how every other image viewer does it. Just discovered this settings (after using JPEGView for over a year) and why isn't it the default settings? It is normally how other image viewers react when zooming in an image when in windowed mode.

This doesn't annoy me because I always backup my JPEGView.ini file but new users who doesn't fiddle around the settings will not find this. And if they discover that zooming in windowed mode is "bugged", JPEGView will be immediately uninstalled.

Cant attach a gif/video cause I'm too lazy to install another program just for this. Try it out and see the difference.

@sylikc
Copy link
Owner

sylikc commented Oct 5, 2021

I guess this was the way it was set before, but if it doesn't make sense, I could change it. I don't usually see this behavior though, are you zooming into odd sized images?

@sylikc sylikc added documentation Improvements or additions to documentation enhancement New feature or request question Further information is requested labels Oct 5, 2021
@XCongoAlpha
Copy link
Author

Happens in all image sizes

bandicam.2021-12-18.12-59-19-552.mp4

.

@sylikc sylikc removed the question Further information is requested label Jan 30, 2022
@GlassGruber
Copy link

GlassGruber commented Jul 27, 2022

@XCongoAlpha I think this is what you are actually looking for, you have to uncheck this setting:
Zoom > Fit window to image

I came to ask basically the same thing as you but for this specific option.
AFAICT there is no setting in the INI file for this, and when the program is closed the option is set back to active.

Thank you @sylikc for keeping this software alive!

image

@sylikc sylikc added the config opts Related to configuration options, config files, or keymap files label Jan 19, 2023
@JRHille
Copy link

JRHille commented Mar 6, 2023

@sylikc
I was looking for this function in the ini file but as @GlassGruber said apparently it doesn't exist.

Without this function it is unusable for me, it is very bad that the window keeps changing size when advancing the images.

A setting to make the window sizes fixed would be nice.

@sylikc
Copy link
Owner

sylikc commented Mar 6, 2023

@JRHille The window doesn't change if you set the setting not to change. It's not the default setting, but you can set it in the INI

Did you set DefaultWindowRect=auto?

@GlassGruber
Copy link

Without this function it is unusable for me, it is very bad that the window keeps changing size when advancing the images.

This is a bit OT but there are many ways to suggest or even ask for improvements, may I suggest to be a little more accommodating? I'm sure you didn't mean to sound harsh.

@JRHille
Copy link

JRHille commented Mar 6, 2023

yes, I tried to make it auto and also sticky, but the window size is not fixed. I would like it to stay as when the ctrl+F11 option is unchecked.
notepad++_O0Ofpgy3pv

@JRHille
Copy link

JRHille commented Mar 6, 2023

This is a bit OT but there are many ways to suggest or even ask for improvements, may I suggest to be a little more accommodating? I'm sure you didn't mean to sound harsh.

I apologize, but I didn't mean to be rude. I've been looking for a viewer for a long time, I've tested many and this one seems to be the best so far. But it would be nice to have an option to leave the window fixed as mentioned by the op

@sylikc
Copy link
Owner

sylikc commented Mar 6, 2023

Thanks. So... I'm actually still very lost... Are you two saying that the CTRL+F11 feature is resetting when restarting JPEGView?

@sylikc
Copy link
Owner

sylikc commented Mar 6, 2023

@JRHille can you attach your current INI file? I am using auto option myself and the window size doesn't change with image, even when i close and restart JPEGView

@JRHille
Copy link

JRHille commented Mar 6, 2023

Are you two saying that the CTRL+F11 feature is resetting when restarting JPEGView?

Exactly, the option is checked again when restarting the program.

I changed it to auto in both INI's, in the main JPGview folder and in %APPDATA% but it doesn't seem to have any effect, I don't know if I'm doing something wrong.

INI file: https://we.tl/t-BJw14a8Fqi

EDIT: I found the solution. The ShowFullScreen option needs to be set to false to work. I remember having done that before, but I think it was in the INI of the general folder, now I also changed it in the user folder and it worked.

notepad_aFLm3XypmE

@sylikc
Copy link
Owner

sylikc commented Mar 6, 2023

Some of these defaults will are being considered in #140 but the way the user INI overrides the global INI will be addressed with suggestions in #157

I think it's safe to mark this as a closed issue though the defaults will be changed at some point. Or at least an "alternate" ini while retaining legacy INI ... lots of it still being designed

@JRHille
Copy link

JRHille commented Mar 6, 2023

ok, thanks a lot for your help and for keeping the program up to date.

@sylikc sylikc removed the enhancement New feature or request label Mar 7, 2023
@pTinosq
Copy link

pTinosq commented Feb 19, 2024

Not to be reviving a dead issue but I've recently incorporated JPEGView into my workflow and this issue is still really quite annoying.

I have found that the workaround of ShowFullScreen=false and DefaultWindowRect=auto does (for some reason??) set the Fit Window To Image default to off which is great. The problem now is that I don't really want DefaultWindowRect=auto. I find DefaultWindowRect=image to make much more sense. If you set the setting to image then it just switches the fit window to image default BACK TO ON.

Not sure why this is happening but it would be amazing to see a fix for this. This is almost the perfect image viewer IMO.

GerHobbelt pushed a commit to GerHobbelt/jpegview that referenced this issue Jul 27, 2024
Added a text on where the new screenshots are
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config opts Related to configuration options, config files, or keymap files documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

5 participants