gma500 team mailing list archive
Mailing list archive
[Bug 920832] Re: Handle not rendered properly if border-width = 0
I don't understand what you meant by "you can simply can add a special
style class if needed."
I have attached a standalone testcase which demonstrates the bug. The
testcase is a toplevel window which contains a single widget -- a
subclassed EventBox that renders a handle centered within the window.
Please note that the only drawing in this testcase -- including the
background -- is done by GtkRenderHandle *which is rendered by the unico
The testcase styles the widget with a css fragment defined in main() as
Feel free to "add a special style class" to the faux_theme definition so
that the testcase output matches the reference image which I will also
** Attachment added: "main.c"
You received this bug notification because you are a member of GMA500
Team, which is subscribed to Unico.
Handle not rendered properly if border-width = 0
Status in Light Themes:
Status in The Unico Gtk+ Theming Engine:
Status in “gtk3-engines-unico” package in Ubuntu:
When rendering handles (unico-draw.c: unico-draw-handle), if the
current style context has border-width = 0, the handle is not rendered
properly. This happens because the line-width is style-matched to
"border-width" in unico_get_line_width(), which in turn, means that
some of the lines are not stroked and the geometry calculations are
When rendering handles, often the border-width will be set to 0 so
that the entire background will be wiped to the correct pattern
(without leaving a border artifact - this happens on oneiric with
gnome-panel and the Radiance theme). The same problem exists when
rendering separators as well.
DistroRelease: Ubuntu 11.10
Package: gtk3-engines-unico 1.0.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-15.25-generic 3.0.13
Uname: Linux 3.0.0-15-generic x86_64
Date: Tue Jan 24 00:03:26 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
PATH=(custom, no user)
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to: