Custom Rotation: Slider

Bugs and Issues in 1.82 Test versions which have been fixed and verified as resolved.

Moderators: helmut, XnTriq, xnview

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

Custom Rotation: Slider

Post by helmut »

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
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

I don't think 'previous/zero' buttons are needed anymore. This example is a little smaller than alpha version.
Image
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Post by Dreamer »

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
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

Dreamer wrote: [ << ] [ < ] [----------+----------] [ > ] [ >> ]
Example2
Image

Example3:
Image
OK, someone else's turn to make pictures. :)
Last edited by marsh on Thu Nov 10, 2005 4:24 am, edited 1 time in total.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Reset---

Post by Clo »

:) Hello !

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

      Image

¤ Just my 0.05 €…

:mrgreen: KR
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
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Wheel belongs to the maker---

Post by Clo »

:arrow: marsh

:) Hello B. !

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

:arrow: Dreamer

:) Hello !

- 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) :|

:mrgreen: Kind regards to All,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
Guest

Re: Custom Rotation: Slider

Post by Guest »

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? :shock:
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

marsh wrote:
Dreamer wrote: [ << ] [ < ] [----------+----------] [ > ] [ >> ]
Example2
Image
Perhaps the better solution. But when we move the slider with mouse, is it only integer value?
Pierre.
User avatar
Lesmo16
Posts: 419
Joined: Thu May 12, 2005 8:59 pm
Location: Germany

Post by Lesmo16 »

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?
Damn, was kicked off in quoted (guests) thread - occured several times before in other threads!!!
Admins, please increase idle time, or fix/modify forum software parameters.
Thanks :wink:


Clo wrote:I would like a «Reset» button anyway.
I support that!

What about <-> and <+> instead of left and right arrow keys?

Thomas aka Lesmo16
Everyone who believes in telekinesis, raise my hand!
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

xnview wrote:
marsh wrote:
Dreamer wrote: [ << ] [ < ] [----------+----------] [ > ] [ >> ]
Example2
Image
Perhaps the better solution. But when we move the slider with mouse, is it only integer value?
Yes, because it is difficult to make fine adjustments with slider & mouse.
Lesmo16 wrote:
Clo wrote:I would like a «Reset» button anyway.
I support that!
A reset button could be a tiny iconic button "[0]", next to input box, instead of a large button.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Why large… ?

Post by Clo »

:arrow: Lesmo16

:) Hi Thomas !
- 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 …

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

:mrgreen: KR to all,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

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
Dreamer wrote:[ << ] [ < ] [----------+----------] [ > ] [ >> ]
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.
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
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?
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.

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
marsh wrote:A reset button could be a tiny iconic button "[0]", next to input box, instead of a large button.
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.

- 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
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France
Contact:

Post by Olivier_G »

marsh wrote:Example2
Image
I also like this one... without the double arrows thing.

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
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Post by marsh »

Example #4
Small 'zero' reset button, 3 spinner buttons: integer, tenths, hundredths.
Image
I'm not sure how useful 'hundredths' precision is, but I thought it looked better for this example.

Example #5 Minimal. With checkbox changing slider precision.
Image
User avatar
Lesmo16
Posts: 419
Joined: Thu May 12, 2005 8:59 pm
Location: Germany

Post by Lesmo16 »

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".


Image

Hope you'll like it. :wink:
Everyone who believes in telekinesis, raise my hand!
Locked