RapaGUI segfault in linux with doubleclick notifications
Posted: Thu Apr 30, 2020 1:51 am
Hi Andreas,
I've been running into an issue with RapaGUI on Linux when using listviews.
If I add a doubleclick notification on a listview, double-clicking a listitem causes a segfault with not other error printed on the debug output.
The quickest way to reproduce:
1) Copy the RapaGUI/Examples/Dialogs/ drawer to Projects/Dialogs or wherever
2) Edit Dialogs.xml
3) On line 15, change <listview id="lv" notify="active"> to <listview id="lv" notify="active;doubleclick">
4) Save the changes
5) Run the Dialogs.hws (either with Hollywood GUI Display button or from shell with './Interpreter Dialogs.hws -debugoutput'
6) Add a new entry to the listview
7) Double-click on the new entry. (I click next to the checkbox gadget as the other columns tend to trigger the text edit mode)
I've tried with several 64bit distibutions of linux on VirtualBox in Win8.1, Centos8, Puppy, Bodhi, using different desktops and window managers, but always get the same outcome, I also tried with a compiled version of the script, both for x86 and x64 and always get the segfault.
According to gdb the segfault is in RapaGUI.hwp, if I understood properly.
Let me know if you need more info or would like me to try something else
I've been running into an issue with RapaGUI on Linux when using listviews.
If I add a doubleclick notification on a listview, double-clicking a listitem causes a segfault with not other error printed on the debug output.
The quickest way to reproduce:
1) Copy the RapaGUI/Examples/Dialogs/ drawer to Projects/Dialogs or wherever
2) Edit Dialogs.xml
3) On line 15, change <listview id="lv" notify="active"> to <listview id="lv" notify="active;doubleclick">
4) Save the changes
5) Run the Dialogs.hws (either with Hollywood GUI Display button or from shell with './Interpreter Dialogs.hws -debugoutput'
6) Add a new entry to the listview
7) Double-click on the new entry. (I click next to the checkbox gadget as the other columns tend to trigger the text edit mode)
I've tried with several 64bit distibutions of linux on VirtualBox in Win8.1, Centos8, Puppy, Bodhi, using different desktops and window managers, but always get the same outcome, I also tried with a compiled version of the script, both for x86 and x64 and always get the segfault.
According to gdb the segfault is in RapaGUI.hwp, if I understood properly.
Let me know if you need more info or would like me to try something else