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 762265 - no need for track change notification
no need for track change notification
Status: RESOLVED OBSOLETE
Product: gnome-music
Classification: Applications
Component: general
3.19.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-music-maint
gnome-music-maint
Depends on:
Blocks: 726568 764241
 
 
Reported: 2016-02-18 14:39 UTC by Jakub Steiner
Modified: 2018-01-10 14:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
media controls on top serve a better purpose of information & control. (130.71 KB, image/png)
2016-02-18 14:39 UTC, Jakub Steiner
  Details
remove notification on track change (3.81 KB, patch)
2016-02-28 00:49 UTC, Gaurav Narula
committed Details | Review

Description Jakub Steiner 2016-02-18 14:39:27 UTC
Created attachment 321587 [details]
media controls on top serve a better purpose of information & control.

With the new media control landing in the shell, Music no longer needs to duplicitly notify me of a track change.
Comment 1 Ashhar Hasan 2016-02-21 03:43:43 UTC
Can I work on this? Although I have contributed to open source projects, this will be my first time contributing to something significant as GNOME or Linux.
Comment 2 Felipe Borges 2016-02-22 09:00:40 UTC
(In reply to Ashhar Hasan from comment #1)
> Can I work on this? Although I have contributed to open source projects,
> this will be my first time contributing to something significant as GNOME or
> Linux.

sure.
Comment 3 Ashhar Hasan 2016-02-22 09:08:33 UTC
I am more accustomed to the pull and merge concept. How do I generate a patch once I have committed my changes? And do I need to squash my commits into a single commit or can I add multiple commits.
Comment 4 Felipe Borges 2016-02-22 09:13:27 UTC
(In reply to Ashhar Hasan from comment #3)
> I am more accustomed to the pull and merge concept. How do I generate a
> patch once I have committed my changes?

You can use git format-patch or git-bz (which I recommend).

And do I need to squash my commits
> into a single commit or can I add multiple commits.

Add as much commits as necessary.
Comment 5 Gaurav Narula 2016-02-27 20:34:20 UTC
Hi! I've a patch for this bug. Wondering if I should go ahead and submit it in case Ashhar is not working on it anymore.
Comment 6 Ashhar Hasan 2016-02-28 00:08:37 UTC
(In reply to Gaurav Narula from comment #5)
> Hi! I've a patch for this bug. Wondering if I should go ahead and submit it
> in case Ashhar is not working on it anymore.

Go ahead. I had some issues with setting up the dev environment behind a proxy.
It'll take me time.
Comment 7 Gaurav Narula 2016-02-28 00:49:03 UTC
Created attachment 322561 [details] [review]
remove notification on track change

The patch removes the listeners and handlers for track change events in notification.py.
Comment 8 Felipe Borges 2016-02-29 11:38:38 UTC
Review of attachment 322561 [details] [review]:

Thanks for your patch.
Comment 9 Marinus Schraal 2016-05-08 14:42:32 UTC
I think this needs to be reopened/reworked.

I don't think media controls equals notifications, they're two different things. With the current design we actually never get a (pop-up) notification on track change. The shell date/time (center) menu has no indication theres actually anything going on there in terms of music change/controls when it's closed.

The only duplicity is the track being shown in the date/time MPRIS based media section and in the notification section of the date/time menu. I think that's something for the shell to handle (there seems to be no way around it afaics).

If the notifications are gone and we want to keep it that way, then the whole class can be ditched. notification.py is non-functional code as it is right now.
Comment 10 Felipe Borges 2016-05-09 12:09:27 UTC
(In reply to Marinus Schraal from comment #9)
> I think this needs to be reopened/reworked.
> 
> I don't think media controls equals notifications, they're two different
> things. With the current design we actually never get a (pop-up)
> notification on track change. The shell date/time (center) menu has no
> indication theres actually anything going on there in terms of music
> change/controls when it's closed.
> 
> The only duplicity is the track being shown in the date/time MPRIS based
> media section and in the notification section of the date/time menu. I think
> that's something for the shell to handle (there seems to be no way around it
> afaics).
> 
> If the notifications are gone and we want to keep it that way, then the
> whole class can be ditched. notification.py is non-functional code as it is
> right now.

I agree. I would like to hear what Allan Day thinks about it.
Comment 11 Allan Day 2016-07-12 16:14:34 UTC
(In reply to Felipe Borges from comment #10)
> (In reply to Marinus Schraal from comment #9)
> > I think this needs to be reopened/reworked.
> > 
> > I don't think media controls equals notifications, they're two different
> > things. With the current design we actually never get a (pop-up)
> > notification on track change. The shell date/time (center) menu has no
> > indication theres actually anything going on there in terms of music
> > change/controls when it's closed.
> > 
> > The only duplicity is the track being shown in the date/time MPRIS based
> > media section and in the notification section of the date/time menu. I think
> > that's something for the shell to handle (there seems to be no way around it
> > afaics).
> > 
> > If the notifications are gone and we want to keep it that way, then the
> > whole class can be ditched. notification.py is non-functional code as it is
> > right now.
> 
> I agree. I would like to hear what Allan Day thinks about it.

I agree with Jakub's original bug report - I don't think we want duplication of the notifications in the shell's drop down. And I don't think that showing notifications for every track change is a good default behaviour - it's far too distracting.
Comment 12 Marinus Schraal 2016-07-12 16:51:40 UTC
(In reply to Allan Day from comment #11)
<snip>
> I agree with Jakub's original bug report - I don't think we want duplication
> of the notifications in the shell's drop down. And I don't think that
> showing notifications for every track change is a good default behaviour -
> it's far too distracting.

Well this is rather non-conforming behaviour then, all notifications have a corresponding entry in the gnome-shell drop down, except music: it is in the notification block, but it doesn't have a notification. The whole media control thing in a drop down is low discoverable, if you didn't know it was there you would never look for it. It's all rather odd.

Personally I find it at times useful to know whats coming up, so I can skip or change music completely (think of shuffling lots of songs) . Yes, it can be distracting, but notifications can be disabled in gcc if need be.
Comment 13 GNOME Infrastructure Team 2018-01-10 14:49:18 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-music/issues/54.