! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
improve spinner when editing appointments
Status:
CLOSED: FIXED

Comments

Description Liv 2011-12-21 00:18:07 CET
Currently the spinner arrows in Orage aren't very useful, meaning that most of the times I resign myself to simply clicking within the spinner edit area and specifying the desired number. 

For example, create a new appointment, then click on the 'spinner up-arrow' for the 'hour start' and hold it for about 1sec. You will have probably cycled 24h already. Hold it for 2sec and you would get about 48h worth of cycling. Another example with the 'minute start' spinner: in about 2sec of hold time you will cycle 60min. 

I see several possible improvements: 
- make the acceleration slower. When holding down on the arrow of the spinner, the acceleration of the nr cycling should be much gentler. 
- stop cycling when hitting 0 or 24 for hours, and 0 or 60 for minutes. There is no to very little help from being able to constantly cycling round the clock. (See examples above.)
- for minutes spinners, make the 'step' at '5': clicking once on the arrow should increase/decrease the value by 5. I guess that this is common sense, and if someone truly needs something like 57, she can still insert it via the keyboard in the edit area of the spinner. 

Any of the improvements above would improve the day-to-day usability of Orage.
Comment 1 juha editbugs 2011-12-21 10:22:46 CET
Yes, holding the button cycles too quickly, but it is not trivial to slow spin buttons. I never hold the button to adjust the value. You can:
1) click the arrow with button 1 to advance it 1 value.
2) click the arrow with button 2 to advance it 10 values.
3) scroll the mouse wheel while cursor is in the field and get quickly to the desired value.

So basically I agree that the acceleration should be slower when holding the button, but I am not sure it is worth the effort. I use a lot the possibility to go from 24 to 0 and from 60 to 0, so that I do not want to change. 

Period type minute spinners actually already increment 5 minutes per click so I changed also time minutes to work like that. And I changed periods to increment 10 units by button 2 click.

This change is in Orage 4.8.2.10 in git.
Comment 2 juha editbugs 2011-12-21 10:39:30 CET
It is also possible to control the value in spin-box by using up/down cursor keys or pageup/page down keys from the keyboard
Comment 3 Liv 2011-12-21 23:28:41 CET
(In reply to comment #1)
> 1) click the arrow with button 1 to advance it 1 value.
This may work for hours, but is terribly inefficient for minutes. 

> 2) click the arrow with button 2 to advance it 10 values.
This doesn't work here. Right-click has the usual GTK effect of going to the beginning/end of values (to either 0 or 24; or 0 or 60). 

> 3) scroll the mouse wheel while cursor is in the field and get quickly to the
> desired value.
This is the usual behaviour when using a desktop mouse, but for those on laptops/netbooks this is inconvenient at best. 

> So basically I agree that the acceleration should be slower when holding the
> button, but I am not sure it is worth the effort. 
If technically feasible, I'm sure it would be appreciated by those using mobile devices.

> Period type minute spinners actually already increment 5 minutes per click so I
> changed also time minutes to work like that. And I changed periods to increment
> 10 units by button 2 click.
> 
> This change is in Orage 4.8.2.10 in git.
Thanks for addressing this. Unfortunately I'll probably not be testing it since I'm using Xubuntu Lucid LTS. But I'm looking forward to these changes when I upgrade.
Comment 4 juha editbugs 2011-12-22 08:16:32 CET
(In reply to comment #3)
> (In reply to comment #1)
> > 1) click the arrow with button 1 to advance it 1 value.
> This may work for hours, but is terribly inefficient for minutes. 
>>>Yep, I agree.
> 
> > 2) click the arrow with button 2 to advance it 10 values.
> This doesn't work here. Right-click has the usual GTK effect of going to the
> beginning/end of values (to either 0 or 24; or 0 or 60). 
>>> The behaviour you describe is mouse button 3. The wheel is mouse button 2 
>>> and the does page forward.
> 
> > 3) scroll the mouse wheel while cursor is in the field and get quickly to the
> > desired value.
> This is the usual behaviour when using a desktop mouse, but for those on
> laptops/netbooks this is inconvenient at best. 
>>> Good point. True.
> 
> > So basically I agree that the acceleration should be slower when holding the
> > button, but I am not sure it is worth the effort. 
> If technically feasible, I'm sure it would be appreciated by those using mobile
> devices.
>>> Yes, it is possible. By adding code to ignore every 10th event...
>>> Not that complex...it just introduces another statis variable...I'll check.
> 
> > Period type minute spinners actually already increment 5 minutes per click so I
> > changed also time minutes to work like that. And I changed periods to increment
> > 10 units by button 2 click.
> > 
> > This change is in Orage 4.8.2.10 in git.
> Thanks for addressing this. Unfortunately I'll probably not be testing it since
> I'm using Xubuntu Lucid LTS. But I'm looking forward to these changes when I
> upgrade.
>>> I have done similar slowdown in the calendar month/year change. I'll check
>>> again this.
Comment 5 juha editbugs 2011-12-22 09:37:48 CET
Unfortunately this seems to be more complex than I thought.
Basically I should rewrite the Gtk+ spinner. There does not seem to be any way to slow down the autorepeat speed.
Comment 6 juha editbugs 2012-01-09 08:33:09 CET
Fixed in 4.8.3.

Bug #8262

Reported by:
Liv
Reported on: 2011-12-21
Last modified on: 2012-01-09

People

CC List:
0 users

Version

Attachments

Additional information