Handle not rendered properly if border-width = 0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unico |
Opinion
|
Undecided
|
Unassigned | ||
gtk3-engines-unico (Ubuntu) |
Opinion
|
Undecided
|
Unassigned | ||
ubuntu-themes (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
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_
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
ProcVersionSign
Uname: Linux 3.0.0-15-generic x86_64
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Tue Jan 24 00:03:26 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gtk3-engines-unico
UpgradeStatus: No upgrade log present (probably fresh install)
no longer affects: | gnome-sushi (Ubuntu) |
Changed in unico: | |
status: | Invalid → New |
Changed in gtk3-engines-unico (Ubuntu): | |
status: | Invalid → New |
affects: | light-themes → ubuntu-themes (Ubuntu) |
I added a simple patch for selecting the max of either the existing line-width or 1.
Another approach would be register a new style property ('-unico- line-width' ?) and use that value instead of 'border-width'.