Comment 2 for bug 689792

Revision history for this message
Sam Spilsbury (smspillaz) wrote : Re: [Bug 689792] Re: Window Management - Implement maximize and semi-maximise transitions

On Wed, Dec 15, 2010 at 11:32 AM, Jason Smith <email address hidden> wrote:
> Both of these animations are simply not possible right now. Getting a
> preview of a window at a different size requires resizing the window,
> which if done today would be a giant hack that would likely result in
> unpredictable bugs. Animations cannot rely on being able to render the
> window at multiple sizes.

I wasn't able to look at the videos (missing plugins), but I don't
think that these are impossible per-se. If the videos are showing
windows resizing the content, then we need an XComposite patch create
temporary large pixmaps (or at least a pixmap of a new size) and
resize the window inside of that pixmap. This massively increases
binding speed on the nvidia driver and others.

Otherwise it is possible to do in-compiz by copying the old window
texture into temp memory, and stretching the old texture, fading it
out and fading through the new texture.

>
> --
> Jason Smith | Desktop Experience Team
> GNOME Developer
> Canonical USA Inc.
> T. +1.248.756.6266 | <email address hidden>
> Ubuntu - Linux for human beings | www.ubuntu.com
>
> --
> You received this bug notification because you are a member of Canonical
> Desktop Experience Team, which is subscribed to Unity.
> https://bugs.launchpad.net/bugs/689792
>
> Title:
>  Window Management - Implement maximize and semi-maximise transitions
>
> Status in Ayatana Design:
>  Fix Released
> Status in Unity:
>  Confirmed
>
> Bug description:
>  Implement maximize and semi-maximise transitions
>
> Description:
> The window maximize and semi-maximize functionality has already been built, however the 'gesture previews' and transitions need to be perfected.  Attached are two animations that show the desired 'gesture preview'.  Note the behavior when the user backs away from the gesture preview without releasing the window.
>
> The following art assets are linked from this bug:
>
> 1.    maximise_gesture_preview.mov
>        https://chinstrap.canonical.com/~johnlea/1104unity_elements/maximise_gesture_preview.mov
>
> 2.    semimaximise_gesture_preview.mov
>        https://chinstrap.canonical.com/~johnlea/1104unity_elements/semimaximise_gesture_preview.mov
>
>
>
>
>

--
Sam Spilsbury