gtk: Thin drawn polygons hide "clearline" lines, arcs, text

Bug #1072500 reported by Robert Fitzsimons on 2012-10-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA project

Bug Description

With the gtk hid. In the latest git revision, it's also been present for a while.

When the "clearline" attribute is set on a line/arc/text, if it then intersects with a polygon on the same layer, the intersecting part isn't visible in "Thin draw/Thin draw poly" modes.

To reproduce:
- Open pcb.
- Draw a rectangle/polygon.
- Deselect "New lines, arcs clear polygons", in the settings menu.
- Draw a new line which starts outside and then enters and ends in the polygon.
- Select "Thin draw ploy", in the settings menu.

The part of the line that enters the polygon has been clipped, is invisible. Though with a bit of care you can find end point with the mouse cursor.

Robert Fitzsimons (robfitz273k) wrote :
Robert Fitzsimons (robfitz273k) wrote :

For transparent objects to work in OpenGL the opaque objects need to rendered first.

Note: This might have an effect on the lesstif hid?

Robert Fitzsimons (robfitz273k) wrote :

A similar problem also exists with overlapping polygons in the same layer.

Robert Fitzsimons (robfitz273k) wrote :

This patch replaces the previous version. It splits the rendering of polygons into two parts for thin drawn mode, first the polygons contour and then later the transperent filling.

Tested with gtk and lesstif hids.

Traumflug (mah-jump-ing) on 2015-09-27
Changed in geda-project:
importance: Undecided → High
tags: added: gtk-gui
tags: added: polygons
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers