gschem: undo locked items

Bug #1027403 reported by Sergey Alyoshin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gEDA
Confirmed
Medium
Unassigned

Bug Description

1. Add some items in gschem: components, lines, circles..
2. Lock all this items
3. Delete all this locked items
4. Undo; locked items color will be gray (lock-color), but they are no longer
locked (can be selected by click). Only components remain locked, but not they
attributes.

Tested in gschem
A. Version: 1.6.1.20100214
B. Git: 7c7ad003a34b750a8408b1a6ac2b0bc7dcdb4166

Tags: gschem
Revision history for this message
Sergey Alyoshin (alyoshin-s) wrote :

Similar problem if you copy&paste locked items. Pasted locked items color
will be gray, but they are no locked.

Peter TB Brett (peter-b)
Changed in geda:
importance: Undecided → Medium
Revision history for this message
Vladimir Zhbanov (vzhbanov) wrote :

This is the bug of the current sym/sch file format and the way
undo works.

The file format supports locking only for components, so when you
save and reopen your schematic the locking information of other
items will be lost anyway, even if gschem would keep it somehow
after undo.

As of now, gschem undoes things just by rereading auto-saved
schematic files. Therefore the bug will keep until the whole undo
system is refactored. And again, this wouldn't solve the above
mentioned issue with closing and opening of the schematic.

Changed in geda:
status: New → Confirmed
Revision history for this message
Vladimir Zhbanov (vzhbanov) wrote :

See also related bug #698790.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.