GNOME Bugzilla – Bug 731392
Nicer empty state
Last modified: 2014-10-14 20:13:21 UTC
A message is displayed when music is empty, which explains how to add content. This is good, but the message itself could be improved (a screenshot is attached). A few things: * The layout is off - centered text with an icon to the left doesn't work visually. * The colour is too dark. * The exclamation mark seems unwarranted. * The file path won't be recognised by many users, and the language is a bit technical. A mockup for an improved empty screen: https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/music/music-empty.png
Created attachment 278123 [details] screenshot I forgot the attachment, of course.
Screenshot of the work upto now. http://ctrlv.in/446441
http://ctrlv.in/447186
(In reply to comment #3) > http://ctrlv.in/447186 We shouldn't center the text. I guess left alignment will do better.
Created attachment 288421 [details] [review] Better empty state
Final Screenshot http://ctrlv.in/448293
Review of attachment 288421 [details] [review]: ::: data/NoMusic.ui @@ +29,3 @@ + <property name="margin">10</property> + <child> + <object class="GtkLabel" id="label1"> This label should be removed afaik @@ +47,3 @@ + </child> + <child> + <object class="GtkLabel" id="label2"> We have used generic names before, but this is a bad idea. Lets rename it to something like NoMusicLabel @@ +51,3 @@ + <property name="opacity">0.5</property> + <property name="can_focus">False</property> + <property name="label">No Music Found</property> Please set 'translatable="yes"' here
Vadim if i remove label1 then how will two text (No music found and the other one) have different sizes? In that case bold and scale attribute will be apply to both the text.
(In reply to comment #8) > Vadim if i remove label1 then how will two text (No music found and the other > one) have different sizes? > In that case bold and scale attribute will be apply to both the text. Oh, my bad. But in this case resetting a text in .py file is pointless - we can set it straight in .ui file
Created attachment 288537 [details] [review] Better empty state
Created attachment 288550 [details] [review] Better empty state
Review of attachment 288550 [details] [review]: Pushed as https://git.gnome.org/browse/gnome-music/commit/?id=968281d to master