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 725949 - gnome-music buttons have no tooltips
gnome-music buttons have no tooltips
Status: RESOLVED FIXED
Product: gnome-music
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-music-maint
gnome-music-maint
available
Depends on:
Blocks:
 
 
Reported: 2014-03-08 18:19 UTC by Shobha
Modified: 2014-05-05 18:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for player buttons tooltips (1.91 KB, patch)
2014-05-01 15:49 UTC, Michal Vanko
needs-work Details | Review
Added tooltips to back,search, select buttons patch (1.15 KB, patch)
2014-05-02 13:35 UTC, Michal Vanko
needs-work Details | Review
Added tooltips to header bar and player buttons (3.70 KB, patch)
2014-05-05 17:56 UTC, Michal Vanko
none Details | Review

Description Shobha 2014-03-08 18:19:29 UTC
tooltips helps in documentation as well as tells about the functionality of a particular button or feature.

gnome-music have no tooltips, please let us know when you are planning to add them or not panning at all. 

Thanks!!
Comment 1 prasad mhatre 2014-03-28 07:37:50 UTC
Can you help me, for which button/widgets you want tooltips and what tip should be shown there?
Comment 2 Arnel Borja 2014-04-01 16:24:59 UTC
Documents do have tooltips in its buttons, so I think Music should have them too.

(In reply to comment #1)
> Can you help me, for which button/widgets you want tooltips and what tip should
> be shown there?

Basically, the buttons in the header bar and the player bar.

You could just copy the tooltips for the header bar from Documents and other core apps (they are just common buttons).

Buttons in player bar should show Previous, Play/Pause (depending on current state of the center button) and Next.
Comment 3 Michal Vanko 2014-05-01 15:49:29 UTC
Created attachment 275553 [details] [review]
Patch for player buttons tooltips

Hi,
I've made a patch for Player buttons (next, prev, play/pause).
I've tested the Play/Pause and it works even when the player is paused from outside of application.
Comment 4 Vadim Rutkovsky 2014-05-01 21:03:28 UTC
Review of attachment 275553 [details] [review]:

Looks good to me, could you also prepare a patch for Back and Search buttons?
Comment 5 Michal Vanko 2014-05-02 13:35:51 UTC
Created attachment 275655 [details] [review]
Added tooltips to back,search, select buttons patch
Comment 6 Vadim Rutkovsky 2014-05-05 10:49:18 UTC
Review of attachment 275553 [details] [review]:

On the second thought we're storing as much UI as possible in UI files, we should add smth like:
  <property name="tooltip-text" translatable="yes">Add to Playlist</property>
to each GtkButton we have in .ui files
Comment 7 Vadim Rutkovsky 2014-05-05 10:50:33 UTC
Review of attachment 275655 [details] [review]:

See previous comment
Comment 8 Michal Vanko 2014-05-05 17:56:46 UTC
Created attachment 275905 [details] [review]
Added tooltips to header bar and player buttons

Good point! I've created new patch with tooltips created in ui files. Play/Pause button functionality is implemented in code.
Comment 9 Vadim Rutkovsky 2014-05-05 18:29:46 UTC
Thanks, pushed as https://git.gnome.org/browse/gnome-music/commit/?id=1d90b9f.

As a side note - please make sure that submitted code passes pep8 checks, we're doing our best to be strict about. Nevertheless, thanks for your contribution!