View Issue Details

IDProjectCategoryView StatusLast Update
0000249QElectroTechDiagram Editorpublic2021-12-28 15:28
Reporterchampalumeau Assigned Toblack_sun  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
OSlinux mageiaOS Version5.15.10 server-1 
Target VersionGIT/master 
Summary0000249: complete crash of qelectrotech when modifying a circuit
Descriptionto scorpio
at first i wish you a merry chrismas and good new year
I am a long time user of qelectrotech and i really think it's a very good product .
I use QET V 0.90-DEV (Revision 8f051fc61) with Mageia 8 64 bits
I have a little problem, but i am not 100% sure that's is a true problem of QET (it may be à Linux or mageia pb ?)
When i want to modify a conductor , i clic on it et it became red with some blue points.
if for editing I right-click by mistake, not on the conductor, but on one of the blue dots, Qelectrotech stops completely (it closes) and it must be restarted entirely.
It happens every time.
Steps To ReproduceSee just above
TagsNo tags attached.

Activities

scorpio810_mantis

2021-12-27 11:08

administrator   ~0000529

@champalumeau : Many thanks and merry chrismas and good new year for you and your family.
You could try if you have this bug with AppImage : just dwget and chmod +x to make it's executable, no need to install.

wget https://download.qelectrotech.org/qet/builds/AppImage/QElectroTech_0.9-DEV-r7473-x86_64.AppImage
chmod +x QElectroTech_0.9-DEV-r7473-x86_64.AppImage

scorpio810_mantis

2021-12-27 11:10

administrator   ~0000530

https://download.qelectrotech.org/qet/builds/AppImage/

scorpio810_mantis

2021-12-27 11:15

administrator   ~0000531

I can reproduce Segmentation error on my Debian, thanks for report this issue.

scorpio810_mantis

2021-12-27 11:25

administrator   ~0000532

champalumeau

2021-12-27 13:36

reporter   ~0000533

i have the same problem with the AppImage

scorpio810_mantis

2021-12-28 11:55

administrator   ~0000534

Possible patch
--- sources/diagramview.cpp
+++ sources/diagramview.cpp
@@ -1225,7 +1225,7 @@ void DiagramView::contextMenuEvent(QContextMenuEvent *e)
             m_diagram->clearSelection();
         }
 
-		qgi->setSelected(true);
+		//qgi->setSelected(true);
     }
 
     if (m_diagram->selectedItems().isEmpty())

black_sun

2021-12-28 15:28

developer   ~0000535

Fixed, thanks for report.
https://git.tuxfamily.org/qet/qet.git/commit/?id=778837a7704ed63df577401fe7e5907de84c07b0
Will be back-ported to version 0.8.1

Issue History

Date Modified Username Field Change
2021-12-26 13:15 champalumeau New Issue
2021-12-26 13:17 champalumeau Description Updated
2021-12-27 11:08 scorpio810_mantis Note Added: 0000529
2021-12-27 11:10 scorpio810_mantis Note Added: 0000530
2021-12-27 11:15 scorpio810_mantis Note Added: 0000531
2021-12-27 11:16 scorpio810_mantis Assigned To => black_sun
2021-12-27 11:16 scorpio810_mantis Status new => assigned
2021-12-27 11:16 scorpio810_mantis Target Version => GIT/master
2021-12-27 11:25 scorpio810_mantis Note Added: 0000532
2021-12-27 13:36 champalumeau Note Added: 0000533
2021-12-28 11:55 scorpio810_mantis Note Added: 0000534
2021-12-28 15:28 black_sun Status assigned => resolved
2021-12-28 15:28 black_sun Resolution open => fixed
2021-12-28 15:28 black_sun Note Added: 0000535