Title states the issue. I created a simple example in lxterminal to illustrate it:
`$ wmctrl -l|grep "testing_yad_in_lxterminal$"
0x00600d6c 0 1804 testing_yad_in_lxterminal
$ G_MESSAGES_DEBUG=all yad --title="Attached YAD" --text="This window is attached to a terminal" --width=200 --height=100 --parent-win="0x00600d6c" 2>/dev/null
Segmentation fault
$ G_MESSAGES_DEBUG=all yad --title="Attached YAD" --text="This window is attached to a terminal" --width=200 --height=100 --parent-win="6294892" 2>/dev/null
Segmentation fault
$ yad --version 2>/dev/null
0.38.2 (GTK+ 3.22.30)
$ `
I piped 2 to /dev/null for clarity since all that appears in 2 is GTK warnings about deprecated syntax in the theme that are now elicited by EVERY GUI program I run in a terminal no matter what theme I use. Not even Clear Looks, which I assume is kept up to date since it is popular, avoids this. I verified this by also piping 2 to a file and inspecting it both by eye and just to be belt-&-suspenders sure, by cat and grep -v on the file to verify I hadn't missed anything. I find it suprising that "segmentation fault" appears on stdout instead of stderr. This only happens when the --parent-win option is used. The second version of the window ID I got by converting the hex that wmctrl reports to a pure hindu-arabic form with a utility made for the purpose.
ADDED: In the "code" above I had to insert additional line feeds in the terminal output before each $ prompt to prevent it from collapsing it all into a huge one line WOT-blob. Is the <> button not the right way to do this?
This is under a plain Openbox environment with no further DE, built from the mini.iso of Ubuntu 18.04. Contrary to popular belief, 18.04 is still under limited support for registered users, a sort of extended extended support for us diehards.
Is this, in fact, a bug, or have I done it wrong? Or do the gods of electrons just hate me?
Title states the issue. I created a simple example in lxterminal to illustrate it:
`$ wmctrl -l|grep "testing_yad_in_lxterminal$"
0x00600d6c 0 1804 testing_yad_in_lxterminal
$ G_MESSAGES_DEBUG=all yad --title="Attached YAD" --text="This window is attached to a terminal" --width=200 --height=100 --parent-win="0x00600d6c" 2>/dev/null
Segmentation fault
$ G_MESSAGES_DEBUG=all yad --title="Attached YAD" --text="This window is attached to a terminal" --width=200 --height=100 --parent-win="6294892" 2>/dev/null
Segmentation fault
$ yad --version 2>/dev/null
0.38.2 (GTK+ 3.22.30)
$ `
I piped 2 to /dev/null for clarity since all that appears in 2 is GTK warnings about deprecated syntax in the theme that are now elicited by EVERY GUI program I run in a terminal no matter what theme I use. Not even Clear Looks, which I assume is kept up to date since it is popular, avoids this. I verified this by also piping 2 to a file and inspecting it both by eye and just to be belt-&-suspenders sure, by cat and grep -v on the file to verify I hadn't missed anything. I find it suprising that "segmentation fault" appears on stdout instead of stderr. This only happens when the --parent-win option is used. The second version of the window ID I got by converting the hex that wmctrl reports to a pure hindu-arabic form with a utility made for the purpose.
ADDED: In the "code" above I had to insert additional line feeds in the terminal output before each $ prompt to prevent it from collapsing it all into a huge one line WOT-blob. Is the <> button not the right way to do this?
This is under a plain Openbox environment with no further DE, built from the mini.iso of Ubuntu 18.04. Contrary to popular belief, 18.04 is still under limited support for registered users, a sort of extended extended support for us diehards.
Is this, in fact, a bug, or have I done it wrong? Or do the gods of electrons just hate me?