theme PoofWindow with CSS

Bug #1315198 reported by Danielle Foré
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Files
Won't Fix
Low
Unassigned
Plank
Confirmed
Wishlist
Unassigned

Bug Description

Like the spinner in gtk, we should probably be theming the poofwindow (the neato poofy cloud animation when you DnD something into the void) from CSS so that the theme/gtk controls the animation speed, amount of frames, etc. I imagine that should reduce a lot of code complexity there.

For reference, the spinner theme CSS looks like this:

@keyframes spinner {
    0% { background-image: url("assets/spinner-01.svg"); }
    14% { background-image: url("assets/spinner-02.svg"); }
    28% { background-image: url("assets/spinner-03.svg"); }
    42% { background-image: url("assets/spinner-04.svg"); }
    56% { background-image: url("assets/spinner-05.svg"); }
    70% { background-image: url("assets/spinner-06.svg"); }
    84% { background-image: url("assets/spinner-07.svg"); }
    100% { background-image: url("assets/spinner-08.svg"); }
}

.spinner {
    background-color: transparent;
    background-image: url("assets/spinner-01.svg");
    background-repeat: no-repeat;
    background-position: center;
}

.spinner:active {
    background-image: url("assets/spinner-01.svg");
    animation: spinner 600ms infinite linear;
}

description: updated
description: updated
Robert Dyer (psybers)
Changed in plank:
importance: Undecided → Wishlist
status: New → Confirmed
Changed in pantheon-files:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Aneurin Hall (aneurin-hall) wrote :

I think that now that this is getting a code review it might be a good time to speak up. For me the fact that the "poof" effect apes an outdated and inherited idiom from a certain fruity desktop is reason enough to nuke it from space. The cartoony effect looks out of place in a desktop focused on clean design and elegance. Now that pantheon's notifications have a set of modern and appealing animations the inconsistency has become even more dramatic. I believe that the notification appearance animation (reversed and tweaked) provides a template for a more appealing effect.

Revision history for this message
Danielle Foré (danrabbit) wrote :

Going to mark as "won't fix" for Files since it should use LibPlank

Changed in pantheon-files:
status: Confirmed → Won't Fix
no longer affects: egtk
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.