1 (edited by Max 2021-02-06 19:15:45)

Topic: Problem with new element crash qet

Hello folks,

i have a problem with this new element that i build.
When i want to save the diagram it crash qelectrotech.

Can test this file anyone else, if it crash also.


QElectroTech V 0.80-rc+47ea5a3dac957a06d79751d3
Compilation : GCC 8.3.0
Built with Qt 5.11.3 - Date : Feb 2 2021 : 13:06:52 
Run with Qt 5.11.3 using 16 thread(s)
CPU : model name : AMD Ryzen 7 3700X 8-Core Processor 
RAM Total : 64296 MB
RAM Available : 59714 MB
GPU : Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290/390] (rev 80) 
GPU RAM : @ToDo
OS : linux - x86_64 - Version : Debian GNU/Linux 10 (buster) - Kernel : 5.10.0-2-amd64

Thanks

PS other new created elements does not crash

Post's attachments

Attachment icon phoenix_st_4-hesi.elmt 2.16 kb, 33 downloads since 2021-02-06 

Re: Problem with new element crash qet

mhhh!
normal that it crash ..

https://download.tuxfamily.org/qet/forum_img_2/terminal.png

Re: Problem with new element crash qet

@scorpio810
should we prevent this in the code?
when loading, or when making?

Re: Problem with new element crash qet

@Max:
reverse the orientation of the horizontal terminals it should no longer crash .

@Simon:
I don't know, prohibiting everything prevents some useful hacks.
I prefer a brain behind the screen ...

Re: Problem with new element crash qet

They also crash when we undo the drop of element.
@De-Backer : yes we need to prevent this at creation of element.

But in any case I need also to fix this crash.
I come back when I fix it.

Re: Problem with new element crash qet

Bad
https://download.tuxfamily.org/qet/forum_img_2/terminal.png

good
https://download.tuxfamily.org/qet/forum_img_2/ternimal_good.png

Re: Problem with new element crash qet

De-Backer wrote:

@scorpio810
should we prevent this in the code?
when loading, or when making?


https://git.tuxfamily.org/qet/qet.git/c … 9b14209edd

8 (edited by Max 2021-02-07 14:49:24)

Re: Problem with new element crash qet

thanks for help.

That was my fault and i have to more carefully on create next elements.

This works also and have no gaps
https://i.ibb.co/7Spb9rv/20210207-element-works.png

Re: Problem with new element crash qet

I create a ticket

https://qelectrotech.org/bugtracker/view.php?id=228

10 (edited by De-Backer 2021-02-07 19:58:00)

Re: Problem with new element crash qet

scorpio810 wrote:

I prefer a brain behind the screen ...

human?
I understand that but QET should not crash. a warning can help.

i will have QElectroTech Element Updater tested on it.
https://github.com/De-Backer/QElectroTe … r/issues/1

Re: Problem with new element crash qet

Oups I forgot come back nomicons/unsure
fixed here https://git.tuxfamily.org/qet/qet.git/c … 9b14209edd