Summary: | Favicon draws over focus glow in Oxygen theme | ||
---|---|---|---|
Product: | [Plasma] Oxygen | Reporter: | David Benjamin <davidben> |
Component: | style | Assignee: | Camilla Boemann <cbo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 4.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Picture of the problem |
Description
David Benjamin
2008-01-15 04:04:24 UTC
Created attachment 23044 [details]
Picture of the problem
I know, it's only 40 pixels. :-)
The effect is more noticeable when the focus glow has a strong contrast, like
black, as displayed.
I think it will be hard to do anything about, but I do accept it as something that shouldn't be there in an ideal world. Hrm. Out of curiosity, why? Is it hard to overlay transparent images within such a widget in Qt? It seems that the current setup could also cause issues should a future theme put a gradient in the LineEdit widget. I tried to poke around the code to figure out what was going on, but my unfamiliarity with Qt, the code, etc. got in the way. (Plus the websvn interface is evil and confusing and hard to use. :-D) Uhm no it's because the icon is not transparent Basically the widget paints it's back ground and then qt paints the icon and text on top and konqueror tries to make the widget smaller by using a smaller font, leaving the icon relative bigger. the icon then erases some of the widget SVN commit 847088 by boemann: Fiddle with margins to save some pixels in lineedits,comboboxes,pushbuttons,and spinboxes Fix favicons spoiling the glow in linedits. BUG:168986 BUG:155799 M +48 -11 oxygen.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=847088 |