bancika / diy-layout-creator

multi platform circuit layout and schematic drawing tool
http://diy-fever.com
GNU General Public License v3.0
911 stars 100 forks source link

V 4.35.0 really slow #765

Closed MarkR1951 closed 1 year ago

MarkR1951 commented 1 year ago

Hi,

I had used several versions of DIYLC with great success. However, the latest version runs really slow. I have uninstalled the previous version, rebooted, and installed the latest. Still, very slow to use. What happened?

bancika commented 1 year ago

Do you load any particular project or use any particular components? I need something to narrow down the issue.

On Sun, Mar 26, 2023 at 10:50 PM MarkR1951 @.***> wrote:

Hi,

I had used several versions of DIYLC with great success. However, the latest version runs really slow. I have uninstalled the previous version, rebooted, and installed the latest. Still, very slow to use. What happened?

— Reply to this email directly, view it on GitHub https://github.com/bancika/diy-layout-creator/issues/765, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXONCN7H6L4TL33R5DL5VDW6CTYPANCNFSM6AAAAAAWIMXKMI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Branislav Stojkovic www.diy-fever.com

MarkR1951 commented 1 year ago

thanks for responding quickly. The application slows down dramatically after about 12 components (any type) are placed into the project. At first I thought it was because I had brought a file from a previous version into the new one, but I just tried to start a new project in the new application and it happened again. My experience with the previous version was quite different, I could place over 50 components into a project and edit them with no lag at all.

My computer isn't especially powerful, but it ran the previous release with no difficulties at all. The new one loads up find, and lets me start placing components, but quickly bogs down.

I really like this program, and would like to use some of the new features. Any idea where I can start troubleshooting?

Thanks!

bancika commented 1 year ago

Can you please send over a file that gives you troubles? bancika at gmail.com

On Mon, Mar 27, 2023, 19:35 MarkR1951 @.***> wrote:

Closed #765 https://github.com/bancika/diy-layout-creator/issues/765 as completed.

— Reply to this email directly, view it on GitHub https://github.com/bancika/diy-layout-creator/issues/765#event-8856684957, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXONCKHURKW42F2XTT22WDW6HFX5ANCNFSM6AAAAAAWIMXKMI . You are receiving this because you commented.Message ID: @.***>

MarkR1951 commented 1 year ago

Hi,

Thanks again for your help.

I'll attach two files: diylc_test is one I just created to verify the problem this morning.

1W ps controls ts is the file I was working on yesterday when I was having difficulties. Same today.

Love the program, hope to get it working fast again!

On Mon, Mar 27, 2023 at 10:37 AM Bane Stojkovic @.***> wrote:

Can you please send over a file that gives you troubles? bancika at gmail.com

On Mon, Mar 27, 2023, 19:35 MarkR1951 @.***> wrote:

Closed #765 https://github.com/bancika/diy-layout-creator/issues/765 as completed.

— Reply to this email directly, view it on GitHub < https://github.com/bancika/diy-layout-creator/issues/765#event-8856684957 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ACXONCKHURKW42F2XTT22WDW6HFX5ANCNFSM6AAAAAAWIMXKMI

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/bancika/diy-layout-creator/issues/765#issuecomment-1485559767, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6YIAAUI3S2WWLLY5KDVGVLW6HF6PANCNFSM6AAAAAAWIMXKMI . You are receiving this because you modified the open/close state.Message ID: @.***>

bancika commented 1 year ago

It doesn't work if you send them as email attachments to github. Either need to send directly to me or upload to github page as zip

On Mon, Mar 27, 2023, 19:45 MarkR1951 @.***> wrote:

Hi,

Thanks again for your help.

I'll attach two files: diylc_test is one I just created to verify the problem this morning.

1W ps controls ts is the file I was working on yesterday when I was having difficulties. Same today.

Love the program, hope to get it working fast again!

On Mon, Mar 27, 2023 at 10:37 AM Bane Stojkovic @.***> wrote:

Can you please send over a file that gives you troubles? bancika at gmail.com

On Mon, Mar 27, 2023, 19:35 MarkR1951 @.***> wrote:

Closed #765 https://github.com/bancika/diy-layout-creator/issues/765 as completed.

— Reply to this email directly, view it on GitHub <

https://github.com/bancika/diy-layout-creator/issues/765#event-8856684957

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/ACXONCKHURKW42F2XTT22WDW6HFX5ANCNFSM6AAAAAAWIMXKMI

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/bancika/diy-layout-creator/issues/765#issuecomment-1485559767 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/A6YIAAUI3S2WWLLY5KDVGVLW6HF6PANCNFSM6AAAAAAWIMXKMI

