Page 1 of 1

QLC+5 VC Frame not saved

Posted: Thu Jul 21, 2022 7:42 am
by giacomo
gnome 42.3 / appimage qlc+5 beta2 from May (thanks to Santi - to test that it wasn't my built)

1.TAB
I insert and move a frame,
I switch to Fixtures & Functions tab,
I switch back to VC: the frame has disappeared.

2.FILE
I insert and move a frame,
I save the file,
I reload the file: the frame disappears.

3.CRASH
I insert and move a frame,
I try to insert a widget in the frame (button, fader, cue list): qlc+5 crashes.

log:
----
qml: Item dropped in frame 0 at pos QPointF(713, 263.814)
[VCFrame] adding widget of type: "Frame" QPoint(713,264)
void VirtualConsole::addWidgetToMap(VCWidget*) id= 4
Got action: 0xE000, history length: 1 (1)
Got action: 0xE002, history length: 1 (2)
QFont::fromString: Invalid description '(empty)'
qrc:/VCPageProperties.qml:163:13: QML CustomPopupDialog: Binding loop detected for property "implicitWidth"
qrc:/VCPageProperties.qml:163:13: QML CustomPopupDialog: Binding loop detected for property "implicitWidth"
qrc:/VCPageProperties.qml:118:13: QML CustomPopupDialog: Binding loop detected for property "implicitWidth"
qrc:/VCPageProperties.qml:118:13: QML CustomPopupDialog: Binding loop detected for property "implicitWidth"
qml: Item dropped in frame 4 at pos QPointF(0, 0)
QQuickItem::setParentItem: Parent QQuickDropArea(0x564188ed0db0, name="frameDropArea4", parent=0x5641876da9a0, geometry=0,0 313x313, z=5) is already part of the subtree of VCFrameItem_QMLTYPE_173(0x5641876da9a0, parent=0x5641898a8780, geometry=110,65 313x313)
Got action: 0xE002, history length: 2 (3)
New widget geometry: QRectF(0,0 313x313)
qrc:/VCPageProperties.qml:163:13: QML CustomPopupDialog: Binding loop detected for property "implicitWidth"
qrc:/VCPageProperties.qml:163:13: QML CustomPopupDialog: Binding loop detected for property "implicitWidth"
qrc:/VCPageProperties.qml:118:13: QML CustomPopupDialog: Binding loop detected for property "implicitWidth"
qrc:/VCPageProperties.qml:118:13: QML CustomPopupDialog: Binding loop detected for property "implicitWidth"
qml: Item dropped in frame 4 at pos QPointF(151, 114.117)
[VCFrame] adding widget of type: "Button" QPoint(151,114)
void VirtualConsole::addWidgetToMap(VCWidget*) id= 5
Got action: 0xE000, history length: 3 (4)
Got action: 0xE002, history length: 3 (5)
Got action: 0xE007, history length: 3 (6)
Segmentation fault
----

When I insert a frame but I don't move it, then yes I can insert widgets in it and I can save/reload the file.
As soon I move it, I get what written above.

I've the same behavior like with button matrix as reported here viewtopic.php?f=35&t=15293
I tested it with a Debian distro.

Re: QLC+5 VC Frame not saved

Posted: Thu Jul 21, 2022 2:45 pm
by mcallegari
Reported here
https://github.com/mcallegari/qlcplus/issues/1316

Unfortunately I cannot reproduce the crash consistently. It seems to be radomic

Re: QLC+5 VC Frame not saved

Posted: Thu Jul 21, 2022 4:08 pm
by giacomo
https://github.com/mcallegari/qlcplus/issues/1316

I've the same behavior: the first time I move the frame it "suddenly goes to the top left corner of the page",
the second time I can move and resize it but then it disappear and it's not saved, as reported above.
Maybe you could try it again now, I've did around 20 times with always the same issues, that's why I've reported it.

EDIT:
I tried again and I found that when I insert the widget directly in the left corner then I can resize, insert other widgets inside it and save it, no crashes.
Still I cannot move it from that corner otherwise it happens what reported above.

Maybe a clue for you:
when you move a widget > the page is green,
when you move a frame > the frame itself is green > then it jumps in the corner (how if it was outside the page?)

Re: QLC+5 VC Frame not saved

Posted: Wed Aug 24, 2022 2:44 pm
by giacomo
for the people willing to test v5, a temporary workaround to this issue:
once inserted a frame don't move it but resize it!
if accidentally you"ve moved it, "undo" will (sometimes) recover the frame state ;)