Problems at use | Problèmes à l'utilisation
Subscription date : 28 October 2009
Messages : 415
|
Hello there,
I am working on a theme at the moment, see this screenshot:
As you can see i have managed to create a drop shadow for the background. What i did is adding the drop shadow to the image file, set border distance to 9 and shift the entire dock of -6 upwards. The result is rather OK, but the distance between the dock and the window (it's on "reserve space" visibility) is as close as it can get.
True drop shadow should reflect on the desktop and should have the option to either drop or not on the window border.
Is there a work around?
I imagine this is something that needs to be programmed.
PS: let me know what you think of the theme/icons so far.
B. |
fabounet, Thursday 04 November 2010 à 11:07
|
|
Subscription date : 30 November 2007
Messages : 17118
|
the overall looks pretty, and the dropshadow is a good idea
but it's usually the WM that draws them; did you try to make Compiz draw the shadow for the dock ? |
Subscription date : 28 October 2009
Messages : 415
|
fabounet :
but it's usually the WM that draws them; did you try to make Compiz draw the shadow for the dock ?
No, and i didn't know i could till now
Let's see what can be done. |
Subscription date : 28 October 2009
Messages : 415
|
Well ok i gave it a try and this is what i got (and expected to see):
 |
matttbe, Thursday 04 November 2010 à 22:53
|
|
Subscription date : 24 January 2009
Messages : 12573
|
And why not with this rule : |
Subscription date : 28 October 2009
Messages : 415
|
matttbe : And why not with this rule  :
That does the same thing
Compiz draws the shadow around the (invisible) window in which the dock is displayed. But there is no way i imagine to tell Compiz to follow the content of Cairo's window i.e. tell it to ignore transparent areas, or is there? |
matttbe, Friday 05 November 2010 à 00:10
|
|
Subscription date : 24 January 2009
Messages : 12573
|
Oh yes, sorry. As you can see, the window of Cairo-Dock is not only the grey rectangle
You can decrease the icon zoom. But you can also use a image with a shadow for the background instead of this image  |
Subscription date : 28 October 2009
Messages : 415
|
matttbe : But you can also use a image with a shadow for the background instead of this image :)
Yes i can, see first screenshot, but then you have a gap between dock an window when on full screen.
Now that i think about it, if it is possible to tell the gnome/gtk/compiz (i don't know which) to stick a window up to the background image (in reserve space visibility), then i guess it's possible to tell Compiz to drop shadow from that same edge... i wonder |
SQP, Saturday 06 November 2010 à 10:57
|
|
Subscription date : 03 July 2010
Messages : 1081
|
not sure there are easy ways to do this. Adding the shadow to the background increase the dock size and is only valid for one position (would be crappy on left or bottom dock)
Only method I can think of is adding that shadow to another "container" that would be fixed position relative to the background image
(same could be done to the labels area, so I could move windows to that zone easier)
Also wondering how to display it for non full screen docks (got two docks on the left : one on top and one on bottom) |
fabounet, Saturday 06 November 2010 à 17:08
|
|
Subscription date : 30 November 2007
Messages : 17118
|
well the dock could draw the shadow, it's maybe the best solution, since with Compiz it will not follow the dock's shape. |
Problems at use | Problèmes à l'utilisation
|