Custom Rotation: Slider
Moderators: helmut, XnTriq, xnview
Custom Rotation: Slider
In the custom rotation (Image > Rotate > Custom...) we have a better precision for the angles, e.g. values like 47,33 can be entered, which is good - especially in combination with the anti-aliasing for rotation.
When using the slider for setting values, this special precision is a bit of a problem, I think. In the 1.82 Alpha, it is very hard/impossible to set the angle to 90 or 45 degrees using the slider, it's always something like 45.20°. From my point of view, the precision of the slider should be 1 degree. If a user needs a better precision, he/she could use the entry field (Perhaps spin button for entry field would be good).
XnView 1.82 alpha
When using the slider for setting values, this special precision is a bit of a problem, I think. In the 1.82 Alpha, it is very hard/impossible to set the angle to 90 or 45 degrees using the slider, it's always something like 45.20°. From my point of view, the precision of the slider should be 1 degree. If a user needs a better precision, he/she could use the entry field (Perhaps spin button for entry field would be good).
XnView 1.82 alpha
Mouse wheel is very useful, but it's unusable here (steps are 7°), it should be 0.1° or adjustable.
Keys left and right doesn't affect number above neither image "preview".
What about 2 or 3 "buttons for 1 / 0.1 (and 0.01) steps:
[ << ] [ < ] [----------+----------] [ > ] [ >> ]
And steps:
-/+ 1 - left/right keys / mouse wheel
-/+ 0.1 - Shift+left/right keys / shift+mouse wheel
Keys left and right doesn't affect number above neither image "preview".
What about 2 or 3 "buttons for 1 / 0.1 (and 0.01) steps:
[ << ] [ < ] [----------+----------] [ > ] [ >> ]
And steps:
-/+ 1 - left/right keys / mouse wheel
-/+ 0.1 - Shift+left/right keys / shift+mouse wheel
Reset---

- Here, it's impossible to reset "0°" exactly : I get always + 0.7° or - 0.7°, like Helmut points out above for “round” values…

- I would like a «Reset» button anyway. Besides, I wonder that the Left / Right arrow-keys can't work here; this could solve the issue, no need to add items on the dialogue. The cog for one strike could be defined as INI entries, something like :
RotateKeysCog = 0 —> Disabled
RotateKeysCog = 1 —> 1°
RotateKeysCog = -1 —>0.1°
… or other values if needed…
- "0" is useful for tests :
supposing that Pierre improves the code, one can be able to see the difference only moving the slider-cursor with the mouse.

¤ Just my 0.05 €…

Claude
Clo
Last edited by Clo on Thu Nov 10, 2005 4:17 am, edited 1 time in total.
Old user ON SELECTIVE STRIKE till further notice •
Wheel belongs to the maker---


- I added my pic finally… I guess it's the simplest… I didn't reduce the box, although it's quite possible 'cause I use 1024*768; so, the size is acceptable for me.


- Like I said above, I agree totally about the arrow-keys use, and propose an easy way for Pierre to set this.
- However, there is a snag about the mouse-wheel :
- The most times, the value of one cog is configured in the maker's soft and always as text-lines. For instance, here I have a Logitech™ mouse which the settings are done via the maker's "MouseWare" soft.
- Hence, Pierre cannot modify these programmes, like they would be to support a big reduction of the minimal cog (here : one text-line)


Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
Re: Custom Rotation: Slider
About which sizes of pictures are we talking here - poster sizes?helmut wrote:In the custom rotation (Image > Rotate > Custom...) we have a better precision for the angles, e.g. values like 47,33 can be entered, which is good - especially in combination with the anti-aliasing for rotation.
If we're talking about common picture sizes, even rotations about full degrees are quite unrecognizable.
So for what do we need the rotating precision of tenths or even hundredths degrees?

Damn, was kicked off in quoted (guests) thread - occured several times before in other threads!!!guest wrote:helmut wrote:In the custom rotation (Image > Rotate > Custom...) we have a better precision for the angles, e.g. values like 47,33 can be entered, which is good - especially in combination with the anti-aliasing for rotation.
About which sizes of pictures are we talking here - poster sizes?
If we're talking about common picture sizes, even rotations about full degrees are quite unrecognizable.
So for what do we need the rotating precision of tenths or even hundredths degrees?
Admins, please increase idle time, or fix/modify forum software parameters.
Thanks

I support that!Clo wrote:I would like a «Reset» button anyway.
What about <-> and <+> instead of left and right arrow keys?
Thomas aka Lesmo16
Everyone who believes in telekinesis, raise my hand!
Yes, because it is difficult to make fine adjustments with slider & mouse.xnview wrote:Perhaps the better solution. But when we move the slider with mouse, is it only integer value?marsh wrote:Example2Dreamer wrote: [ << ] [ < ] [----------+----------] [ > ] [ >> ]
![]()
A reset button could be a tiny iconic button "[0]", next to input box, instead of a large button.Lesmo16 wrote:I support that!Clo wrote:I would like a «Reset» button anyway.
Why large… ?


- Thanks to support ! It's quite indispensable, I guess …
- <+> and <-> are already used for the zoom, I guess it could be confusing… The arrow-keys seem more natural for me …

