- Open Tools → Options → General → Read/Write.
- Select the Write tab and then select JPEG.
- Use the mouse to put the current focus on the Quality slider control.
- Press the up key and the quality decreases; press the down key and the quality increases.
JPEG quality slider moves the wrong way on keyboard input
Moderators: helmut, XnTriq, xnview
-
- Posts: 55
- Joined: Mon Sep 12, 2005 8:08 pm
JPEG quality slider moves the wrong way on keyboard input
To repro:
Re: JPEG quality slider moves the wrong way on keyboard input
"Confirmed", but I'm not sure whether this is really a bug:
Sliders' value increases by pressing "Down" this is Windows standard. Now, Pierre has combined two controls: The slider and editext with spinbutton. Pressing down while focus is on the slider increases the value whereas pressing down in the edittext decreases the values.
In order to make this combined control work consistently it might make sense to change the slider behaviour, but this would be no longer Windows standard, then. And it might be quite some effort, because the combined control is used in many dialogs, in "Image > Adjust > Brightness.." for example.
All in all I'd say this is a small nuisance - but also the little things working properly make up a good software...
Sliders' value increases by pressing "Down" this is Windows standard. Now, Pierre has combined two controls: The slider and editext with spinbutton. Pressing down while focus is on the slider increases the value whereas pressing down in the edittext decreases the values.
In order to make this combined control work consistently it might make sense to change the slider behaviour, but this would be no longer Windows standard, then. And it might be quite some effort, because the combined control is used in many dialogs, in "Image > Adjust > Brightness.." for example.
All in all I'd say this is a small nuisance - but also the little things working properly make up a good software...
-
- Posts: 55
- Joined: Mon Sep 12, 2005 8:08 pm
Re: JPEG quality slider moves the wrong way on keyboard input
Are you sure this is true? I just tried it out and I'm not seeing that behavior. Open Control Panel → Sounds and Audio Devices and you'll see a horizontal slider. If you press Down while the focus is on the slider, it moves to the left, which is exactly what I would expect. Why do you think that the Windows standard is the other way around?helmut wrote:Sliders' value increases by pressing "Down" this is Windows standard.
Re: JPEG quality slider moves the wrong way on keyboard input


• I confirm this. Keys:…Open Control Panel → Sounds and Audio Devices and you'll see a horizontal slider. If you press Down while the focus is on the slider, it moves to the left, which is exactly what I would expect. …
Down (or left)

Up (or right)

- That work by steps (with an irritating “beep” for each key press).
BUT :
• I cannot confirm that in XnView 1.96.5 ! Here, it works as expected in this dialogue-box (and also i.e. in the Adjust… ones).… 4. Press the up key and the quality decreases; press the down key and the quality increases. …
- XP-Pro SP1 (Fr)

Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
-
- Posts: 55
- Joined: Mon Sep 12, 2005 8:08 pm
Re: JPEG quality slider moves the wrong way on keyboard input
I am actually running 1.96.2, so maybe the problem has been fixed? I will upgrade and try again...Clo wrote: • I cannot confirm that in XnView 1.96.5 !
-
- Posts: 55
- Joined: Mon Sep 12, 2005 8:08 pm
Re: JPEG quality slider moves the wrong way on keyboard input
I just tried 1.96.5 and I'm seeing the same problem.
Re: JPEG quality slider moves the wrong way on keyboard input
I've just double-checked with some applications and found that there seems to be no real standard for the Up/Down keys. Some applications (e.g. Logitech Quickcam or old Windows Common Controls slider) use "Down" for a higher value, some applications like the volume control of Windows use "Down" for a lower value.
Using "Up key" for a higher value and "Down key for lower value is more logical, especially in combination with the edittext/spinbutton. So if possible (and not too much effort) this should be changed.
Using "Up key" for a higher value and "Down key for lower value is more logical, especially in combination with the edittext/spinbutton. So if possible (and not too much effort) this should be changed.
Re: JPEG quality slider moves the wrong way on keyboard input
I've tried with 1.96.5, and up increase
Pierre.
Re: JPEG quality slider moves the wrong way on keyboard input
How to reproduce:
XnView v1.96.5 @ Windows 2000 SP4
- Place the mouse cursor inside the field with the spin box controls.
- Up arrow key = increases value
- Down arrow key = decreases value
- Left arrow key = no action
- Right arrow key = no action
- Click on the slider control.
- Up arrow key = decreases value
- Down arrow key = increases value
- Left arrow key = decreases value
- Right arrow key = increases value
- Up arrow key = decreases value
- File » Export... » JPEG » Quality
- Tools » Options... » General » Read/Write » Write » JPEG » Parameters » Quality
XnView v1.96.5 @ Windows 2000 SP4
Re: JPEG quality slider moves the wrong way on keyboard input
It's not a bug, but the standard behaviourXnTriq wrote:[/list]
- Up arrow key = decreases value
- Down arrow key = increases value
- Left arrow key = decreases value
- Right arrow key = increases value
Pierre.
-
- Posts: 55
- Joined: Mon Sep 12, 2005 8:08 pm
Re: JPEG quality slider moves the wrong way on keyboard input
I think the consensus is that this "standard behavior" is not intuitive and doesn't match up with Windows, which is why we're suggesting the change.
Re: JPEG quality slider moves the wrong way on keyboard input
I can't change it, it's the standard behavior of this windows controlTheEvilHammer wrote:I think the consensus is that this "standard behavior" is not intuitive and doesn't match up with Windows, which is why we're suggesting the change.

Pierre.
-
- Posts: 55
- Joined: Mon Sep 12, 2005 8:08 pm
Re: JPEG quality slider moves the wrong way on keyboard input
Oh, I see what you're saying now. Really? That's very odd, considering that I've used other slider controls in Windows that didn't work that way...xnview wrote:I can't change it, it's the standard behavior of this windows controlTheEvilHammer wrote:I think the consensus is that this "standard behavior" is not intuitive and doesn't match up with Windows, which is why we're suggesting the change.
Re: JPEG quality slider moves the wrong way on keyboard input
There is no need to be disrespectful.TheEvilHammer wrote:Oh, I see what you're saying now. Really? That's very odd, considering that I've used other slider controls in Windows that didn't work that way...
There's a trackbar control style called TBS_DOWNISLEFT (0x0400) that will reverse the up and down keys.xnview wrote:I can't change it, it's the standard behavior of this windows control
XnView Tweak UI - Tool to customize your XnView beyond the regular XnView options.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
UI-less Settings - Documentation of all the hidden settings in XnView.
XFAM - Tool to create and customize XnView file associations.
-
- Posts: 55
- Joined: Mon Sep 12, 2005 8:08 pm
Re: JPEG quality slider moves the wrong way on keyboard input
What are you talking about? I was not being disrespectful to anyone. All I was saying was that I've seen the opposite behavior in Windows, which is merely an observation, and it contradicts what Pierre has noticed, making the situation "very odd", as I said.ckv wrote:There is no need to be disrespectful.TheEvilHammer wrote:Oh, I see what you're saying now. Really? That's very odd, considering that I've used other slider controls in Windows that didn't work that way...