<if type="mouse_over"> seems to be broken.

Asked by Alex K

The default use of it (increasing the brightness) works fine, but if I try to do something like '<if type="!mouse_over">' or else try to put something besides the "bright_strenght" function there, Dockbar breaks.

I would love to be able to add/change a pixmap on mousover, but I don't see any way to make that work.

NOTE: I have not tested this with the latest 0.21.11 release. Will do so asap.

Question information

Language:
English Edit question
Status:
Solved
For:
DockbarX Edit question
Assignee:
No assignee Edit question
Solved by:
Alex K
Solved:
Last query:
Last reply:
Revision history for this message
Matias Särs (msevens) said :
#1

Yes, try with x.0.21.11. That one has separated blink (for needs attention) and mouse_over, which makes more sense if you want some fancy mouse over effect. Please report back if things work.

If you still have problems, please paste the config file here so I can have a look and run dockbarx in window (dockbarx run-in-window) and paste any error messages here as well. I have tried and succeeded adding pixmaps on mouseover earlier (my pixmaps were to ugly to use for anything more than testing though ;).

Revision history for this message
Alex K (levviathor) said :
#2

I have it working beautifully. Took some tweaking to figure the ins and outs of the theming syntax (ie, what difference correct_size makes based on where it is, as well as what difference the order of the <if type=> commands makes)

ou can see the theme I made here: http://levviathor.deviantart.com/art/Shinybar-Dockbar-theme-135875506

Revision history for this message
Matias Särs (msevens) said :
#3

That is really gorgeous! It's really nice to see a theme that does more than change pixmaps and aspect areas, too. Your config file is cleaner and easier to read than mine are. :)

If you like improvement suggestions... you try to use a different mask for mouseover and needs attention than you use on active window. The bright coner pixels looks great on the active window but the mouseover effect would be smother without them. This is all IHMO, of course.

It's seeing themes like yours appear that makes the time I spent programing the theming engine worthwhile.

One more thing... Do you have any improvement suggestions for theming HOWTO, or the theming syntax for that matter?

Revision history for this message
Matias Särs (msevens) said :
#4

Two more improvements suggestions (sorry, I can't help blurting them out... I'm still a bit exited over how beautiful your theme is).

Did you try putting the small glow as foreground instead of background (<composite bg="self" fg="zsmallglow" />)?

The mouse over effect on launcher buttons feels quite sharp since dockbarx doesn't support animations. What do you think thining out the line a bit by adding some more transparency to the inner lines pixels? And perhaps adding some more transparency to the launcherbutton.png overall to make it more subtle?

Revision history for this message
Alex K (levviathor) said :
#5

I'm definitely not done. I'm just a little sick of the theme after all the trouble it's given me.

But I will sit down and go over your suggestions with the code up. They all look like good advice.

Revision history for this message
Alex K (levviathor) said :
#6

Aha, I couldn't stay away. I'm over my Themer's Block :P

I updated Shinybar to version 1.1 version, with a bunch of updates.

I've placed smallglow and launcherbutton in the foreground, allowing me to dim them using the opacity="" function. The effect should be less jarring now.

I'll package everything together and post it on DeviantART when I can. However, I won't be able to access a computer for a few days :(

Revision history for this message
Matias Särs (msevens) said :
#7

Have you noticed that the name of your theme is newbar instead of shinybar?

Revision history for this message
Alex K (levviathor) said :
#8

Er, whoops. Fixed that, and other things in Shinybar1.1

http://levviathor.deviantart.com/art/Shinybar1-1-for-Dockbar-update-135875506