MekaSergal / diy-layout-creator

Automatically exported from code.google.com/p/diy-layout-creator
0 stars 0 forks source link

Saving template from right-click menu doesn't work as anticipated #243

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When an item is selected and the right-click menu is invoked, it is often 
impossible to save the item as a template (the option is greyed out and 
unavailable). This happens even when it is perfectly possible to save the 
template by going to the edit menu.  Could this be related somehow to the other 
bug I reported with rotating an item through the right-click menu?

Cheers, Paul

Original issue reported on code.google.com by pmfawc...@gmail.com on 24 Aug 2013 at 3:23

GoogleCodeExporter commented 8 years ago
There also seems to be a problem sometimes with applying a template through the 
right click menu. For instance, I created a template for traces called "2mm 
trace" through the edit menu.  Now when I (immediately afterwards) click on 
another trace and select "Apply template", nothing happens, even though the 
option is NOT greyed out, and there is even a rightwards pointing arrow 
indicating that a template exists for the part. But it won't show me the 
template itself to select. Note that this happens even while template 
application by this method is working for other parts. 

Original comment by pmfawc...@gmail.com on 24 Aug 2013 at 3:40

GoogleCodeExporter commented 8 years ago
One more thing.  When applying a template to an *existing part*, it should not 
alter the orientation or position of the ends, just the other attributes. For 
instance, if I have a template for a trace, and I apply that to existing trace, 
I obviously only want the width of the trace to change, not how it is joined to 
other things. Similarly for an e-cap, I would want it to stay connected to 
other things in the same way, but I *would* want the values, width, and length 
to change to follow the template, if, for example, I changed between a 22uF and 
a 47uF cap.

Original comment by pmfawc...@gmail.com on 24 Aug 2013 at 3:56

GoogleCodeExporter commented 8 years ago
on OSX 10.6.8 with DIYC 3.28 NO template could saved. it´s not even grey out, 
the function doesn´t make anything.

Original comment by matthias...@gmail.com on 24 Sep 2013 at 9:41

GoogleCodeExporter commented 8 years ago
from the log file:
23:43:10,461  INFO [AWT-EventQueue-0] ConfigurationManager - Saving 
configuration
23:43:11,061 DEBUG [AWT-EventQueue-0] Presenter - 
mouseClicked(java.awt.Point[x=1086,y=775], 1, false, false, false)
23:43:11,062  INFO [AWT-EventQueue-0] Presenter - setNewComponentSlot(null)
23:43:11,064  INFO [AWT-EventQueue-0] UndoHandler - Undo state changed
23:43:11,065  INFO [pool-2-thread-1] Presenter - saveProjectToFile(autoSave.diy)
23:43:13,108 DEBUG [AWT-EventQueue-0] Presenter - 
mouseClicked(java.awt.Point[x=1031,y=727], 3, false, false, false)
23:43:14,675  INFO [AWT-EventQueue-0] ActionFactory - Save as template triggered
23:43:16,069  INFO [AWT-EventQueue-0] Presenter - 
saveSelectedComponentAsTemplate(k)
23:43:17,066 DEBUG [AWT-EventQueue-0] Presenter - 
mouseClicked(java.awt.Point[x=1169,y=828], 1, false, false, false)
23:43:19,501 DEBUG [AWT-EventQueue-0] Presenter - 
mouseClicked(java.awt.Point[x=1148,y=691], 1, false, false, false)

Original comment by matthias...@gmail.com on 24 Sep 2013 at 9:46