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

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
user0
XnThusiast
Posts: 2414
Joined: Sat May 09, 2015 9:37 am

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

Post 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
Attachments
settings_formats_write_pdf_jpeg_quality.png
cday
XnThusiast
Posts: 4395
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

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

Post 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?
User avatar
user0
XnThusiast
Posts: 2414
Joined: Sat May 09, 2015 9:37 am

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

Post 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:
Attachments
settings_formats_write_pdf_jpeg_quality_2.png
settings_formats_write_pdf_jpeg_quality_2.png (16.71 KiB) Viewed 952 times
Last edited by user0 on Sat Oct 08, 2022 4:29 pm, edited 1 time in total.
cday
XnThusiast
Posts: 4395
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

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

Post 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.
User avatar
user0
XnThusiast
Posts: 2414
Joined: Sat May 09, 2015 9:37 am

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

Post 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.
Post Reply