Community
Participate
Working Groups
We should enhance our look and feels with slight shadow effects around popups like dialogs, combo-popups, menus etc. Those shadow effects should be CSS-themeable.
Created attachment 189536 [details] client implementation The client-implementation for shadows based on GraphicsMixin. I discovered some problems with IE9 and Safari relatively late, therefore this patch has some issues. The support is as follows: - IE7,IE8 with no noticeable performance loss. - Firefox 3.0+. Dragging a shell with a shadow is somewhat slower, otherwise ok. - Chrome 5.0+ (Webkit 532.9) with no issues - Opera 11 with no issues Shadows are disable for older Versions of these browser. IE9 RC: Overall performance gets worse if hardware acceleration is disabled/not supported (which is the case on my brand new laptop), therefore shadows are currently disabled. Hopefully this will be redolved in the final IE9 release. Also see http://support.microsoft.com/kb/2398082/en-us Safari: Even though Safari 5.0.3 uses webkit 533.19.4, the blur-effect doesn't work. Therefore i have also disabled shadows here. Ignoring IE9, the Issue with Safari could be handled in 3 ways: - Commit the patch now, enable shadows for Safari after fixing Bug 332509. - Commit the patch now without a blur-effect for shadows in safari. - Fix Bug 332509 first, then enable shadows. The only reason i'm a bit uneasy with commiting the patch later is that adapting it to a later cvs-version might be a lot work. (Or none if we don't touch any of the affected files in the meantime.)
Created attachment 189673 [details] server-side implementation This patch includes some changes to QxColor too to support "alpha" property.
Created attachment 189674 [details] server-side implementation Small update to QxColor#hashCode.
Created attachment 192013 [details] Updated Patch Updated patch with the following changes: - Combining server / client implementation into one patch - Fixed a bug that crashed the application - Enabled IE9 and Safari. - Minor changes/formatting After updating my laptops display driver, which was a real odyssey (i blame Toshiba), the GPU acceleration for IE9 could be enabled and performance was fine. It seems to be an issue specific to my GPU, specifically it affects Intel HD Graphics driver "Igdkmd32.sys"/"Igdkmd64.sys" versions 8.15.10.2104 to 8.15.10.2141. I therfore think most IE9-installations will run fine with GPU acceleration. Also, with the final release of IE9, the blur effect is now gone if GPU support is not available, so performance is still ok then. I therefore enabled IE9 again. As for Safari, since IE9 will not always render the blur-effect, i thought it fitting to allow safari to render the shadows without blur aswell. As soon as we support CSS3 this issue will be gone.
Commited to CVS HEAD. For now only Shell can have a shadow. Sadly the blur effect is somewhat inconsistent: Safari has none, in IE9 it seems to be too weak, but only sometimes. As already said, using CSS3 could fix this.