Re: Help: How can you programmatically delete a line and update a table connected to it?



Bugzilla is (I think) an open source program for tracking bug reporting and resolution, but (again I just think) it is more generally useful for similar tasks.

Hopefully, one of the developers will steer you to that system.  (I believe there is information at the Dia web interface) 

You are being very helpful, but if you integrate with the regular development system you can see what enhancements are in the system (not just bugs), see their progress, participate in the discussion about them, etc.




On Tue, Oct 1, 2013 at 12:48 PM, Bao Niu <niubao56 gmail com> wrote:

Thank you very much, I will check bugzulla out, I didn't even know about it. I thought it is only for Mozilla, but I will definitively do some research on it. Thank you for pointing out a good direction.

Bao

On Oct 1, 2013 7:41 AM, "Michael Ross" <michael e ross gmail com> wrote:
Hello Bao Niu,

It is this way sometimes with open source.  It happens most often when there is a clear workaround.  

I don't understand your problem, in part because I am not involved with the programmatic use of Dia ever.  You may want to make a formal case in an attempt to persuade a developer to undertake this.  FIrst step is to enter it in in the Bugzilla system I think.  Then it get tracked and seen, whereas a message here is soon just an old message.

I think that there is a common method for analyzing whether to make changes.  If you work this out up front, you save the developer from working out the details completely.

Can you think of any reason why the "problem" may be an advantage in other situations?  
What are the advantages?  Do they extend to other uses?  (Shapes other than Database Table?)
WIll there be a significant benefit for others beside yourself?  Can you elaborate on this?  If it is not already in Bugzilla, then you may be the first to have found the need.
Provide a Dia that shows the issue, in order to save developer time and possibly error reproducing it.

Sorry I cannot help you myself,

m



On Tue, Oct 1, 2013 at 1:40 AM, Bao Niu <niubao56 gmail com> wrote:
This problem doesn't seem to get any attention:( 
It's real and I can't figure out what cause it could be, could someone please help take a look at it? Thanks.


On Fri, Sep 27, 2013 at 4:23 AM, Bao Niu <niubao56 gmail com> wrote:
Problem: I have a "Database -- Table" on screen, and then added a "Standard - BezierLine" connecting to one of the table's connection point. Now I want to delete that line and make the table's connection point pt.connected fresh.
I use python's API to disconnect this two objects programmatically. When using layer.remove(BezierLine), and then update_connections(table), the connection is still there. If you type connection_pt.connected, you can see that "Standard - BezierLine" object is still in the returned tuple. This is very weird.

The only way I can disconnect the two seems to be manually delete the BezierLine from the screen. There is no way to do this programmatically.

Could anybody give some advice? Many thanks.


_______________________________________________
dia-list mailing list
dia-list gnome org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia





--
Put this question to yourself: should I use everyone else to attain happiness, or should I help others gain happiness?  
Dalai Lama 

To invent, you need a good imagination and a pile of junk.

A public-opinion poll is no substitute for thought.
Warren Buffet

Michael E. Ross
(919) 576-0824 Google Phone




_______________________________________________
dia-list mailing list
dia-list gnome org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



_______________________________________________
dia-list mailing list
dia-list gnome org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia





--
Put this question to yourself: should I use everyone else to attain happiness, or should I help others gain happiness?  
Dalai Lama 

To invent, you need a good imagination and a pile of junk.
Thomas A. Edison

A public-opinion poll is no substitute for thought.
Warren Buffet

Michael E. Ross
(919) 550-2430 Land
(919) 576-0824 Google Phone
(919) 631-1451 Cell
(919) 513-0418 Desk

michael e ross gmail com





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]