Community
Participate
Working Groups
By clicking on the "Run in Background" button on the Jobs dialog that shows running jobs, it will cause the dialog to animate down to the bottom right of the window. On the mac, the color of the rectangle seems to be too light and you can not see it animate, You just get the odd light coloured line being drawn on the workbench. This means the user misses the intent of the animation completely
The animation has been disabled for all non-windows platforms, so the rendering problems should be gone. I have filed bug 61791 requesting new API to make the animation platform-independent.
This should not be marked as fixed unless bug 61791 is the only way to fix this. I think it is an important polish item. Is there something we can do here?
Yes... Steve suggested using transparent shells, which is still platform-specific, but should work on most of the platforms Eclipse supports.
This is an important feature to have on non-window platforms, since the effect of the run in background is lost without the animation. If the tracker provides the best platform-independant way of animating the rectangle, than bug 61791 should be marked as the polish item.
Created attachment 11518 [details] Reimplements RectangleAnimation using a Shell This patch makes the following changes: - Implements Steve's suggestion of using nonrectangular shells instead of a NO_BACKGROUND Canvas - Changes the animation duration to 400ms (from 250ms) - Adds animations when turning a detached window into a fastview, and when restoring a fastview from the fastview bar context menu. - Re-enables animations on the Mac and GTK I've only tested this on Windows so far.
Note: the animation is not as smooth using nonrectangular shells. I needed to increase the animation duration or it is hardly visible. The shell approach has the significant advantage that you can still click on the workbench while the animation is happening. There is a bit of a focus problem here. When I create the animation Shell, it grabs keyboard focus. I've worked around this by remembering the focus control before I open the Shell, and manually setting focus back to where it was... but there is probably a nicer way to do this.
Created attachment 11519 [details] Fixes IllegalArgumentException in previous patch Fixes a bug in the previous patch: in certain situations, a rectangle with negative area would be passed to Region.subtract
Fixed in head. Tested on mac. Modified patch with changes from Steve
Verified on Mac OS 10.3.3 using I200406110010. Kim, can you mark as verified? Thanks.
Verified.