Grey flashing on window open and close

Bug #1016346 reported by ainq
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Gala
Invalid
Medium
Unassigned

Bug Description

Gala currently animates before window render, resulting in a grey window animating in, and then flashing in the contents. This is very apparent in Switchboard animations.
Also, Gala does not keep a window state cache, so closing a window or returning to the homepage on Switchboard both flash in a grey screen before fading.
To duplicate, open a window, close the window, open slingshot, click any plug, click the home button, note that at least 1 panel has a grey screen flashed in.
I've looked through the compiz fusion code, and compiz does cache the window state, so closing windows doesn't flash a grey screen.

EDIT: Changing animation speed does not constitute a fix. Switchboard does not use the slide anymore, so no need for that fix. The slow exit animation, however, makes this very jarring.

Technically, it wouldn't be difficult at all to cache the window state, especially if the window isn't rendering anymore.

Also, the opening grey flash is very noticeable for slow-opening apps (think office suites), so animating the window after the first frame or so would really help.

ainq (ainq)
summary: - Animate after window render, keep window state cached
+ Gala does not animate after window render, keep window state cached
description: updated
Revision history for this message
Tom Beckmann (tombeckmann) wrote : Re: Gala does not animate after window render, keep window state cached

Thanks to the new animations you won't really notice this anymore.

Changed in gala:
status: New → Fix Released
Revision history for this message
ainq (ainq) wrote :

@tombeckmann:
It's hardly noticeable in the open/restore animation, but very noticeable in the exit animation. It's VERY jarring for full screen apps, and even Windows caches the window close state.
Marking for inclusion in other projects.

Changed in gala:
status: Fix Released → In Progress
description: updated
summary: - Gala does not animate after window render, keep window state cached
+ Grey flashing on window close
description: updated
description: updated
summary: - Grey flashing on window close
+ Grey flashing on window open and close
description: updated
no longer affects: elementaryos
Changed in pantheon:
status: New → Invalid
Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

I agree that simply changing animation times does not constitute a fix. It sounds like properly caching the contents is the right course of action for closing, and waiting to animate until the first frame is proper for opening.

Changed in gala:
milestone: none → 0.3-beta1
importance: Undecided → Medium
status: In Progress → Confirmed
no longer affects: pantheon
Revision history for this message
Avi Romanoff (aroman) wrote :

is anyone still having this issue? I have some graphical bugs with gala, but gray boxes when opening/closing windows is not one of them.

Cody Garver (codygarver)
Changed in gala:
status: Confirmed → Incomplete
Revision history for this message
Tom Beckmann (tombeckmann) wrote :

We have two options here: either changing the animations in a way that it's less noticeable or fixing it in mutter. Caching the window contents on gala's side may be possible, but I don't consider this a good option.
Assigning to the designer team because of the animations, if that's not an option either, we'll have to report it for libmutter, if it's not already reported.

Changed in gala:
assignee: nobody → elementary UX Team (elementary-design)
Revision history for this message
Danielle Foré (danrabbit) wrote :

I don't notice any flashing tbh. But I agree that if it needs to be cached that should probably happen in Mutter.

Changed in gala:
status: Incomplete → Invalid
assignee: elementary UX Team (elementary-design) → nobody
milestone: isis-beta1 → none
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.