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 72802 - Gnome-cd should be able to show remaining time.
Gnome-cd should be able to show remaining time.
Status: RESOLVED FIXED
Product: gnome-media
Classification: Deprecated
Component: Gnome-CD
unspecified
Other Linux
: High enhancement
: 2.7.x
Assigned To: gnome media maintainers
gnome media maintainers
Depends on:
Blocks:
 
 
Reported: 2002-02-27 09:05 UTC by Fredrik Henrysson
Modified: 2005-12-21 14:30 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Patch against CVS HEAD (6.61 KB, patch)
2003-06-04 23:21 UTC, silversides
needs-work Details | Review
This is a modified patch .. (5.57 KB, patch)
2005-02-20 07:54 UTC, Nirmal kumar
needs-work Details | Review
This is a modified patch which creates a additional key "show-remaining-time" in Gconf and sets the tooltip text accordingly. (7.64 KB, patch)
2005-03-21 10:07 UTC, Nirmal kumar
needs-work Details | Review
update (16.49 KB, patch)
2005-04-23 12:37 UTC, Ronald Bultje
none Details | Review
Patch against the CVS HEAD (19.08 KB, patch)
2005-07-24 12:30 UTC, Madhan Raj M
none Details | Review
snapshot,.. Couldnt take a clear one (14.89 KB, image/png)
2005-07-24 12:31 UTC, Madhan Raj M
  Details

Description Fredrik Henrysson 2002-02-27 09:05:48 UTC
There should be a possibility to make gnome-cd show the remaining time of
the track it is playing.
Comment 1 Iain 2002-04-17 00:39:24 UTC
punting till 2.x
Comment 2 silversides 2003-06-04 23:21:44 UTC
Created attachment 17156 [details] [review]
Patch against CVS HEAD
Comment 3 Kjartan Maraas 2003-06-09 10:51:56 UTC
Nice. Adding PATCH keyword and upping pri.
Comment 4 Luis Villa 2003-07-11 01:21:57 UTC
Reassigning to the maintainer alias. Features should wait until after
September, though. :)
Comment 5 Kjartan Maraas 2004-04-15 21:11:51 UTC
Ted, any chance you could look at this patch?
Comment 6 Ronald Bultje 2004-04-22 17:38:14 UTC
Looks good, will apply to 2.7.x after 2.6.x is branched off.
Comment 7 Luis Villa 2004-04-28 04:32:20 UTC
Comment on attachment 17156 [details] [review]
Patch against CVS HEAD

Marking 'commit after freeze' to make it easy to find after the branch.
Comment 8 Thomas Vander Stichele 2004-05-09 17:55:33 UTC
I'm going to look at this patch, but I don't see why we need a *preference* for
showing the remaining time, so I want to rip out that part.
Comment 9 Thomas Vander Stichele 2004-05-09 18:13:37 UTC
Ok, I checked, and I definately don't want the patch in as-is.

What I would like is that the time display (which currently does current/total)
be switched to displaying remaining time, and back.  Also, it should have a tooltip.

But it should definately *not* be a gconf preference.
Comment 10 Fernando Herrera 2004-10-08 07:33:00 UTC
Comment on attachment 17156 [details] [review]
Patch against CVS HEAD

Marking as need-work after Thomas comments
Comment 11 Nirmal kumar 2005-02-20 07:54:14 UTC
Created attachment 37702 [details] [review]
This is a modified patch ..
Comment 12 Ronald Bultje 2005-03-16 14:26:00 UTC
Hi,

From the patch, it seems like you're acting on a click on the display, right? I
like that, it's intuitive. However, as opposed to what Thomas says (sorry ;) ),
I *do* think we need to store the setting in gconf. The reason for this is
simple: I want the setting to be conserved when I restart the application.
Currently, that's not the case.

Thomas asked for a tooltip that shows the current mode (i.e. either 'Current
time: %d.%02d' or 'Remaining time: %d.%02d'). I don't see that yet.

Lastly, cosmetical, your indenting looks pretty bad in the first part of the
patch, can you please fix that?

Once that's taken care of, I'll happily apply it.

Thakns for the work so far!
Comment 13 Nirmal kumar 2005-03-21 10:07:36 UTC
Created attachment 38999 [details] [review]
This is a modified patch which creates a additional key "show-remaining-time" in Gconf and sets the tooltip text accordingly.
Comment 14 Ronald Bultje 2005-03-23 22:03:29 UTC
Nirmal told me the tooltip doesn't work, may be a bug in GtkDrawingArea. Will
look at that.
Comment 15 Ronald Bultje 2005-03-30 08:13:04 UTC
(marking patch for owns sanity.)
Comment 16 Ronald Bultje 2005-04-23 12:37:03 UTC
Created attachment 45580 [details] [review]
update

So the previous patch didn't actually apply anymore, and clicking display
didn't do anything, because the signal was unused. This patch fixes that. It
also plug some memleaks introduced by the previous one.

The tooltip is still TODO, btw, so the patch isn't finished yet.
Comment 17 Sebastien Bacher 2005-07-17 22:23:24 UTC
*** Bug 310671 has been marked as a duplicate of this bug. ***
Comment 18 Madhan Raj M 2005-07-24 12:30:52 UTC
Created attachment 49674 [details] [review]
Patch against the CVS HEAD

Add events to Display to show tool tips.

When the mouse is in the Display, the tooltip shows "CD Player". When it is
playing, it shows time. But the tool tip is not displayed in the Display area,
but below that.
Comment 19 Madhan Raj M 2005-07-24 12:31:43 UTC
Created attachment 49675 [details]
snapshot,.. Couldnt take a clear one
Comment 20 Ronald Bultje 2005-12-21 14:30:44 UTC
2005-12-21  Madhan Raj M  <madhanrm@cvs.gnome.org>

        Reviewed by:  Ronald S. Bultje <rbultje@ronald.bitfreak.net>

        * gnome-cd/callbacks.c: (status_ok), (remainingtime_mode_changed_cb),
          (volume_changed): Set the tool tip for the display.
        * gnome-cd/callbacks.h:
        * gnome-cd/display.c: (button_press_event), (class_init)
        * gnome-cd/display.h:
        * gnome-cd/gnome-cd.c: (window_destroy_cb), (set_volue), (init_player)
          Add events to the display to show tool tip.
        * gnome-cd/gnome-cd.h:
        * gnome-cd/gnome-cd.schemas.in.in:
        * gnome-cd/preferences.c:
          Remaining time mode. Fixes Bug #72802.