Bug 696823 - Animation stutter/jank with modal dialog
Summary: Animation stutter/jank with modal dialog
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mutter
Version: 15
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-14 22:42 UTC by Sitsofe Wheeler
Modified: 2012-04-05 17:17 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-05 17:17:33 UTC
Type: ---


Attachments (Terms of Use)
Screenshot of the modal dialog mid animation (49.82 KB, image/png)
2011-08-19 07:59 UTC, Sitsofe Wheeler
no flags Details
Screenshot of the modal dialog after animation finishes (40.28 KB, image/png)
2011-08-19 08:00 UTC, Sitsofe Wheeler
no flags Details

Description Sitsofe Wheeler 2011-04-14 22:42:43 UTC
Description of problem:
Sometimes when showing a modal dialog it will suddenly shift to the left after the animation finishes creating GUI jank/stuttering.

Version-Release number of selected component (if applicable):
mutter-3.0.0-1.fc16

How reproducible:
Reproducible every time with gnome-control-center.

Steps to Reproduce:
1. Run
gnome-control-center user-accounts
2. Click on the Disabled button to the right of "Fingerprint Login".

or if you have Google Chrome installed:
1. Run
google-chrome
2. Click on the spanner at the top right and go to About Google Chrome. 
  
Actual results:
Dialog smoothly folds down the suddenly jumps to the left after the animation has finished.

Expected results:
Dialog to fold down in the correct position so it does not need to be fixed when the animation has finished.

Additional info:
With Chrome the jarring jump at the end doesn't always happen.

Comment 1 Sitsofe Wheeler 2011-05-30 20:09:49 UTC
In Fedora 15 / Chrome 12.0.718.0 the problem is no longer visible. The fingerprint dialog still shows the problem in Fedora 15 final though.

Comment 2 Peter Robinson 2011-06-11 13:55:00 UTC
what graphics card do you have?

Comment 3 Sitsofe Wheeler 2011-06-11 15:10:40 UTC
I have an i945. The problem is so much the number of frames per second though - it's the fact that the horizontal alignment is only fixed right at the end.

Comment 4 Peter Robinson 2011-08-18 22:38:55 UTC
I thin this should be fixed now with the new mesa/kernel. Please confirm

Comment 5 Sitsofe Wheeler 2011-08-19 07:57:01 UTC
Peter:
I'm afraid this is not fixed with a new kernel/mesa:

kernel-2.6.40-4.fc15.x86_64
mesa-libGL-7.11-1.fc15.x86_64

The problem is not so much missing frames (which might suggest driver issues) in so much as the initial horizontal alignment that the window starts at is wrong.

Imagine the x is the dialog it slides down

    x
    |
    |
    v 

Then right at the end it jumps to the left:

    |
    |
    |
 <--x

so this is the path it took:

    |
    |
    |
x<--+

The problem appears to be the starting horizontal alignment is wrong. The modal dialog's right edge is touching its parent windows right edge and when the downward slide is finished it realises that it should have been horizontally centred.

Comment 6 Sitsofe Wheeler 2011-08-19 07:59:58 UTC
Created attachment 518982 [details]
Screenshot of the modal dialog mid animation

Comment 7 Sitsofe Wheeler 2011-08-19 08:00:31 UTC
Created attachment 518983 [details]
Screenshot of the modal dialog after animation finishes

Comment 8 Sitsofe Wheeler 2012-04-05 17:17:33 UTC
I can't reproduce this problem in Fedora 17 beta RC3 - closing as fixed current
release.


Note You need to log in before you can comment on or make changes to this bug.