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 722331 - Applications view - Favourites / All transition is incomplete
Applications view - Favourites / All transition is incomplete
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: overview
3.11.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2014-01-16 13:25 UTC by Allan Day
Modified: 2014-02-17 12:38 UTC
See Also:
GNOME target: ---
GNOME version: 3.11/3.12


Attachments
appDisplay: Add time to view switching animation (1.37 KB, patch)
2014-01-16 20:41 UTC, Carlos Soriano
rejected Details | Review
appDisplay: Add time to view switch animation (1.36 KB, patch)
2014-01-16 20:46 UTC, Carlos Soriano
none Details | Review
appDisplay: Add time to view switch animation (1.32 KB, patch)
2014-02-13 19:17 UTC, Carlos Soriano
none Details | Review
appDisplay: Add time to view switch animation (1.32 KB, patch)
2014-02-13 19:20 UTC, Carlos Soriano
none Details | Review
appDisplay: Add time to view switch animation (2.00 KB, patch)
2014-02-14 18:11 UTC, Carlos Soriano
none Details | Review
appDisplay: Add time to view switch animation (2.07 KB, patch)
2014-02-14 18:13 UTC, Carlos Soriano
committed Details | Review

Description Allan Day 2014-01-16 13:25:55 UTC
When you switch between Favourites / All in the applications view, some parts of the transition are abrupt:

 * The app launcher icons immediately disappear/appear.
 * When switching from All to Favourites, the page indicators simply disappear.

We should probably fade the icons in and out when switching between views. The page indicators should also animate out in the same way that they animate in.
Comment 1 Florian Müllner 2014-01-16 13:33:03 UTC
(In reply to comment #0)
>  * The app launcher icons immediately disappear/appear.

No, they are faded very very quickly. Guess we should give the transition some more time ...


>  * When switching from All to Favourites, the page indicators simply disappear.

Yeah, this struck me as odd when reviewing those patches, but Carlos claimed this was by design.
Comment 2 Jasper St. Pierre (not reading bugmail) 2014-01-16 15:11:47 UTC
No, there's a bug where the app launcher icons, when loading for the first time, appear instead of fading. It happens even when having the slow down factor set to 10 or something, so it's not because they're loading.
Comment 3 Carlos Soriano 2014-01-16 20:32:58 UTC
(In reply to comment #1)
> (In reply to comment #0)
> >  * The app launcher icons immediately disappear/appear.
> 
> No, they are faded very very quickly. Guess we should give the transition some
> more time ...
> 
I'm just adding it =) seems Overview.controls_time to 0.12 is not enough for this.
> 
> >  * When switching from All to Favourites, the page indicators simply disappear.
> 
> Yeah, this struck me as odd when reviewing those patches, but Carlos claimed
> this was by design.
I don't remember at all, but yeah I remember to ask this question, probably was a design decision from Jakub if I'm correct.
Jakub what do you think?
Comment 4 Carlos Soriano 2014-01-16 20:41:41 UTC
Created attachment 266500 [details] [review]
appDisplay: Add time to view switching animation

Add more time to the fade in/out animation when switching
views so they don't switch abruptly.
Comment 5 Carlos Soriano 2014-01-16 20:44:15 UTC
Review of attachment 266500 [details] [review]:

::: js/ui/appDisplay.js
@@ +47,3 @@
 const PAGE_SWITCH_TIME = 0.3;
 
+const VIEWS_SWITCHING_TIME = 0.7;

Meh, SWITCH instead of SWITCHING
Comment 6 Carlos Soriano 2014-01-16 20:46:17 UTC
Created attachment 266502 [details] [review]
appDisplay: Add time to view switch animation

Add more time to the fade in/out animation when switching
views so they don't switch abruptly.
Comment 7 Carlos Soriano 2014-01-16 20:47:21 UTC
(In reply to comment #2)
> No, there's a bug where the app launcher icons, when loading for the first
> time, appear instead of fading. It happens even when having the slow down
> factor set to 10 or something, so it's not because they're loading.

True, I file a new bug for that.
Comment 8 Allan Day 2014-01-16 20:51:18 UTC
(In reply to comment #1)
...
> >  * When switching from All to Favourites, the page indicators simply disappear.
> 
> Yeah, this struck me as odd when reviewing those patches, but Carlos claimed
> this was by design.

Might be worth checking with Jakub about that, then. I'd fade them out at the very least though.
Comment 9 Carlos Soriano 2014-01-16 20:53:13 UTC
(In reply to comment #8)
> (In reply to comment #1)
> ...
> > >  * When switching from All to Favourites, the page indicators simply disappear.
> > 
> > Yeah, this struck me as odd when reviewing those patches, but Carlos claimed
> > this was by design.
> 
> Might be worth checking with Jakub about that, then. I'd fade them out at the
> very least though.

Fading out now with latest patch.
Comment 10 Carlos Soriano 2014-01-16 20:54:01 UTC
For the bug when appDisplay is launched for first time and the icons are not fade in: https://bugzilla.gnome.org/show_bug.cgi?id=722383
Comment 11 Jakub Steiner 2014-02-13 15:48:12 UTC
Fadeout is a good transition for hiding them.
Comment 12 Carlos Soriano 2014-02-13 19:17:37 UTC
Created attachment 269059 [details] [review]
appDisplay: Add time to view switch animation

Add more time to the fade in/out animation when switching
views so they don't switch abruptly.
Comment 13 Carlos Soriano 2014-02-13 19:20:40 UTC
Created attachment 269060 [details] [review]
appDisplay: Add time to view switch animation

Add more time to the fade in/out animation when switching
views so they don't switch abruptly.
Comment 14 Carlos Soriano 2014-02-13 19:29:08 UTC
(In reply to comment #12)
> Created an attachment (id=269059) [details] [review]
> appDisplay: Add time to view switch animation
> 
> Add more time to the fade in/out animation when switching
> views so they don't switch abruptly.

This is with 0.3 and

(In reply to comment #13)
> Created an attachment (id=269060) [details] [review]
> appDisplay: Add time to view switch animation
> 
> Add more time to the fade in/out animation when switching
> views so they don't switch abruptly.

with 0'5.

I can't see the diference with 0.3 with current implementation (0.12). For me seems noticeable and nicer with 0.5. But Jakub prefer in principle with 0.3. We go with 0.3 then?
Comment 15 Carlos Soriano 2014-02-14 18:11:00 UTC
Created attachment 269131 [details] [review]
appDisplay: Add time to view switch animation

Add more time to the fade in/out animation when switching
views so they don't switch abruptly.
Comment 16 Carlos Soriano 2014-02-14 18:13:43 UTC
Created attachment 269132 [details] [review]
appDisplay: Add time to view switch animation

Add more time to the fade in/out animation when switching
views so they don't switch abruptly and add a delay
between view switch animations to avoid morphing.
Comment 17 drago01 2014-02-17 11:52:25 UTC
Review of attachment 269132 [details] [review]:

LG, fine to push assuming a design ack.
Comment 18 Allan Day 2014-02-17 12:08:54 UTC
(In reply to comment #16)
> Created an attachment (id=269132) [details] [review]
> appDisplay: Add time to view switch animation
...

Thanks Carlos! This works well for me with the following values:

VIEWS_SWITCH_TIME = 0.4;

VIEWS_SWITCH_ANIMATION_DELAY = 0.1;
Comment 19 Carlos Soriano 2014-02-17 12:38:13 UTC
Attachment 269132 [details] pushed as 314aa02 - appDisplay: Add time to view switch animation