Activity log for bug #1103768

Date Who What changed Old value New value Message
2013-01-24 00:13:29 ainq bug added bug
2013-01-24 00:13:40 ainq bug task added gala
2013-01-24 00:17:33 ainq description Here is an image gallery detailing the issue: http://imgur.com/a/xbzB5 This is how I see it: When animating window resizes, gala stretches the size of the initial window to the size of the resized window, and then flashes in the image of the resized window. The problem with this approach: For every edge that differs in whether or not a shadow is rendered for the initial and transitioned state, the margins do not "line up", because Gala counts the window shadows as part of the size of the initial and transitioned windows. Possible solutions: 1. Hardcode the size and margins of the shadow for each resize transition (e.g. maximize, restore, snap left, snap right, etc...) 2. Crop the window image so that only the window, and not the shadows is animated, and render the shadows as the image is transformed, so the margins always line up between the last frame of the animation and the final state. 3. This isn't really a fix, but it would reduce the eyestrain involved in resizing windows: fade the transition from displaying the initial window state to the final window state. IMHO, the best solution (that doesn't involve live resizing) would be a combination of 2 and 3, as that would fix the margins not aligning during the animation, and the eyestrain that results from the flashing. Here is an image gallery detailing the issue: http://imgur.com/a/xbzB5 To reproduce: Click the button in the top right corner of any window, and/or drag the window to the left or right screen edge, and let go. This is how I see it: When animating window resizes, gala stretches the size of the initial window to the size of the resized window, and then flashes in the image of the resized window. The problem with this approach: For every edge that differs in whether or not a shadow is rendered for the initial and transitioned state, the margins do not "line up", because Gala counts the window shadows as part of the size of the initial and transitioned windows. Possible solutions: 1. Hardcode the size and margins of the shadow for each resize transition (e.g. maximize, restore, snap left, snap right, etc...) 2. Crop the window image so that only the window, and not the shadows is animated, and render the shadows as the image is transformed, so the margins always line up between the last frame of the animation and the final state. 3. This isn't really a fix, but it would reduce the eyestrain involved in resizing windows: fade the transition from displaying the initial window state to the final window state. IMHO, the best solution (that doesn't involve live resizing) would be a combination of 2 and 3, as that would fix the margins not aligning during the animation, and the eyestrain that results from the flashing.
2013-01-24 00:20:36 ainq summary Border "snapping" on window resize animation Incorrect window border alignment during animations
2013-01-27 18:19:15 Sergey "Shnatsel" Davidoff elementaryos: status New Invalid
2013-07-14 10:54:49 Tom Beckmann gala: status New In Progress
2013-07-14 10:55:09 Tom Beckmann gala: assignee Y Lin (ainq)
2015-09-18 17:05:09 Danielle Foré gala: milestone loki-beta1
2015-09-22 10:21:33 Cody Garver gala: importance Undecided Medium
2015-09-22 10:21:36 Cody Garver bug task deleted elementaryos
2015-10-22 23:00:43 Danielle Foré gala: status In Progress Confirmed
2015-10-22 23:00:45 Danielle Foré gala: assignee ainq (ainq)
2015-12-22 06:42:52 Eric Karnes bug added subscriber Eric Karnes
2016-04-02 23:33:08 Danielle Foré gala: status Confirmed Fix Committed
2016-04-02 23:33:09 Danielle Foré gala: milestone loki-beta1 loki-alpha1
2016-05-17 16:44:56 Cassidy James Blaede tags animation
2016-06-16 07:03:37 Rico Tzschichholz gala: status Fix Committed Fix Released