Skip to content

#669038, #803675 - GUI: "hangs" due to bugscript interaction on terminal

Nis Martensen requested to merge nma/reportbug:bugscriptgui into master

Reportbug supports interactive bugscripts, but there are problems when using the Gtk UI:

  • If reportbug is run from a terminal, bugscript interactions happen on the terminal and not in the GUI.
  • If reportbug is run from the desktop menu, there is no terminal and reportbug hangs.

This MR tries to solve this by interrupting the bug script when the interactive "yesno" function is used for the first time. A graphical window with a warning message appears, pointing the user to the text interface. Non-interactive bug scripts keep working. Interactive bug scripts not using yesno are still affected by the two problems.

Interactive bug scripts run from the text and URW interfaces keep working as before.

Edited by Nis Martensen

Merge request reports

Loading