Apache OpenOffice (AOO) Bugzilla – Issue 17557
Performance issue with large number of connectors
Last modified: 2017-05-20 11:29:48 UTC
I'm getting a severe performance degradation when using a large number of connectors in a drawing. The drawing I'm creating is a basic floorplan of our offices. I'm using connectors to straight connectors for all the lines because that way the ends come together nicely. This works well, but when I select the entire plan (32 connectors in all) and try to move it a few inches the application seems to hang. Sometimes it then finally (after about 5 minutes moves the drawing and I can go on working as per usual, but most of the time it just hangs completely and I have to force it to terminate via the Windows Task manager. The file (9KB) also takes very long to open (30 seconds plus). The 32 connectors are all straight line connectors. 5 of them are thick (0.04") and the rest have default width. All of the lines run either horizontally or vertically, with the exception of about seven that are angled at 45 degrees. My machine spec follows: (I'm including graphics stuff since it seems to be a rendering problem of some sort) - Pentium 4, 2.4 GHz, 256MB RAM - Windows XP - SiS 650_651_M650_740 display adapter on an SiS accellerated graphics port with 32 MB RAM - I'm using 1024x768 resolution (32bit) with 60Hz refresh rate. It seems as though this problem becomes worse the more end-to-end connections there are in the drawing between connectors. I my drawing there are about 25 such connections and about 32 connectors and this definitely seems to be too much. If I disconnect the connectors (i.e. a drawing with 32 loose-standing connectors) then there is no problem. If you want a copy of the particular drawing I've had this problem with please e-mail me on antonbijl@hotmail.com
Created attachment 8110 [details] The drawing
Changed to defect.
Hello, please attach the file a second time but not as "HTML source (text/html)" but as "Binary file (application/octet-stream)". This should make it downloadable. Thanks in advance.
Created attachment 8253 [details] new bugdoc, should be loadable
Thanks for mailing the file again, I have attached it to the issue. Indeed, opening the file and moving the connectors takes too much time. We have to investigate this.
Reassigned to Armin. Please have a look whats wrong here. Thanks!
AW: Yes, this needs (and will get) some rework. The connectors do broadcast their changes to make them known. If connectors are connected to connectors, this broadcasting rapidly expands and multiplies over the whole connectors.
AW: Accepting issue for 2.0
AW->THB: I have opened a sub-task for reducing the handle ressources, please look fir this one as discussed.
As discussed.
AW: Oh, sorry, THB, this was a mistake. This issue belongs to me :-)
.
Because of limited resource for OOo2.0, it was decided to shift this tasks to the next milestone. If somebody will be found, who can implement this until OOo2.0, then this tasks will be re-targeted.
Reset assigne to the default "issues@openoffice.apache.org".