Bug 426398

Summary: crash on startup due to screen setup
Product: [Applications] krita Reporter: Christoph <site+org.kde.bugs-2020.jf92jmm>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: halla, tamtamy.tymona
Priority: NOR    
Version First Reported In: 4.3.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: terminal output when krita is launched
xrandr output

Description Christoph 2020-09-11 10:32:04 UTC
Created attachment 131558 [details]
terminal output when krita is launched

SUMMARY
When I launch krita, it crashes, presumably while trying to set up window sizes.

STEPS TO REPRODUCE
1. open terminal
2. launch krita


OBSERVED RESULT
ASSERT (krita): "screen < QGuiApplication::screens().size() && screen >= 0" in file /build/krita/src/krita-4.3.0/libs/widgets/KoToolBox.cpp, line 51
Full output in attachment launch.txt

EXPECTED RESULT
krita launches

SOFTWARE/OS VERSIONS
Krita Version: 4.3.0
KDE Frameworks Version: 5.73.0
Qt Version: Qt 5.15.0 (built against 5.15.0)

ADDITIONAL INFORMATION
xrandr output will be in comment attachment
Comment 1 Christoph 2020-09-11 10:32:32 UTC
Created attachment 131559 [details]
xrandr output

xrandr output
Comment 2 Tiar 2020-09-11 10:33:13 UTC
Can you please check if Krita Plus from the website still crashes for you?
Comment 3 Christoph 2020-09-11 10:38:29 UTC
(In reply to Tymond from comment #2)
> Can you please check if Krita Plus from the website still crashes for you?

krita-4.4.0-alpha-c00326b-x86_64.appimage launches normally.