After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 123120 - RFE: sub-minute breaks
RFE: sub-minute breaks
Status: RESOLVED WONTFIX
Product: gnome-control-center
Classification: Core
Component: [obsolete] Typing break
2.4.x
Other Linux
: Normal enhancement
: ---
Assigned To: Richard Hult
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-09-24 13:36 UTC by bugzilla.gnome.org
Modified: 2006-08-19 19:18 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Initial patch with problem (15.74 KB, patch)
2004-07-11 15:53 UTC, David Sedeño Fernández
none Details | Review
Proposed patch. (16.17 KB, patch)
2004-07-15 19:33 UTC, David Sedeño Fernández
none Details | Review
Patch agains libgnome schemes (1.62 KB, patch)
2004-07-15 19:37 UTC, David Sedeño Fernández
none Details | Review

Description bugzilla.gnome.org 2003-09-24 13:36:03 UTC
The current preferences dialog allows the user to specify how many minutes
a break should last. I'd like the ability to specify a period that is less
than a minute.

The reason for this is I want to use DrWright to rest my eyes, rather than
my hands. The eye doctor suggests resting my eyes every 20 minutes for 20
seconds.
Comment 1 Andrew Sobala 2003-10-02 23:03:46 UTC
Moving to control-center: search for "Andrew doing reassignment work" to get rid
of this spam e-mail.
Comment 2 David Sedeño Fernández 2004-07-11 15:53:56 UTC
Created attachment 29442 [details] [review]
Initial patch with problem

This patch set two keys for the break time: break_time_minutes and
break_time_seconds. 

In the typing break calculates according this two keys. But I have the problem
that the keys are creates as floats instead of int and I don't see how create
it as int. Any hints ?

The glade changes also it's include in the patch.
Comment 3 David Sedeño Fernández 2004-07-15 19:33:35 UTC
Created attachment 29564 [details] [review]
Proposed patch. 

This patch update the glade file to current cvs.
Comment 4 David Sedeño Fernández 2004-07-15 19:37:31 UTC
Created attachment 29565 [details] [review]
Patch agains libgnome schemes

This patch adds a key (break_time_seconds) and rename another (break_time to
break_time_minutes) necesary to fix the bug.
Comment 5 David Sedeño Fernández 2004-07-15 19:37:59 UTC
Added the patch keyword
Comment 6 Richard Hult 2004-08-03 13:10:15 UTC
The problem is that we can't rename schemas or change their meaning. Once
they're used we need to continue supporting them, otherwise things will break
when upgrading.
Comment 7 David Sedeño Fernández 2004-08-03 16:25:33 UTC
So, can we continue using the break_time key for minutes as today and add the
break_time_seconds ?
Comment 8 Richard Hult 2004-09-24 23:08:57 UTC
I think it clutters the UI a bit too much to add a second spinbutton... could it
work to just have it accept floats instead? It's not like you need to add an
exact value like 1 minutes 27 seconds, but rather something like 1.5 minutes.

Comment 9 David Sedeño Fernández 2004-09-25 11:46:31 UTC
But, as in the case that the original reporter, if the user wants stops for 20
seconds, he must calculate the fraction (0.33 in this case) which I think have
more usuability issues. 
Comment 10 Richard Hult 2004-09-25 11:56:41 UTC
Well, in my opinion, the typing monitor isn't a tool of that kind where you can
very specifically tweak the behavior. There are other tools (like workrave) that
are a lot more advanced in those terms.
Comment 11 David Sedeño Fernández 2004-09-25 14:08:01 UTC
I think this feature it's useful, not it's an advanced feature. Workrave it's
for advanced use.

Well, I think we need to decide what to todo with the bug, WONTFIX or going with it?
Comment 12 Richard Hult 2004-09-26 20:19:33 UTC
I'll try the patch and see how it feels. If it doesn't clutter the UI too much
maybe it's ok. Otherwise we can try my suggestion with a float entry. It's not
like we need to say yes or no right now, 2.10 is 6 months away...
Comment 13 Teppo Turtiainen 2005-07-15 19:42:25 UTC
*** Bug 127419 has been marked as a duplicate of this bug. ***
Comment 14 Richard Hult 2006-08-19 19:18:54 UTC
I will go ahead and close this as WONTFIX. The reasons are stated above, float entry is a bit awkward and an extra spinbutton for seconds it just not worth it imo. Workrave should be used for more control/a real RSI prevention tool.