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 706818 - Follow new selection pattern design
Follow new selection pattern design
Status: RESOLVED FIXED
Product: gnome-boxes
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: 3.22
Assigned To: Arnel Borja
GNOME Boxes maintainer(s)
Depends on:
Blocks: 699911 707076
 
 
Reported: 2013-08-26 16:32 UTC by Arnel Borja
Modified: 2016-03-31 13:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
topbar: Rename to Cancel and remove emphasis on Done button (1.76 KB, patch)
2013-08-26 16:33 UTC, Arnel Borja
needs-work Details | Review
topbar: Rename and don't emphasize Done button (1.89 KB, patch)
2013-08-27 14:58 UTC, Arnel Borja
needs-work Details | Review
topbar: Follow new selection pattern design (2.48 KB, patch)
2013-08-28 15:08 UTC, Arnel Borja
needs-work Details | Review
selectionbar: Follow new selection pattern design (6.88 KB, patch)
2013-08-28 15:08 UTC, Arnel Borja
needs-work Details | Review
selectionbar: Fix selection bug on favorites (1.93 KB, patch)
2013-08-28 15:08 UTC, Arnel Borja
needs-work Details | Review
topbar: Rename Done button and other fixes (1.96 KB, patch)
2013-08-29 18:11 UTC, Arnel Borja
committed Details | Review
topbar: Use text-button style class on New button (1.00 KB, patch)
2013-08-29 18:12 UTC, Arnel Borja
committed Details | Review
selectionbar: Use a standard toolbar (6.56 KB, patch)
2013-08-29 18:12 UTC, Arnel Borja
committed Details | Review
selectionbar: Hide after an action (3.77 KB, patch)
2013-08-29 18:12 UTC, Arnel Borja
needs-work Details | Review
selectionbar: Remove usage of stock items (1.21 KB, patch)
2013-08-29 18:12 UTC, Arnel Borja
committed Details | Review
selectionbar: Use text label for Pause button (1.21 KB, patch)
2013-08-29 18:12 UTC, Arnel Borja
committed Details | Review
selectionbar: Add button style classes and spacing (2.18 KB, patch)
2013-08-29 18:12 UTC, Arnel Borja
committed Details | Review
Break loop if already insensitive (1.06 KB, patch)
2013-08-30 12:32 UTC, Arnel Borja
committed Details | Review
selectionbar: Exit selection mode after an action (3.38 KB, patch)
2013-08-30 13:13 UTC, Arnel Borja
committed Details | Review

Description Arnel Borja 2013-08-26 16:32:59 UTC
The new mockups at https://wiki.gnome.org/GnomeOS/Design/Whiteboards/SelectionPattern do not have "suggested-action" style class in its Cancel button (which was the Done button).
Comment 1 Arnel Borja 2013-08-26 16:33:01 UTC
Created attachment 253155 [details] [review]
topbar: Rename to Cancel and remove emphasis on Done button

This is to follow the new design for Content Selection Pattern.
Comment 2 Christophe Fergeau 2013-08-26 16:43:07 UTC
This was changed from 'Cancel' to 'Done' as part of https://bugzilla.gnome.org/show_bug.cgi?id=674671 :-/
Comment 3 Zeeshan Ali 2013-08-26 17:41:12 UTC
(In reply to comment #2)
> This was changed from 'Cancel' to 'Done' as part of
> https://bugzilla.gnome.org/show_bug.cgi?id=674671 :-/

That was 2012, 2013 came with the new style. :)
Comment 4 Zeeshan Ali 2013-08-26 17:50:17 UTC
Review of attachment 253155 [details] [review]:

Please try to keep the commit's subject line under 50 characters (you can explain in the details part) and link to new design in commit log details would be nice.

With the new design, we also want to "Activating an action from the bottom toolbar exits selection mode and performs the action on the selected content." as it says on the design page (At the bottom, just above "Development Tracking" heading).

::: src/topbar.vala
@@ -113,3 @@
-        done_btn = selection_toolbar.add_button (null, _("D_one"), false) as Gtk.Button;
-        done_btn.use_underline = true;
-        // workaround for libgd bug #698289

Have you checked if this workaround is really not needed? If so, please mark that bug as fixed.
Comment 5 Arnel Borja 2013-08-26 22:00:58 UTC
Thanks for reviewing it! :D

(In reply to comment #4)
> Review of attachment 253155 [details] [review]:
> 
> Please try to keep the commit's subject line under 50 characters (you can
> explain in the details part) and link to new design in commit log details would
> be nice.

OK.

> With the new design, we also want to "Activating an action from the bottom
> toolbar exits selection mode and performs the action on the selected content."
> as it says on the design page (At the bottom, just above "Development Tracking"
> heading).

OK.

> ::: src/topbar.vala
> @@ -113,3 @@
> -        done_btn = selection_toolbar.add_button (null, _("D_one"), false) as
> Gtk.Button;
> -        done_btn.use_underline = true;
> -        // workaround for libgd bug #698289
> 
> Have you checked if this workaround is really not needed? If so, please mark
> that bug as fixed.

The bug was not fixed, but other applications like Documents don't use underline for Cancel button, so I removed this part.

I'll attach a new patch later then.
Comment 6 Jakub Steiner 2013-08-27 11:21:52 UTC
I sense we weren't so clear communicating Done vs Cancel. Depends whether the actual action dismisses the selection mode. When you're likely to perform multiple actions such as grouping songs into playlists, the selection mode is only dismissed explicitly by the user with a Done button. When it's more likely the action will be performed on the selection once, the selection mode is dismissed after the action has been performed, thus the Cancel button. Looks like the latter will be way more common.
Comment 7 Zeeshan Ali 2013-08-27 13:45:00 UTC
(In reply to comment #6)
> I sense we weren't so clear communicating Done vs Cancel. Depends whether the
> actual action dismisses the selection mode. When you're likely to perform
> multiple actions such as grouping songs into playlists, the selection mode is
> only dismissed explicitly by the user with a Done button. When it's more likely
> the action will be performed on the selection once, the selection mode is
> dismissed after the action has been performed, thus the Cancel button. Looks
> like the latter will be way more common.

So it should be latter for Boxes too then IIUC?
Comment 8 Jakub Steiner 2013-08-27 13:54:00 UTC
> So it should be latter for Boxes too then IIUC?

Right now it leaves the selection mode, so with the actions implemented I see cancel being appropriate and the bug title being appropriate. Once we have collection management, we might want to revisit. But the label goes with the behavior.
Comment 9 Arnel Borja 2013-08-27 13:59:46 UTC
Ack, didn't notice that the bug for the new design is still open at bug #699911, so I'll just set this one as blocking that said bug.
Comment 10 Arnel Borja 2013-08-27 14:17:33 UTC
The current selection toolbar is still an OSD toolbar. Should I fix that too?
Comment 11 Jakub Steiner 2013-08-27 14:24:55 UTC
(In reply to comment #10)
> The current selection toolbar is still an OSD toolbar. Should I fix that too?

That would be great!
Comment 12 Zeeshan Ali 2013-08-27 14:46:58 UTC
(In reply to comment #10)
> The current selection toolbar is still an OSD toolbar. Should I fix that too?

Yes but please update the existing patch here first cause I need to make changes to the same code and I assume you wouldn't like to rebase. :)
Comment 13 Arnel Borja 2013-08-27 14:58:55 UTC
Created attachment 253262 [details] [review]
topbar: Rename and don't emphasize Done button

The Done button should be renamed to Cancel, and it shouldn't be
emphasized.

This is to follow the new design for Content Selection Pattern at
https://wiki.gnome.org/GnomeOS/Design/Whiteboards/SelectionPattern


Here's the reworded patches, I haven't fixed the other two issues yet.
And it's okay if I have to rebase :D
Comment 14 Zeeshan Ali 2013-08-28 13:20:03 UTC
Review of attachment 253262 [details] [review]:

::: src/topbar.vala
@@ -116,3 @@
-        done_btn = selection_toolbar.add_button (null, _("D_one"), false) as Gtk.Button;
-        done_btn.use_underline = true;
-        // workaround for libgd bug #698289

This is again missing. We do want the accelerator..
Comment 15 Arnel Borja 2013-08-28 15:08:03 UTC
Created attachment 253399 [details] [review]
topbar: Follow new selection pattern design

Renamed Done button to Cancel, and no longer emphasized. Added text-button
style class. Removed other unnecessary property changes.

Added text-button style class to New button instead of setting a custom
size.

This is to follow the new design for Content Selection Pattern at
https://wiki.gnome.org/GnomeOS/Design/Whiteboards/SelectionPattern
Comment 16 Arnel Borja 2013-08-28 15:08:11 UTC
Created attachment 253400 [details] [review]
selectionbar: Follow new selection pattern design

Use a standard toolbar at the bottom instead of an overlaid toolbar. Close
selection mode once an action is performed. Remove use of stock items which
are now deprecated. Add padding between buttons.

This is to follow the new design for Content Selection Pattern at
https://wiki.gnome.org/GnomeOS/Design/Whiteboards/SelectionPattern
Comment 17 Arnel Borja 2013-08-28 15:08:22 UTC
Created attachment 253401 [details] [review]
selectionbar: Fix selection bug on favorites

Selecting a machine not in favorites, while there is a machine that is in
favorites and selected, adds all selected items to favorites. This happens
because the active property is changed during the check for selection,
emitting a "clicked" signal.

This will block the "clicked" handler for favorite button while changing
this property.
Comment 18 Arnel Borja 2013-08-28 15:14:44 UTC
(In reply to comment #14)
> Review of attachment 253262 [details] [review]:
> 
> ::: src/topbar.vala
> @@ -116,3 @@
> -        done_btn = selection_toolbar.add_button (null, _("D_one"), false) as
> Gtk.Button;
> -        done_btn.use_underline = true;
> -        // workaround for libgd bug #698289
> 
> This is again missing. We do want the accelerator..

Sorry, I just noticed this. Is "_Cancel" fine? Documents and other core apps don't use an accelerator for this though.

Also, I noticed that there is a bug in selection, I tried to fix that, but seems like there are other issues that I haven't found yet. Before, when I randomly toggle the selection with machines with some machines set as a favorite, they all set as favorites after some toggling. I used signal blocking to fix that, but now, when I click the favorites button, the selection changes and the favorite attribute is applied to random items.
Comment 19 Zeeshan Ali 2013-08-28 20:09:52 UTC
Review of attachment 253400 [details] [review]:

This is a few different changes:

1. Use a standard toolbar at the bottom instead of an overlaid toolbar
2. Close selection mode once an action is performed
3. Remove use of stock items which are now deprecated.
4. Add padding between buttons

While 1 and 2 can go in the same patch, 2 and 3 doesn't belong in this patch so please separate them out.

Does it work? I'm puzzled as to where/how you are handling transparency though?

::: src/app.vala
@@ -869,3 @@
         notificationbar.display_for_action (message, Gtk.Stock.UNDO, (owned) undo, (owned) really_remove);
-
-        // go out of selection mode if there are no more boxes

Why are you removing these lines?
Comment 20 Zeeshan Ali 2013-08-28 20:13:57 UTC
Review of attachment 253399 [details] [review]:

This also feels like it needs to be divided into separate patches (even though the goal is the same). Could you please divide them into separate patches? "_Cancel" is fine btw.

Not really a blocker or anything but usual commit log convention is to use present tense rather than past for the changes in the patch, e.g 'Added' -> 'Add'.

::: src/topbar.vala
@@ -116,3 @@
-        done_btn = selection_toolbar.add_button (null, _("D_one"), false) as Gtk.Button;
-        done_btn.use_underline = true;
-        // workaround for libgd bug #698289

Dude, how many times I need to remind you of this workaround being needed? This also means you didn't test this patch. :)
Comment 21 Zeeshan Ali 2013-08-28 20:16:27 UTC
Review of attachment 253401 [details] [review]:

This will block -> This patch will block.

Good otherwise.
Comment 22 Zeeshan Ali 2013-08-28 20:18:55 UTC
Comment on attachment 253401 [details] [review]
selectionbar: Fix selection bug on favorites

Only saw your comment now. I think this is a separate bug anyways. Could you file one?
Comment 23 Arnel Borja 2013-08-29 14:15:47 UTC
(In reply to comment #20)
> Dude, how many times I need to remind you of this workaround being needed? This
> also means you didn't test this patch. :)

I tested it without an accelerator, but I only noticed your comment after attaching the new patches. It is already past midnight and I have class next day, so I just decided to postpone including it.

I'll work on an update now :D
Comment 24 Arnel Borja 2013-08-29 15:24:55 UTC
(In reply to comment #19)
> Review of attachment 253400 [details] [review]:
> ::: src/app.vala
> @@ -869,3 @@
>          notificationbar.display_for_action (message, Gtk.Stock.UNDO, (owned)
> undo, (owned) really_remove);
> -
> -        // go out of selection mode if there are no more boxes
> 
> Why are you removing these lines?

It will now immediately get out of selection mode before removing any items, so this one is no longer unnecessary.(In reply to comment #20)

> Review of attachment 253399 [details] [review]:
> Not really a blocker or anything but usual commit log convention is to use
> present tense rather than past for the changes in the patch, e.g 'Added' ->
> 'Add'.

Sorry I always forget this XD (I sometimes mix up past and present tense).
Comment 25 Zeeshan Ali 2013-08-29 15:51:21 UTC
Correct component, 'windows' is for Microsoft Windows installation-related.
Comment 26 Arnel Borja 2013-08-29 18:11:53 UTC
Created attachment 253535 [details] [review]
topbar: Rename Done button and other fixes

Rename Done button to Cancel, and remove emphasis. Add text-button style
class.

This is to follow the new design for Content Selection Pattern at
https://wiki.gnome.org/GnomeOS/Design/Whiteboards/SelectionPattern
Comment 27 Arnel Borja 2013-08-29 18:12:01 UTC
Created attachment 253536 [details] [review]
topbar: Use text-button style class on New button

This style class should be used instead of setting a custom size.
Comment 28 Arnel Borja 2013-08-29 18:12:07 UTC
Created attachment 253537 [details] [review]
selectionbar: Use a standard toolbar

Use a standard toolbar at the bottom instead of an overlaid toolbar.
Add a revealer to slide up and down the toolbar.

This is to follow the new design for Content Selection Pattern at
https://wiki.gnome.org/GnomeOS/Design/Whiteboards/SelectionPattern
Comment 29 Arnel Borja 2013-08-29 18:12:14 UTC
Created attachment 253538 [details] [review]
selectionbar: Hide after an action

Close selection mode once an action is performed. Always show
selectionbar even if there are no selected items.

This is to follow the new design for Content Selection Pattern at
https://wiki.gnome.org/GnomeOS/Design/Whiteboards/SelectionPattern
Comment 30 Arnel Borja 2013-08-29 18:12:20 UTC
Created attachment 253539 [details] [review]
selectionbar: Remove usage of stock items

Remove usage of stock items which are now deprecated.
Comment 31 Arnel Borja 2013-08-29 18:12:27 UTC
Created attachment 253540 [details] [review]
selectionbar: Use text label for Pause button

Pause is an action item and string labels are now prefered for these
items.

This is to follow the new design for Content Selection Pattern at
https://wiki.gnome.org/GnomeOS/Design/Whiteboards/SelectionPattern
Comment 32 Arnel Borja 2013-08-29 18:12:34 UTC
Created attachment 253541 [details] [review]
selectionbar: Add button style classes and spacing

Add "image-button" and "text-button" style classes to the buttons to
fix padding of buttons. Add spacing between buttons.

This is to follow the new design for Content Selection Pattern at
https://wiki.gnome.org/GnomeOS/Design/Whiteboards/SelectionPattern
Comment 33 Arnel Borja 2013-08-29 18:26:26 UTC
Selection bug is on #707076
Comment 34 Zeeshan Ali 2013-08-29 19:38:26 UTC
Thanks! Now i can review each change separately. :)
Comment 35 Zeeshan Ali 2013-08-29 19:40:40 UTC
Review of attachment 253535 [details] [review]:

Looks good.
Comment 36 Zeeshan Ali 2013-08-29 19:41:32 UTC
Review of attachment 253536 [details] [review]:

ACK
Comment 37 Zeeshan Ali 2013-08-29 19:43:58 UTC
Review of attachment 253537 [details] [review]:

Yay! Removing code is always good. :)
Comment 38 Zeeshan Ali 2013-08-29 19:54:25 UTC
Review of attachment 253538 [details] [review]:

The commit log summary is misleading, we are exiting the selection mode all together and not just hiding the selectionbar on action. How about: selectionbar: Exist selection mode after an action ?

Also I can only spot you quiting the selection-mode on box deletion. Are you actually hiding it on other actions as well and I'm just being blind?

::: src/selectionbar.vala
@@ +142,2 @@
                 sensitive = false;
+                break;

unrelated fix.
Comment 39 Zeeshan Ali 2013-08-29 19:56:11 UTC
Review of attachment 253539 [details] [review]:

Again, the commit log is misleading. We are not just simply removing usage of deprecated API but also changing the buttons to use text labels rather than images, latter being the more important part of this patch actually.

Change itself is good but please do change commit log before pushing.
Comment 40 Zeeshan Ali 2013-08-29 19:57:51 UTC
Review of attachment 253540 [details] [review]:

ACK
Comment 41 Zeeshan Ali 2013-08-29 20:00:17 UTC
Review of attachment 253541 [details] [review]:

I don't see you adding any space as the commit log says. I guess the style takes care of that? If so, just update the commit log before pushing.
Comment 42 Arnel Borja 2013-08-30 12:32:45 UTC
Created attachment 253602 [details] [review]
Break loop if already insensitive

(In reply to comment #38)
> Review of attachment 253538 [details] [review]:
> 
> The commit log summary is misleading, we are exiting the selection mode all
> together and not just hiding the selectionbar on action. How about:
> selectionbar: Exist selection mode after an action ?
> 

OK. Here's the new commit log:

commit 647d8ac879928590828895127cffea80db24321b
Author: Arnel A. Borja <arnelborja@src.gnome.org>
Date:   Thu Aug 29 23:50:38 2013 +0800

    selectionbar: Exit selection mode after an action
    
    Close selection mode once an action is performed. Always show
    selectionbar even if there are no selected items.
    
    This is to follow the new design for Content Selection Pattern at
    https://wiki.gnome.org/GnomeOS/Design/Whiteboards/SelectionPattern
    
    https://bugzilla.gnome.org/show_bug.cgi?id=706818

I will no longer attach it here since it is just a commit message change.

> Also I can only spot you quiting the selection-mode on box deletion. Are you
> actually hiding it on other actions as well and I'm just being blind?
> 

They are here:

@@ -25,6 +25,8 @@ public Selectionbar () {
                    continue;
                machine.config.set_category ("favorite", favorite_btn.active);
            }
+
+           App.app.selection_mode = false;
         });
 
         pause_btn = new Gtk.Button ();
@@ -45,6 +47,7 @@ public Selectionbar () {
            }
 
            pause_btn.sensitive = false;
+           App.app.selection_mode = false;
         });
 
         remove_btn = new Gtk.Button.from_stock (Gtk.Stock.DELETE);

> ::: src/selectionbar.vala
> @@ +142,2 @@
>                  sensitive = false;
> +                break;
> 
> unrelated fix.

I'll move it to a separate patch then. (This attachment)


(In reply to comment #39)
> Review of attachment 253539 [details] [review]:
> 
> Again, the commit log is misleading. We are not just simply removing usage of
> deprecated API but also changing the buttons to use text labels rather than
> images, latter being the more important part of this patch actually.
> 
> Change itself is good but please do change commit log before pushing.

It was already using text labels before though, only the Pause button has this change.


(In reply to comment #41)
> Review of attachment 253541 [details] [review]:
> 
> I don't see you adding any space as the commit log says. I guess the style
> takes care of that? If so, just update the commit log before pushing.

Oops, I switched to Gtk.HeaderBar just like how it is done in gnome-documents, I'll remove that in the commit message.

New commit log:

commit 9b445d6ea3a8a4cbe334d4266b1387d29871e88c
Author: Arnel A. Borja <arnelborja@src.gnome.org>
Date:   Fri Aug 30 00:11:13 2013 +0800

    selectionbar: Add button style classes
    
    Add "image-button" and "text-button" style classes to the buttons to
    fix padding of buttons.
    
    This is to follow the new design for Content Selection Pattern at
    https://wiki.gnome.org/GnomeOS/Design/Whiteboards/SelectionPattern
    
    https://bugzilla.gnome.org/show_bug.cgi?id=706818

I will no longer attach it here since it is just a commit message change.
Comment 43 Zeeshan Ali 2013-08-30 12:51:39 UTC
Review of attachment 253602 [details] [review]:

ack
Comment 44 Zeeshan Ali 2013-08-30 12:59:51 UTC
(In reply to comment #42)
> Created an attachment (id=253602) [details] [review]
> Break loop if already insensitive
> 
> (In reply to comment #38)
> > Review of attachment 253538 [details] [review] [details]:
> > 
> > The commit log summary is misleading, we are exiting the selection mode all
> > together and not just hiding the selectionbar on action. How about:
> > selectionbar: Exist selection mode after an action ?
> > 
> 
> OK. Here's the new commit log:
> 
> commit 647d8ac879928590828895127cffea80db24321b
> Author: Arnel A. Borja <arnelborja@src.gnome.org>
> Date:   Thu Aug 29 23:50:38 2013 +0800
> 
>     selectionbar: Exit selection mode after an action
> 
>     Close selection mode once an action is performed. Always show
>     selectionbar even if there are no selected items.
> 
>     This is to follow the new design for Content Selection Pattern at
>     https://wiki.gnome.org/GnomeOS/Design/Whiteboards/SelectionPattern
> 
>     https://bugzilla.gnome.org/show_bug.cgi?id=706818
> 
> I will no longer attach it here since it is just a commit message change.

Looks good. Sure thing.

> > Also I can only spot you quiting the selection-mode on box deletion. Are you
> > actually hiding it on other actions as well and I'm just being blind?
> > 
> 
> They are here:
> 
> @@ -25,6 +25,8 @@ public Selectionbar () {
>                     continue;
>                 machine.config.set_category ("favorite", favorite_btn.active);
>             }
> +
> +           App.app.selection_mode = false;
>          });
> 
>          pause_btn = new Gtk.Button ();
> @@ -45,6 +47,7 @@ public Selectionbar () {
>             }
> 
>             pause_btn.sensitive = false;
> +           App.app.selection_mode = false;
>          });
> 
>          remove_btn = new Gtk.Button.from_stock (Gtk.Stock.DELETE);

Ah ok, missed one of them.

> > ::: src/selectionbar.vala
> > @@ +142,2 @@
> >                  sensitive = false;
> > +                break;
> > 
> > unrelated fix.
> 
> I'll move it to a separate patch then. (This attachment)

Thanks. You want to resubmit the patch you took this out from (for the record).

> (In reply to comment #39)
> > Review of attachment 253539 [details] [review] [details]:
> > 
> > Again, the commit log is misleading. We are not just simply removing usage of
> > deprecated API but also changing the buttons to use text labels rather than
> > images, latter being the more important part of this patch actually.
> > 
> > Change itself is good but please do change commit log before pushing.
> 
> It was already using text labels before though, only the Pause button has this
> change.

1/2 is 50% :) I won't nitpick this to death but either you can update the log or split the unrelated change. You choice. :)
 
> (In reply to comment #41)
> > Review of attachment 253541 [details] [review] [details]:
> > 
> > I don't see you adding any space as the commit log says. I guess the style
> > takes care of that? If so, just update the commit log before pushing.
> 
> Oops, I switched to Gtk.HeaderBar just like how it is done in gnome-documents,
> I'll remove that in the commit message.
> 
> New commit log:
> 
> commit 9b445d6ea3a8a4cbe334d4266b1387d29871e88c
> Author: Arnel A. Borja <arnelborja@src.gnome.org>
> Date:   Fri Aug 30 00:11:13 2013 +0800
> 
>     selectionbar: Add button style classes
> 
>     Add "image-button" and "text-button" style classes to the buttons to
>     fix padding of buttons.
> 
>     This is to follow the new design for Content Selection Pattern at
>     https://wiki.gnome.org/GnomeOS/Design/Whiteboards/SelectionPattern
> 
>     https://bugzilla.gnome.org/show_bug.cgi?id=706818

Looks good now.
Comment 45 Arnel Borja 2013-08-30 13:13:35 UTC
Created attachment 253607 [details] [review]
selectionbar: Exit selection mode after an action

(In reply to comment #44)
> > > ::: src/selectionbar.vala
> > > @@ +142,2 @@
> > >                  sensitive = false;
> > > +                break;
> > > 
> > > unrelated fix.
> > 
> > I'll move it to a separate patch then. (This attachment)
> 
> Thanks. You want to resubmit the patch you took this out from (for the record).

Attaching it here then.
Comment 46 Zeeshan Ali 2013-08-30 13:25:40 UTC
Review of attachment 253607 [details] [review]:

ack
Comment 47 Arnel Borja 2013-08-30 13:32:09 UTC
(In reply to comment #18)
> Also, I noticed that there is a bug in selection, I tried to fix that, but
> seems like there are other issues that I haven't found yet. Before, when I
> randomly toggle the selection with machines with some machines set as a
> favorite, they all set as favorites after some toggling. I used signal blocking
> to fix that, but now, when I click the favorites button, the selection changes
> and the favorite attribute is applied to random items.

Sorry, this one actually works. I was sleepy back then :D
Comment 48 Arnel Borja 2013-08-30 13:52:13 UTC
Comment on attachment 253535 [details] [review]
topbar: Rename Done button and other fixes

Committed as 2fa9caa
Comment 49 Arnel Borja 2013-08-30 13:52:29 UTC
Comment on attachment 253536 [details] [review]
topbar: Use text-button style class on New button

Committed as d38b8ab
Comment 50 Arnel Borja 2013-08-30 13:52:47 UTC
Comment on attachment 253537 [details] [review]
selectionbar: Use a standard toolbar

Committed as b55b7cd
Comment 51 Arnel Borja 2013-08-30 13:53:04 UTC
Comment on attachment 253607 [details] [review]
selectionbar: Exit selection mode after an action

Committed as 647d8ac
Comment 52 Arnel Borja 2013-08-30 13:53:19 UTC
Comment on attachment 253602 [details] [review]
Break loop if already insensitive

Committed as 74b9cd2
Comment 53 Arnel Borja 2013-08-30 13:53:35 UTC
Comment on attachment 253539 [details] [review]
selectionbar: Remove usage of stock items

Committed as 4524a5f
Comment 54 Arnel Borja 2013-08-30 13:53:51 UTC
Comment on attachment 253540 [details] [review]
selectionbar: Use text label for Pause button

Committed as cb958a7
Comment 55 Arnel Borja 2013-08-30 13:54:07 UTC
Comment on attachment 253541 [details] [review]
selectionbar: Add button style classes and spacing

Committed as e7199f3
Comment 56 Arnel Borja 2013-08-30 13:57:47 UTC
Committed all of the patches. Thanks for reviewing them!

Just for reference, Matthias Clasen and Javier Jardón approved freeze break here:
https://mail.gnome.org/archives/release-team/2013-August/msg00090.html