View Issue Details

IDProjectCategoryView StatusLast Update
0000348QElectroTechElement Editorpublic2026-11-05 15:37
ReporterFatalJamon Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status newResolutionopen 
Summary0000348: Support multi-line strings in element information pane
DescriptionFields like label, comment of an element do not support multi-line inputs.

However, one can insert XML linefeed characters like #&xa; #&xd; or even an actual line-feed in the .qet file.
When you do that, QET will correctly display the associated text.
When you selected the element, the multi-line text appears as single line in the element information pane, but a space is visible per line feed. Copy/pasting this text into an IDE will show the line feeds.
You can move the item without problem.
But if you edit any of the line inputs, the text isn't lost.

If the software supports rendering these multiline texts, I think it should support editing them.
It seems this trick is even used in some base library elements, I found traces in my imported elements :
<element name="test_bobine_perso.elmt">
                <definition type="element" link_type="master" hotspot_x="35" hotspot_y="21" width="60" height="50" version="0.100.0">
                    <uuid uuid="{dd842600-163f-4060-bce1-30965e5f6d17}"/>
                    <names>
                        <name lang="ar">ملف</name>
                        <name lang="cs">Cívka relé</name>
                        <name lang="de">Spule</name>
                        <name lang="el">Πηνίο</name>
                        <name lang="en">Manostat</name>
                        <name lang="es">Bobina</name>
                        <name lang="fr">Manostat</name>
                        <name lang="hu">Tekercs</name>
                        <name lang="it">Bobina</name>
                        <name lang="nl">Spoel</name>
                        <name lang="nl_BE">Relais spoel (algemeen)</name>
                        <name lang="pl">Cewka</name>
                        <name lang="ru">Обмотка</name>
                    </names>
                    <kindInformations>
                        <kindInformation name="type">coil</kindInformation>
                    </kindInformations>
                    <elementInformations/>
                    <informations>Author: The QElectroTech team&#xd;License: see http://qelectrotech.org/wiki/doc/elements_license</informations>


Steps To Reproduce1. Create an empty diagram and add an element with visible text.
2. Save & close.
3. Edit the .QET file with an IDE, insert a line feed or #&xd; inside the label, for example between two words.
4. Reopen the file, the text renders as two lines
5. Edit the text, the line-feed is instantly lost forever.
Additional InformationSame behavior on 0.100 and 0.200.1
TagsNo tags attached.

Activities

FatalJamon

2026-11-05 15:37

reporter   ~0000946

image.png (118,250 bytes)   
image.png (118,250 bytes)   

Issue History

Date Modified Username Field Change
2026-11-05 15:36 FatalJamon New Issue
2026-11-05 15:37 FatalJamon Note Added: 0000946
2026-11-05 15:37 FatalJamon File Added: image.png