← Back to team overview

gma500 team mailing list archive

[Bug 920832] Re: Handle not rendered properly if border-width = 0


It's a light-themes bug because you need to add a special case for sushi and add the lines to not draw outer stroke and inner stroke.
There are cases where border-width is 0 but you still want a shadow or an inner stroke, example is the combobox with an entry. So it's done in this way in unico but just needs tweaks on the theme side.

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 The Unico Gtk+ Theming Engine:
Status in “gtk3-engines-unico” package in Ubuntu:

Bug description:
  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.

  ProblemType: Bug
  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
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Tue Jan 24 00:03:26 2012
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
   PATH=(custom, no user)
  SourcePackage: gtk3-engines-unico
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to: