https://bugs.kde.org/show_bug.cgi?id=368703
Bug ID: 368703
Summary: Failed shader compilation causes immediate crash
Product: krita
Version: git master
Platform: Compiled Sources
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: OpenGL Canvas
Assignee: [email protected]
Reporter: [email protected]
Failing to compile a shader calls a function to show a QMessageBox::critical().
This works, however after setting the useOpenGL setting to false in the
configuration the canvas isn't exchanged for a non-OpenGL one. This results in
a failed assertion by Qt:
ASSERT: "ctx && fbo" in file kernel/qopenglwidget.cpp, line 822
Reproducible: Always
Steps to Reproduce:
1. Change a letter in e.g. simple_texture.frag so that it won't compile
properly anymore
2. Start Krita with OpenGL on and create a canvas
3. Krita flashes a message box and then crashes
Actual Results:
Krita crashes
Expected Results:
Krita should revert to software rendering and show this nice message box to the
user
--
You are receiving this mail because:
You are watching all bug changes.