[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-bug: [Bug 700841] Re: gschem: during selection invisible attributes extend component bounding box
I have attached a test case - to reproduce open the schematic and try to click about 200-300 mils to the left of the body symbol. You will see the component is selected.
Same happens if the symbol is inserted from library with autoplace attributes enabled - otherwise promoted and hidden attributes will overlap.
I agree, the patch might be a bit heavy-handed. It seems that the way to
go is to call o_bounds_invalidate on the parent object (and do this
recursively for sake of completeness) in the setter of visibility field.
However this does not cover all cases - the o_bounds_invalidate() calls
are also needed in o_complex_promote_attribs() and
o_complex_remove_promotable_attribs().
** Attachment added: "bug-lp-700841.tgz"
https://bugs.launchpad.net/geda/+bug/700841/+attachment/1790586/+files/bug-lp-700841.tgz
** Changed in: geda
Status: Incomplete => New
--
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/700841
Title:
gschem: during selection invisible attributes extend component bounding box
Status in GPL Electronic Design Automation tools:
New
Bug description:
Intermittently gschem gets into a state when promotable (visible) attributes within a component extend component's bounding box used for selection calculations.
In such cases component might not be selected even if selection rectangle encloses component's graphics and pins.
It is also possible to select the component by clicking on an empy space far away from it - because in the symbol file a visible attribute is located at that offset.
It is expected that components can be always selected by drawing a selection rectangle that encloses all graphical elements and pins.
When the bug occurs, toggling "show/hide invisible text" restores correct behavior.
_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug