Is it possible to remove the shadows around spinbutton?

  • warning: Parameter 1 to theme_field() expected to be a reference, value given in /home/cimi/public_html/murrine/includes/theme.inc on line 170.
  • warning: Parameter 1 to theme_field() expected to be a reference, value given in /home/cimi/public_html/murrine/includes/theme.inc on line 170.
  • : Function ereg() is deprecated in /home/cimi/public_html/murrine/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/cimi/public_html/murrine/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/cimi/public_html/murrine/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/cimi/public_html/murrine/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/cimi/public_html/murrine/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/cimi/public_html/murrine/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/cimi/public_html/murrine/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/cimi/public_html/murrine/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/cimi/public_html/murrine/includes/file.inc on line 649.
  • : Function ereg() is deprecated in /home/cimi/public_html/murrine/includes/file.inc on line 649.
Your rating: None Average: 1 (1 vote)
It's not so obvious on other background. And I checked the changelog, which reads  "2009-01-04  Andrea Cimitan  <andrea.cimitan@gmail.com>     * src/cairo-support.c (murrine_draw_lightborder),
    (murrine_draw_glaze):
    Removed horizontal parameter to lightborder,
    this fixes spinbuttons, but could break vertical widgets,
    please test and report bugs if you see a misplacement
    of the lightborder." Does this has sth to do with the problem?   I've added more screenshots of different themes/engeins. Almost all of them have the same problem, some may not so obvious, especially when on lighter bgs.
AttachmentSize
spinbutton.png1.39 KB
aurorasmooth-systemmonitor.png1.15 KB
clearlooks-systemmonitor.png1.3 KB
murrinacandido-systemmonitor.png1.05 KB
murrinachrome-systemmonitor.png1.27 KB
murrinacream-systemmonitor.png1.24 KB
nodokasilver-systemmonitor.png1.23 KB
unity-systemmonitor.png1.29 KB

This is not a shadow, is a

This is not a shadow, is a gtk+ issue.
Maybe there could be some workarounds in the code, will take a look later.

other themes works... so I

other themes works... so I guess it's samething in your gtkrc

Again? Well, I'll look at

Again? Well, I'll look at that. Thanks for your reply.

Hello, i've taken several

Hello, i've taken several screenshots of different themes/engines. Almost all of them have the same problem, some may not so obvious, especially when on lighter bgs. But still, <b>aurora</b> does a better job here. In fact, the shadow thing can be changed by setting bg[NORMAL] of theme-entry or theme-button. I don't know if it's really a gtk2 problem or just my poor gtkrc...

Murrine and clearlooks are

Murrine and clearlooks are using an advanced version of the spinbutton widget, which permits firefox 3.1 to draw correct gtkentry and widgets (without the trough). Aurora doesn't. Maybe something is wrong in your gtkrc.

Alright, could you please

Alright, could you please attach any problem-free gtkrc here as you said above, I'd really like to know what's wrong with mine. thanks!

Now I can confirm it's a

Now I can confirm it's a bug. One workaround is to set bg color of notebook to the same as normal bg color, which the official Human theme does. And I got this comment as well:  style "murrine-spinbutton"
{
        #bg[NORMAL]      = shade (0.95, @bg_color) # we need to fix rectangular border bug on spinbutton
        bg[INSENSITIVE] = shade (0.99, @bg_color)         engine "murrine"
        {
                gradient_shades = {1.02,1.00,0.99,0.95}
        }
}

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • Allowed HTML tags: <a> <b> <strong> <i> <em> <u> <br />

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions. Registered users are trusted and don't require this verification.
2 + 8 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.