Slackware[64]-current zenity extraneous output kde-gtk-config bug
by kingbeowulf from LinuxQuestions.org on (#5CT0A)
I use zenity to create simple qemu launcher script and just ran into this bug: "WINDOW DECORATIONS RELOADED" shouldn't be written to stdout" KDE Bug 431365Quote:
Besides their example:
Code:x="$(zenity --list --radiolist --width=600 --height=400 \
--title="Slackware64 Qemu" \
--column="" --column="Function" --column="Description" \
FALSE new "Create new BASE image from iso" \
FALSE base "Run BASE image" \
FALSE create "Create new WIP from BASE" \
True wip "Run Work In Progress (WIP) image" \
FALSE help "Help" \
FALSE exit "Exit" 2>/dev/null)"
echo $xResults in the output of Code:WINDOW DECORATIONS RELOADED wip, breaking my case statement. The fix is to upgrade kde-gtk-config-5.20.5 to kde-gtk-config-5.21


This is a bug of kde-gtk-config. When starting some gtk programs, there will be a "WINDOW DECORATIONS RELOADED" message mixing with the programs' output. This breaks many scripts like winetricks because it uses zenity. |
Code:x="$(zenity --list --radiolist --width=600 --height=400 \
--title="Slackware64 Qemu" \
--column="" --column="Function" --column="Description" \
FALSE new "Create new BASE image from iso" \
FALSE base "Run BASE image" \
FALSE create "Create new WIP from BASE" \
True wip "Run Work In Progress (WIP) image" \
FALSE help "Help" \
FALSE exit "Exit" 2>/dev/null)"
echo $xResults in the output of Code:WINDOW DECORATIONS RELOADED wip, breaking my case statement. The fix is to upgrade kde-gtk-config-5.20.5 to kde-gtk-config-5.21