fritzing / fritzing-app

Fritzing desktop application
http://fritzing.org
Other
4.04k stars 835 forks source link

unable to remove imported parts from contrib bin #2419

Open davidperrenoud opened 10 years ago

davidperrenoud commented 10 years ago

From irasc...@gmail.com on February 05, 2013 04:19:26

What steps will reproduce the problem? 1. 2. 3. Attach your sketch file and/or custom part files to the bug report. If the sketch uses custom parts, save the sketch as shareable (under the file menu). What is the expected output? What do you see instead? What version of Fritzing are you using? On what operating system? Please use labels and text to provide additional information.

Original issue: http://code.google.com/p/fritzing/issues/detail?id=2420

davidperrenoud commented 10 years ago

From irasc...@gmail.com on February 06, 2013 03:37:52

The real difficulty here is that the contrib bin is now the only generated bin, so that when a part is remove from the bin, but not the actual local parts folder, any removed parts are simply restored when Fritzing is restarted.

The contrib bin is also no longer displaying the parts in Fritzing's contrib folder, since these are now moved to the pdb folder.

The contrib bin has two kinds of parts: a permanent set shipping with Fritzing, and a possibly temporary set of imported parts. Maybe these should be split into two bins. If they stay in one bin, the Remove Part option should be disabled for the parts which ship with Fritzing, and at startup, we should make sure the with-Fritzing parts are included in the contrib bin.

davidperrenoud commented 10 years ago

From irasc...@gmail.com on February 20, 2013 07:44:50

  1. Make the contrib bin static: it is shipped with Fritzing and you cannot delete parts
  2. newly imported parts go to the mine bin and the user folder
  3. parts with imported bins still go to local contrib. These bins seem to be modifiable already
  4. when you remove a part from a bin, attach a remove request to the bin. when the bin is saved, really remove the fzp.
  5. at start up, if anything is in the local contrib bin that is not claimed by some other bin, move it to the user bin and add it to Mine
davidperrenoud commented 10 years ago

From irasc...@gmail.com on February 21, 2013 07:07:44

  1. kill local contrib bin
davidperrenoud commented 10 years ago

From irasc...@gmail.com on February 22, 2013 03:16:19

r6894 : points 1, 2, 4, 5, 6 from comments 2 and 3 implemented

Status: PartlyDone