• I disagree, because this is not very meaningful… and we need a clear caption which ought be translated later, so it needs room enough …A reset button could be a tiny iconic button "[0]", next to input box, instead of a large button.
- In example, simply "Reset" in French is «Remise à zéro» ! (I bet you knew)

Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
I was wondering whether it's better to write individual replies or a large one, as you can see I've decided to write a long to all most of the above posts.
The cursor left / right always works on all sliders, this is Windows standard behaviour. In the Alpha the problem is that focus is in the edittext field, this is why the cursor keys don't work. And this cannot be changed since you need the cursor keys for editing. Perhaps cursor up/down would be good and also intuitive when using spinbuttons.
- Focus on slider
To make the slider work properly, the slider should have focus when opening the dialog. Then, the cursor left/right will and the mouse wheel will work, again.
- Sliders with two buttons
As you know, sliders already handle coarse and fine adjusting: When dragging the slider thumb, you have very coarse steps, when using the arrow buttons, it's single steps.
- 0.01 precision
For usability we should focus on the most common cases, which is steps in 1.0 degree steps. So slider should be 1 degree or even coarser.
- Reset button
Difficult to say whether we need a reset button or not. At the moment we have it on most effect/filter dialogs, so it's more or less a standard on XnView dialogs.
Perhaps there is other ways to provide the "0", e.g. a dropdownlist could contain standard angles -135, -90, -45, 0, +45, +90, +135, +180 and/or recently used angles.
- Toolbar buttons for Reset and Previous values
- Minor: -180 and +180
On the slider there should be a signs on both numbers "-180" and "+180".
I actually like marsh's dialog "Example 2", it's small and clear. Only the doubled arrow buttons on the slider is not so good (see above). And the edittext could have spinbuttons and/or a dropdownlist.
See also discussions
- Rotate dialog: Drop down list for standard angles.
- Rotate image in 0.1 or 0.01 degree increment
The cursor left / right always works on all sliders, this is Windows standard behaviour. In the Alpha the problem is that focus is in the edittext field, this is why the cursor keys don't work. And this cannot be changed since you need the cursor keys for editing. Perhaps cursor up/down would be good and also intuitive when using spinbuttons.
- Focus on slider
To make the slider work properly, the slider should have focus when opening the dialog. Then, the cursor left/right will and the mouse wheel will work, again.
- Sliders with two buttons
I think the slider with two buttons on each side is not a good idea. This is not a standard control and if possible we should stick to the standard controls, unless we all find the new control absolutely necessary, intuitive to use, and applicable in various szenarios.Dreamer wrote:[ << ] [ < ] [----------+----------] [ > ] [ >> ]
As you know, sliders already handle coarse and fine adjusting: When dragging the slider thumb, you have very coarse steps, when using the arrow buttons, it's single steps.
- 0.01 precision
Very true. The 0.01 degrees are possibly needed in very, very rare cases, only. If it affects usability too much, we should even change precision to 0.1. In the edittext field it should not harm too much.Lesmo16 wrote:About which sizes of pictures are we talking here - poster sizes?
If we're talking about common picture sizes, even rotations about full degrees are quite unrecognizable.
So for what do we need the rotating precision of tenths or even hundredths degrees?
For usability we should focus on the most common cases, which is steps in 1.0 degree steps. So slider should be 1 degree or even coarser.
- Reset button
Difficult to say whether we need a reset button or not. At the moment we have it on most effect/filter dialogs, so it's more or less a standard on XnView dialogs.
Perhaps there is other ways to provide the "0", e.g. a dropdownlist could contain standard angles -135, -90, -45, 0, +45, +90, +135, +180 and/or recently used angles.
- Toolbar buttons for Reset and Previous values
Good idea. To be honest, since the 1st day that I've been using XnView I have been thinking that the buttons "Zero" and Previous are quite confusing: They are far too large for what they do. And the labels "Zero" and "Previous" are not very meaningful either. Using small toolbar buttons with a good symbol is a good idea and adequate. And a tooltip with a clear explanation will make sure that people still know what these buttons do. And these toolbar buttons can be applied on all dialogs and user will recognize and understand them.marsh wrote:A reset button could be a tiny iconic button "[0]", next to input box, instead of a large button.
- Minor: -180 and +180
On the slider there should be a signs on both numbers "-180" and "+180".
I actually like marsh's dialog "Example 2", it's small and clear. Only the doubled arrow buttons on the slider is not so good (see above). And the edittext could have spinbuttons and/or a dropdownlist.
See also discussions
- Rotate dialog: Drop down list for standard angles.
- Rotate image in 0.1 or 0.01 degree increment
I also like this one... without the double arrows thing.marsh wrote:Example2
Proposal:
- moving the slider: changing the angle in integer values
- clicking arrows: +/-1.00 on the value shown in the text box
- clicking on the slider bar (the whiter part, outside the slider): +/-0.10 on the value shown in the text box
(with auto-repeat after a small delay, such as for typing behaviour, to quickly change values)
Olivier
What do you think of my 5 cents?
The slider alters only full degrees. The angle is shown right aligned in the TextBox.
Fractions can be altered with the SpinButtons beneath the angle view.
Higher precision can be activated with "Hundreths" CheckBox.
For reset to 0, there's a button where it belongs to.
"Apply to image" is renamed to "Preview".

Hope you'll like it.
The slider alters only full degrees. The angle is shown right aligned in the TextBox.
Fractions can be altered with the SpinButtons beneath the angle view.
Higher precision can be activated with "Hundreths" CheckBox.
For reset to 0, there's a button where it belongs to.
"Apply to image" is renamed to "Preview".

Hope you'll like it.

Everyone who believes in telekinesis, raise my hand!