Bug#1000200: reportbug-gtk: cannot close reportbug (on fluxbox)

2021-12-26 Thread Nis Martensen
control: reassign -1 reportbug-gtk
control: severity -1 important
control: tags -1 - moreinfo


> Update: The bug was introduced with the upload of python3.9 3.9.8-1 to
> unstable on 7 November. Downgrading python3.9 to version 3.9.7-4 fixes
> the problem.
> 
> Next tasks: Identify which change between python 3.9.7 and 3.9.8 is
> responsible, and find out which package needs to change to fix the problem.

The broken code is in reportbug. Reassigning back.

This bug is a case of broken code being exposed by a bug fix elsewhere.
Reportbug was trying to use sys.exit() to exit the program, which does
not work reliably when threading is involved as in the GTK UI. Due to a
bug in python it had only appeared to work.



Bug#1000200: reportbug-gtk: cannot close reportbug (on fluxbox)

2021-12-25 Thread Nis Martensen
control: reassign -1 python3.9
control: affects -1 reportbug-gtk


> Michael Hatzold hat am 19.11.2021 geschrieben:
>> When using reportbug-gtk I now cannot close it (the window) anymore, not even
>> after sending the email.  I can minimize it, but not close. I have to open a 
>> VT
>> and pkill or ctrl-C it (when opened in a VT)
>>
>> It used to work, and klicking the "x" in the title bar should close it.

Tracked this down to the commit below in python 3.9. Reverting it fixes
the problem.


94d19f606fa18a1c4d2faca1caf2f470a8ce6d46 is the first bad commit
commit 94d19f606fa18a1c4d2faca1caf2f470a8ce6d46
Author: Victor Stinner 
Date:   Mon Sep 27 23:40:22 2021 +0200

bpo-1596321: Fix threading._shutdown() for the main thread
(GH-28549) (GH-28589)

Fix the threading._shutdown() function when the threading module was
imported first from a thread different than the main thread: no
longer log an error at Python exit.

(cherry picked from commit 95d31370829b7d729667588e0a9943217401ea5b)



Bug#1000200: reportbug-gtk: cannot close reportbug (on fluxbox)

2021-12-24 Thread Nis Martensen
CC'ing the python3.9 maintainer.

On 22.12.2021 00.39, Nis Martensen wrote:
> Hello GTK/Gnome experts,
> 
> Would you be able to help with #1000200? Reportbug's GTK UI does not
> close properly any more. It works fine in bullseye, and there was no
> change in reportbug that could have caused this change in behaviour.
> 
>> Michael Hatzold hat am 19.11.2021 geschrieben:
>>> When using reportbug-gtk I now cannot close it (the window) anymore, not 
>>> even
>>> after sending the email.  I can minimize it, but not close. I have to open 
>>> a VT
>>> and pkill or ctrl-C it (when opened in a VT)
>>>
>>> It used to work, and klicking the "x" in the title bar should close it.

Update: The bug was introduced with the upload of python3.9 3.9.8-1 to
unstable on 7 November. Downgrading python3.9 to version 3.9.7-4 fixes
the problem.

Next tasks: Identify which change between python 3.9.7 and 3.9.8 is
responsible, and find out which package needs to change to fix the problem.



Bug#1000200: reportbug-gtk: cannot close reportbug (on fluxbox)

2021-12-21 Thread Nis Martensen
Hello GTK/Gnome experts,

Would you be able to help with #1000200? Reportbug's GTK UI does not
close properly any more. It works fine in bullseye, and there was no
change in reportbug that could have caused this change in behaviour.


On 20.11.2021 13.07, nis.marten...@web.de wrote:
> 
> Michael Hatzold hat am 19.11.2021 geschrieben:
>> When using reportbug-gtk I now cannot close it (the window) anymore, not even
>> after sending the email.  I can minimize it, but not close. I have to open a 
>> VT
>> and pkill or ctrl-C it (when opened in a VT)
>>
>> It used to work, and klicking the "x" in the title bar should close it.
> 
> Does this happen in all stages of the graphical dialog from the initial 
> welcome screen to the last thank you screen?

Yes

> Does the problem also occur when you use some other window manager or
> desktop environment, or is the problem specific to fluxbox? Do you
> observe similar issues with other GTK applications?

The problem does not depend on the desktop environment (I tried Gnome
and Xfce).

> Since you say it used to work, can you try to narrow down when it
> stopped working? Which specific change triggered the difference
> between working and not working? Was there an upgrade of some
> particular package involved?

Everything is fine in bullseye:
Versions of packages reportbug-gtk depends on:
ii  gir1.2-gtk-3.0 3.24.24-4
ii  gir1.2-gtksource-4 4.8.0-1
ii  gir1.2-vte-2.910.62.3-1
ii  python3-gi 3.38.0-2
ii  python3-gi-cairo   3.38.0-2
ii  python3-gtkspellcheck  4.0.5-2
ii  reportbug  11.1.0

The problem exists in sid:
Versions of packages reportbug-gtk depends on:
ii  gir1.2-gtk-3.0 3.24.30-4
ii  gir1.2-gtksource-4 4.8.2-1
ii  gir1.2-vte-2.910.66.2-1
ii  python3-gi 3.42.0-2+b1
ii  python3-gi-cairo   3.42.0-2+b1
ii  python3-gtkspellcheck  4.0.5-2
ii  reportbug  11.1.0



Bug#1000200: reportbug-gtk: cannot close reportbug (on fluxbox)

2021-11-20 Thread nis . martensen
control: tags -1 moreinfo


Michael Hatzold hat am 19.11.2021 geschrieben:
> When using reportbug-gtk I now cannot close it (the window) anymore, not even
> after sending the email.  I can minimize it, but not close. I have to open a 
> VT
> and pkill or ctrl-C it (when opened in a VT)
> 
> It used to work, and klicking the "x" in the title bar should close it.

Does this happen in all stages of the graphical dialog from the initial welcome 
screen to the last thank you screen?

Does the problem also occur when you use some other window manager or desktop 
environment, or is the problem specific to fluxbox? Do you observe similar 
issues with other GTK applications?

Since you say it used to work, can you try to narrow down when it stopped 
working? Which specific change triggered the difference between working and not 
working? Was there an upgrade of some particular package involved?



Bug#1000200: reportbug-gtk: cannot close reportbug (on fluxbox)

2021-11-19 Thread Michael Hatzold
Package: reportbug-gtk
Version: 11.1.0
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

When using reportbug-gtk I now cannot close it (the window) anymore, not even
after sending the email.  I can minimize it, but not close. I have to open a VT
and pkill or ctrl-C it (when opened in a VT)


   * What outcome did you expect instead?

It used to work, and klicking the "x" in the title bar should close it.

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.15.2-4-siduction-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages reportbug-gtk depends on:
ii  gir1.2-gtk-3.0 3.24.30-3
ii  gir1.2-gtksource-4 4.8.2-1
ii  gir1.2-vte-2.910.66.1-1
ii  python3-gi 3.42.0-2
ii  python3-gi-cairo   3.42.0-2
ii  python3-gtkspellcheck  4.0.5-2
ii  reportbug  11.1.0

reportbug-gtk recommends no packages.

reportbug-gtk suggests no packages.

-- no debconf information