Article 5CT0A Slackware[64]-current zenity extraneous output kde-gtk-config bug

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:
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.
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.21latest?d=yIl2AUoC8zA latest?i=BaQqMEWaKm0:wHwIt_m9WFU:F7zBnMy latest?i=BaQqMEWaKm0:wHwIt_m9WFU:V_sGLiP latest?d=qj6IDK7rITs latest?i=BaQqMEWaKm0:wHwIt_m9WFU:gIN9vFwBaQqMEWaKm0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments