Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Problems at use | Problèmes à l'utilisation Drop shadow background
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Problems at use | Problèmes à l'utilisation

Subjects Author Language Messages Last message
Drop shadow background
jesuisbenjamin English 14 Guest [Read]
05 June 2018 à 11:00

jesuisbenjamin, Thursday 04 November 2010 à 10:30 | Quote


Subscription date : 28 October 2009
Messages : 415
Hello there,

I am working on a theme at the moment, see this screenshot:

http://lh6.ggpht.com/_7mkhSDYn8TQ/TNJ7kq4F1DI/AAAAAAAAB-s/vNOEqnGFxf4/s912/Screenshot-1.png

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 | Quote


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 ?

jesuisbenjamin, Thursday 04 November 2010 à 11:11 | Quote


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.

jesuisbenjamin, Thursday 04 November 2010 à 16:34 | Quote


Subscription date : 28 October 2009
Messages : 415
Well ok i gave it a try and this is what i got (and expected to see):

http://lh6.ggpht.com/_7mkhSDYn8TQ/TNLSUfWqTXI/AAAAAAAAB-w/RhDzBVaApw0/s912/Screenshot-2.png

matttbe, Thursday 04 November 2010 à 22:53 | Quote


Subscription date : 24 January 2009
Messages : 12573
And why not with this rule :
type=Dock

jesuisbenjamin, Thursday 04 November 2010 à 23:01 | Quote


Subscription date : 28 October 2009
Messages : 415
matttbe :
And why not with this rule :
type=Dock


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 | Quote


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

jesuisbenjamin, Friday 05 November 2010 à 00:17 | Quote


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 | Quote


Subscription date : 03 July 2010
Messages : 1090
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 | Quote


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.

Guest, Tuesday 13 March 2018 à 09:19 | Quote

This was a really great contest and hopefully I can attend the next one. It was alot of fun and I really enjoyed myself..
Tampa Title Loans

Guest, Saturday 24 March 2018 à 12:26 | Quote

I found that site very usefull and this survey is very cirious, I ' ve never seen a blog that demand a survey for this actions, very curious...
Rivercove Residences

Kevin jhone, Friday 30 March 2018 à 03:00 | Quote


Subscription date : 30 March 2018
Messages : 79
Opening Day is nearly here for the Angels.
    baltimore orioles jersers The Angels will cap their exhibition schedule with two more Freeway Series games against the Dodgers at Dodger Stadium before heading to Oakland for their regular-season opener against the A's at 1:05 p.m. PT on Thursday.
    cincinnati reds jersers Here's what you need to know about the Angels before they officially kick off their 2018 campaign.
    detroit tigers jersers Projected Opening Day lineup
Ian Kinsler, 2B
Mike Trout, CFwholesale baseball jersers
Justin Upton, LF
Albert Pujols, 1B
    atlanta braves jersers Kole Calhoun, RF
Zack Cozart, 3B
    los angeles dodgers jersers Andrelton Simmons, SS
Shohei Ohtani, DH
    baltimore orioles jersers Martin Maldonado, C
Garrett Richards, RHP

Key roles
    miami marlins jersers • Kinsler is expected to be the Angels' primary leadoff man and serve as the spark plug for the club's revamped lineup. The veteran second baseman will add some pop to the top of the order and also possesses the ability to draw walks, deliver a strong contact rate and steal bases. That skill set has allowed Kinsler to be productive in the leadoff spot for much of his career, yielding a .271 batting average with an .800 OPS over 1,056 games.
Kinsler's solo home run
Kinsler's solo home run
00:39
Mar. 12th, 2018
    minnesota twins jersers • The Angels are unlikely to name a designated closer at the outset of the season, though Blake Parker, Cam Bedrosian and Jim Johnson all have varying levels of experience pitching the ninth inning. The Angels are more likely to keep their bullpen roles fluid and deploy their relievers based on matchups and leverage.
     st. louis cardinals jersers • Luis Valbuena and Pujols are projected to split time at first base, with Pujols playing the field a few times a week to free up at-bats for Ohtani at the designated hitter spot. The Angels tended to sit the left-handed-hitting Valbuena against lefties last season, so Pujols or Jefry Marte could get the majority of starts at first against left-handed starters.
Injury updates
    oakland athletics jersers • Andrew Heaney (left elbow inflammation) is expected to open the season on the disabled list, though the Angels are not overly concerned about the setback. Heaney, who underwent Tommy John surgery in July 2016, has been cleared to resume throwing, but he will still need to return to the mound and rebuild his stamina before he'll be ready to pitch for the Angels.
    boston red sox jersers Though the club still plans to use a six-man rotation in 2018, it will open the season with five starters, as it can use an early off-day to delay using a sixth starter until April 12. If Heaney isn't ready by then, the Angels could call up Parker Bridwell or Nick Tropeano from Triple-A Salt Lake.
    
    

Guest, Sunday 08 April 2018 à 13:58 | Quote

The website is looking bit flashy and it catches the visitors eyes. Design is pretty simple and a good user friendly interface.
gnc testogen

Guest, Tuesday 05 June 2018 à 11:00 | Quote

Excellent information on your blog, thank you for taking the time to share with us. Amazing insight you have on this, it's nice to find a website that details so much information about different artists.
abogados de accidentes

Problems at use | Problèmes à l'utilisation

Subjects Author Language Messages Last message
Drop shadow background
jesuisbenjamin English 14 Guest [Read]
05 June 2018 à 11:00

Post a message

Anti-spam filter 8 (*) times (*) 6 =
            
Did you know ? You can easily create a link to a user profile by using the tag : [[u:NAME]]


Glx-Dock / Cairo-Dock List of forums Problems at use | Problèmes à l'utilisation Drop shadow background Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.