Bug#979540: kde-config-gtk-style: Configuring gtk theme on KDE result in abnormal output on stdout

2021-01-07 Thread Norbert Preining
Hi Eric,

> This seems to upset Gtk somehow, but it (=gtk) should not issue anything
> to stdout in this case I guess.

I was wrong, that is in our code base. Fixed and uploaded.
There was a debug statement leftover in the upstream code.

Best

Norbert

--
PREINING Norbert  https://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



Bug#979540: kde-config-gtk-style: Configuring gtk theme on KDE result in abnormal output on stdout

2021-01-07 Thread Norbert Preining
Severity 979540 important
thanks

> supposed to be either "ext" or "int" it used "WINDOW DECORATIONS RELOADED".

That is a message from Gtk I guess.

> Any application using gtk windows and using stdout to provide usefull data to 
> file
> storage/pipes,  may be broken.

What the version of the package uploaded does is removing a line
@import 'window_decorations.css';
from gtk-3.0.css, if it is present.

This seems to upset Gtk somehow, but it (=gtk) should not issue anything
to stdout in this case I guess.

I will discuss with the rest of the Team how to deal with it.

Thanks for the report

Norbert

--
PREINING Norbert  https://www.preining.info
Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



Bug#979540: kde-config-gtk-style: Configuring gtk theme on KDE result in abnormal output on stdout

2021-01-07 Thread Eric Valette
Package: kde-config-gtk-style
Version: 4:5.20.5-1
Severity: critical
Justification: breaks unrelated software

I have been  hunting a bug that after this morning update it took me the day 
long
and one of the visible effect was that it broke my vpn application that is 
using yad
to display some simple windows and get some inputs.

At some point I discovered that  insead of using some parameter who were
supposed to be either "ext" or "int" it used "WINDOW DECORATIONS RELOADED".

As the pacakge was using yad to display some simple input/input i tried to 
launch
yad and discovered that for one user I had on the konsole

prompt> yad
WINDOW DECORATIONS RELOADED

I then discivered that any gtk3 application did write this message on stdout 
(emacs
in partciular).

By chance I discovered that another user on the same machine did not suffer 
this problem.
and finally found that removing rm -rf ~/.config/gtk* file did fix the problem.

prompt> yad

was then not showing any WINDOW DECORATIONS RELOADED message on output.

But as soon as I use systemsetting to configure application style, and in 
particular
the bottom buton to configure GNOME/GTK applications, it
re-creates  ~/.config/gtk* files and I start having the wrong behavior (e.g 
select
breeze style), save

and again

prompt> yad
WINDOW DECORATIONS RELOADED

I started to see this behavior after this moring installation with  4:5.20.5-1 
new pacakges.

Any application using gtk windows and using stdout to provide usefull data to 
file
storage/pipes,  may be broken.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.4 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF8, LC_CTYPE=fr_FR.UTF8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages kde-config-gtk-style depends on:
ii  libc6 2.31-9
ii  libglib2.0-0  2.67.1-1
ii  libgtk-3-03.24.24-1
ii  libkdecorations2-5v5  4:5.20.5-1
ii  libkdecorations2private7  4:5.20.5-1
ii  libkf5configcore5 5.77.0-2
ii  libkf5configwidgets5  5.77.0-3
ii  libkf5coreaddons5 5.77.0-2
ii  libkf5dbusaddons5 5.77.0-2
ii  libkf5guiaddons5  5.77.0-4
ii  libqt5core5a  5.15.2+dfsg-2
ii  libqt5dbus5   5.15.2+dfsg-2
ii  libqt5gui55.15.2+dfsg-2
ii  libqt5svg55.15.2-2
ii  libstdc++610.2.1-3

Versions of packages kde-config-gtk-style recommends:
ii  xsettings-kde  0.9-2+b2

Versions of packages kde-config-gtk-style suggests:
pn  kde-config-gtk-style-preview  

-- no debconf information