. You are receiving this because you modified the open/close state.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/bancika/diy-layout-creator/issues/765#issuecomment-1485569564, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXONCJYX35BBF5IHWLVYKTW6HG5PANCNFSM6AAAAAAWIMXKMI . You are receiving this because you commented.Message ID: @.***>

MarkR1951 commented 1 year ago

Apologies, didn't know the protocol. Files are attached here DIYLC slow files.zip.zip

bancika commented 1 year ago

Thanks! I'll give it a try

On Mon, Mar 27, 2023, 20:29 MarkR1951 @.***> wrote:

Apologies, didn't know the protocol. Files are attached here DIYLC slow files.zip.zip https://github.com/bancika/diy-layout-creator/files/11081899/DIYLC.slow.files.zip.zip

— Reply to this email directly, view it on GitHub https://github.com/bancika/diy-layout-creator/issues/765#issuecomment-1485662287, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXONCMCQYEVQZV35RQCEHDW6HMALANCNFSM6AAAAAAWIMXKMI . You are receiving this because you commented.Message ID: @.***>

bancika commented 1 year ago

Thanks again for the info. It seems that the Inductor component is to blame. It works normally without it. Can you please try without it and confirm?

I'll look for the root cause and fix it.

On Mon, Mar 27, 2023 at 8:31 PM Branislav Stojkovic @.***> wrote:

Thanks! I'll give it a try

On Mon, Mar 27, 2023, 20:29 MarkR1951 @.***> wrote:

Apologies, didn't know the protocol. Files are attached here DIYLC slow files.zip.zip https://github.com/bancika/diy-layout-creator/files/11081899/DIYLC.slow.files.zip.zip

— Reply to this email directly, view it on GitHub https://github.com/bancika/diy-layout-creator/issues/765#issuecomment-1485662287, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXONCMCQYEVQZV35RQCEHDW6HMALANCNFSM6AAAAAAWIMXKMI . You are receiving this because you commented.Message ID: @.***>

-- Branislav Stojkovic www.diy-fever.com

MarkR1951 commented 1 year ago

I removed the inductor from the file, but that didn't seem to clear the issue. As a check, I installed the latest version of the app on a different computer. Same story, opens fine, but modifying or creating the layouts rapidly bogs down. I deleted the new app, rebooted, and installed the previous app version I had used (4.32) and everything ran quickly and smoothly.

bancika commented 1 year ago

Found another culprit - fuse symbol also causes issues. With the fixes for fuse symbol and inductor both of your files work fine on my machine

On Tue, Mar 28, 2023 at 9:27 PM MarkR1951 @.***> wrote:

I removed the inductor from the file, but that didn't seem to clear the issue. As a check, I installed the latest version of the app on a different computer. Same story, opens fine, but modifying or creating the layouts rapidly bogs down. I deleted the new app, rebooted, and installed the previous app version I had used (4.32) and everything ran quickly and smoothly.

— Reply to this email directly, view it on GitHub https://github.com/bancika/diy-layout-creator/issues/765#issuecomment-1487481637, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXONCOC4E6LFU76M3FZFATW6M3QJANCNFSM6AAAAAAWIMXKMI . You are receiving this because you commented.Message ID: @.***>

-- Branislav Stojkovic www.diy-fever.com

MarkR1951 commented 1 year ago

Success! Thanks a lot! With no fuse schematic symbol the file runs smoothly as V 4.35 on both machines! Contributing via PayPal now!

bancika commented 1 year ago

Glad to hear that! And thank you for the donation. I will release the nee version soon with the fixes.

On Wed, Mar 29, 2023, 19:40 MarkR1951 @.***> wrote:

Success! Thanks a lot! With no fuse schematic symbol the file runs smoothly as V 4.35 on both machines! Contributing via PayPal now!

— Reply to this email directly, view it on GitHub https://github.com/bancika/diy-layout-creator/issues/765#issuecomment-1489032461, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXONCOFBRIEIXC7OPOWRM3W6RXYTANCNFSM6AAAAAAWIMXKMI . You are receiving this because you commented.Message ID: @.***>

cniesen commented 9 months ago

@MarkR1951 and @bancika It would be nice to keep this issue open until it's fixed and close it with a link to the MR. That's the usual practice.

In any case the issue where the "Toroidal Inductor" component slows down the application still exists in v4.37.0. Thanks for posting the issue so I can avoid the component.