https://bugs.kde.org/show_bug.cgi?id=381343
Bug ID: 381343
Summary: Application fails to close on scripting bug if main
window closed first
Product: krita
Version: 4.0 pre-alpha
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
If a script has an error Krita displays a dialog with a stack trace. If you
close the Krita window before closing the dialog, Krita doesn't return.
To replicate:
run sample code below from scripting menu
when error dialog appears, click the close icon on the main Krita window
then click the close button or the close icon on the dialog window.
Sample code:
import krita
class Tester(krita.Extension):
def __init__(self, parent):
super().__init__(parent)
def tester(self):
print("No object called ", UNKNOWN_OBJECT)
def setup(self):
action = Application.createAction("Tester")
action.triggered.connect(self.tester)
Scripter.addExtension(Tester(Application))
--
You are receiving this mail because:
You are watching all bug changes.