Page 1 of 1

1.3 - BUG - UI - settings - pdf's quality option always enabled

Posted: Sat Oct 08, 2022 2:15 pm
by user0
XnView: MP 1.3.0 64bits (Sep 6 2022)
OS: Windows 64bit (21H1), display resolution 3840x2160, win scaling 150%

PDF tab in Settings.
Quality option is always enabled, but shall be dependant on 'Color compression type' option.
It shall be enabled only when JPEG format selected in combobox (same behaviour as in TIFF tab).

To reproduce:
1. run clean portable XnViewMP
2. press F12 to open Settings
3. goto Formats -> Write -> PDF / TIFF

Actual behaviour:
Quality option is always enabled.

Expected behaviour:
Quality option shall be enabled only when JPEG selected in 'Color compression type' combobox.

Suggestion
- Move Quality option right after 'Color compression type'
- Name color options consistant across write formats

Re: 1.3 - BUG - UI - settings - pdf's quality option always enabled

Posted: Sat Oct 08, 2022 2:43 pm
by cday
Since JPEG is a compression option for saving in both colour and grayscale modes, the situation is a little more complicated.

Ideally it would be possible to set different compression levels for each, which might be implemented by placing the quality box on the same line and to the immediate right of the compression type selection box.

And logically, both boxes would be grayed out when JPEG is not the selected option.

Does that make sense?

Re: 1.3 - BUG - UI - settings - pdf's quality option always enabled

Posted: Sat Oct 08, 2022 3:59 pm
by user0
cday wrote: Sat Oct 08, 2022 2:43 pm Does that make sense?
Yep, good point. I missed that Grayscale has JPEG too.
I would make something like this:

Re: 1.3 - BUG - UI - settings - pdf's quality option always enabled

Posted: Sat Oct 08, 2022 4:14 pm
by cday
user0 wrote: Sat Oct 08, 2022 3:59 pm I would make something like this:
Option B... :D

And the Quality value box grayed out (or not displayed) when options other than JPEG are selected.

Re: 1.3 - BUG - UI - settings - pdf's quality option always enabled

Posted: Sat Oct 08, 2022 4:34 pm
by user0
cday wrote: Sat Oct 08, 2022 4:14 pm Option B... :D
And the Quality value box grayed out (or not displayed) when options other than JPEG are selected.
Guess grayed is overall better than hidden as it provides additional information / stimulates user curiosity and there are plenty of space.