[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



It seems the issue is triggered when new complex (component) object is added to current schematic.
This happens when:
  * file is loaded
  * undo is triggered and disk is used as undo storage
  * component is inserted from library

Because promoted attributes are hidden/removed after the initial bounding box calculation, the initial bounding box used for selection is invalid.
The attached patch fixes this, at least for the cases above.

** Patch added: "0001-libgeda-recalculate-bounding-box-after-adding-object.patch"
   https://bugs.launchpad.net/geda/+bug/700841/+attachment/1789686/+files/0001-libgeda-recalculate-bounding-box-after-adding-object.patch

-- 
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