Bug 253123 - x11/plasma5-plasma-desktop: Zenity problem
Summary: x11/plasma5-plasma-desktop: Zenity problem
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-31 13:06 UTC by Alexander Vereeken
Modified: 2021-01-31 20:42 UTC (History)
1 user (show)

See Also:
tcberner: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Vereeken freebsd_triage 2021-01-31 13:06:27 UTC
Hello,

when Zentiy is used on KDE it outputs "WINDOW DECORATIONS RELOADED".

This can break scripts that are using Zenity like the gui of games/homura.

As far as I can remember this didn't happen a few weeks ago, unfortunately i can't name a specific version number of KDE where it still worked.

To reproduce the problem:

first=$(zenity --title="Your First Name" --text "What is your first name?" --entry)

zenity --info --title="Hello" --text="Hello $first"

Output: Hello WINDOW DECORATIONS RELOADED Alex

With normal GTK desktops like Mate, XFCE etc.. this does not happen, so i assume it could be a KDE problem?
Comment 1 Alexander Vereeken freebsd_triage 2021-01-31 19:49:25 UTC
5.20.4 was the latest version where it was working.
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-01-31 20:19:52 UTC
A commit references this bug:

Author: tcberner
Date: Sun Jan 31 20:19:42 UTC 2021
New revision: 563526
URL: https://svnweb.freebsd.org/changeset/ports/563526

Log:
  x11-themes/plasma5-kde-gtk-config: add upstream patch to remove debug output

  Remove debug message to avoid polute to stdout.
  This would break application like zenity which output to stdout.

  PR:		253123
  Reported by:	Alexander Vereeken <Alexander88207@protonmail.com>
  Obtained from:	https://invent.kde.org/plasma/kde-gtk-config/-/commit/62e272df848d6848482ceb534d14bf36c9fde241

Changes:
  head/x11-themes/plasma5-kde-gtk-config/Makefile
  head/x11-themes/plasma5-kde-gtk-config/distinfo
Comment 4 Tobias C. Berner freebsd_committer freebsd_triage 2021-01-31 20:20:15 UTC
Committed.
Comment 5 Alexander Vereeken freebsd_triage 2021-01-31 20:42:51 UTC
This fixes the problem. Thanks!