Allow "Save As" options for selected format (Windows version has this already)

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

User avatar
winnylinny
Posts: 167
Joined: Fri Apr 17, 2020 5:35 pm

Allow "Save As" options for selected format (Windows version has this already)

Post by winnylinny »

Currently, for the Windows version of XnViewMP, when you go to "Save As", you can select the format, and change the format's options (such as quality, filter strength, etc).

However, for the Linux version of XnViewMP, you can only choose the format, but you cannot configure the settings when saving. You are limited to select PNG, WEBP, JPG, etc, but you cannot change anything with the quality, metadata, filter strength, and other options of the format selected.
Attachments
save-as-windows-options.png
no-options-linux.png
no-options-linux.png (43.73 KiB) Viewed 16668 times
User avatar
winnylinny
Posts: 167
Joined: Fri Apr 17, 2020 5:35 pm

Re: Allow "Save As" options for selected format (Windows version has this already)

Post by winnylinny »

Is this possible for Linux?

I cannot change the settings of the format when saving a new image (with XnViewMP on Linux). It only gives me the ability to do so under the Windows' version.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Allow "Save As" options for selected format (Windows version has this already)

Post by xnview »

Sorry but only possible on windows
Pierre.
User avatar
winnylinny
Posts: 167
Joined: Fri Apr 17, 2020 5:35 pm

Re: Allow "Save As" options for selected format (Windows version has this already)

Post by winnylinny »

xnview wrote: Mon Feb 28, 2022 1:15 pm Sorry but only possible on windows
Why is that? Why can't an "Options" button be placed near the "Save" button?

:?:
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Allow "Save As" options for selected format (Windows version has this already)

Post by helmut »

winnylinny wrote: Wed Mar 02, 2022 1:57 pm
xnview wrote: Mon Feb 28, 2022 1:15 pm Sorry but only possible on windows
Why is that? Why can't an "Options" button be placed near the "Save" button?

:?:
XnView MP is implemented using the toolkit Qt. My guess is that on Windows Qt allows for adding additional buttons on standard dialogs while it doesn't on Linux. So very likely it's a technical limitation that "Options" button isn't available in XnView MP on Linux.

I think the "Option" button is very important for a smooth workflow. Therefore a way to display this button in the save dialog should be added on all platforms unless it's impossible technically.
User avatar
winnylinny
Posts: 167
Joined: Fri Apr 17, 2020 5:35 pm

Re: Allow "Save As" options for selected format (Windows version has this already)

Post by winnylinny »

helmut wrote: Sun Mar 06, 2022 10:34 pmI think the "Option" button is very important for a smooth workflow. Therefore a way to display this button in the save dialog should be added on all platforms unless it's impossible technically.
It's a very important feature. Because every time I want to save an image, I need to first go into Tools -> Settings -> Formats -> Write, and then adjust the options, and then finally save the image. But then I must change it again through Tools -> Settings -> Formats -> Write for another image at a later time.

With Windows, I simply click "Options" during the save dialog, and I can do it there. In fact, this is true for almost any application (GIMP, Krita, IrfanView, etc). The missing feature is unique to XnViewMP on Linux. :(
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Allow "Save As" options for selected format (Windows version has this already)

Post by helmut »

helmut wrote: Sun Mar 06, 2022 10:34 pmXnView MP is implemented using the toolkit Qt. My guess is that on Windows Qt allows for adding additional buttons on standard dialogs while it doesn't on Linux. So very likely it's a technical limitation that "Options" button isn't available in XnView MP on Linux.

I think the "Option" button is very important for a smooth workflow. Therefore a way to display this button in the save dialog should be added on all platforms unless it's impossible technically.
@Pierre: Is it possible to add an "Option" button on all platforms or is it technically impossible on some platforms?
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Allow "Save As" options for selected format (Windows version has this already)

Post by xnview »

helmut wrote: Thu Mar 17, 2022 8:24 pm@Pierre: Is it possible to add an "Option" button on all platforms or is it technically impossible on some platforms?
No sorry, else i need to remake the file selector dialog but in this case the native one will not be used :(
Pierre.
Sprintdriver
Posts: 68
Joined: Mon Feb 02, 2009 11:46 pm

Re: Allow "Save As" options for selected format (Windows version has this already)

Post by Sprintdriver »

Can I add a suggestion for a kind of workaround ?

How about adding a general option (toggle on/off) to make XnView MP to ask for file compression settings after confirming output file path/name.

That way, the user can at least have a choice whether to go into options and change file savings parameters (fit a user that use same setting all time) whenever it is a need of changing a file format parameter, or can have this dialogue box appear every time after using File --> Save As, and confirm, that fits better when a user want to tweak image compression settings very often.
User avatar
winnylinny
Posts: 167
Joined: Fri Apr 17, 2020 5:35 pm

Re: Allow "Save As" options for selected format (Windows version has this already)

Post by winnylinny »

Sprintdriver wrote: Fri Mar 18, 2022 8:43 pm Can I add a suggestion for a kind of workaround ?

How about adding a general option (toggle on/off) to make XnView MP to ask for file compression settings after confirming output file path/name.

That way, the user can at least have a choice whether to go into options and change file savings parameters (fit a user that use same setting all time) whenever it is a need of changing a file format parameter, or can have this dialogue box appear every time after using File --> Save As, and confirm, that fits better when a user want to tweak image compression settings very often.
That's a brilliant idea! :D

One can toggle this setting "off", so XnViewMP for Linux will behave as normal when saving files.

One can toggle this setting "on", so XnViewMP for Linux will prompt you with the "Format Options" before saving the file. <--- I would mostly leave this option enabled.

After all, such a feature exists when you go to "Batch Convert".
format-options-linux.png
format-options-linux.png (25.21 KiB) Viewed 15478 times
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Allow "Save As" options for selected format (Windows version has this already)

Post by xnview »

Sprintdriver wrote: Fri Mar 18, 2022 8:43 pm How about adding a general option (toggle on/off) to make XnView MP to ask for file compression settings after confirming output file path/name.
You means show 'format setting' after confirming filename, right?
Pierre.
User avatar
winnylinny
Posts: 167
Joined: Fri Apr 17, 2020 5:35 pm

Re: Allow "Save As" options for selected format (Windows version has this already)

Post by winnylinny »

xnview wrote: Thu Mar 24, 2022 9:56 am
Sprintdriver wrote: Fri Mar 18, 2022 8:43 pm How about adding a general option (toggle on/off) to make XnView MP to ask for file compression settings after confirming output file path/name.
You means show 'format setting' after confirming filename, right?
Yes. This would satisfy all users of XnViewMP (for Linux.)

1) Those who don't care (or don't want to be prompted when going to "Save As"), will simply leave this new option at the default (disabled). When they enter a filename and hit "Save", it will save the image without prompting any quality/compression options. The quality/compression will use whatever they configured under Settings -> Formats -> Write

2) Those who want to be prompted can set this new option to "enabled", and thus whenever they go to "Save As" and then click "Save", they will be prompted for that image format's quality/compression/metadata settings.

This is actually similar to how some other software applications behave (e.g, "GIMP").

While I still believe it would be much more preferable to have an "Options" button (such as XnViewMP for Windows), the above method is still better than what Linux users currently have.
Sprintdriver
Posts: 68
Joined: Mon Feb 02, 2009 11:46 pm

Re: Allow "Save As" options for selected format (Windows version has this already)

Post by Sprintdriver »

xnview wrote: Thu Mar 24, 2022 9:56 am You means show 'format setting' after confirming filename, right?
Yes, that's the idea.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Allow "Save As" options for selected format (Windows version has this already)

Post by xnview »

See issue for current status and some details.
Pierre.
User avatar
winnylinny
Posts: 167
Joined: Fri Apr 17, 2020 5:35 pm

Re: Allow "Save As" options for selected format (Windows version has this already)

Post by winnylinny »

xnview wrote: Mon Mar 28, 2022 6:57 am See issue for current status and some details.
Yay! Woohoo! :mrgreen:

Thank you, Pierre!
Post Reply