Summary: | Assert on startup in screen handling | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Eike Hein <hein> |
Component: | general | Assignee: | Aleix Pol <aleixpol> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | aleixpol, bhush94 |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/plasma-workspace/a85ff6036fac76840825e81cf0e85e9e08903fe4 | Version Fixed In: | |
Sentry Crash Report: |
Description
Eike Hein
2014-06-29 11:26:50 UTC
Environment info: - Single-screen. - nVidia. - Qt 5.3 branch, up-to-date. - All KDE stuff up-to-date as well. Do you have a primary screen set? you can check that by calling "xrandr -q" Interestingly, no: Screen 0: minimum 8 x 8, current 1920 x 1200, maximum 16384 x 16384 DVI-I-0 disconnected primary (normal left inverted right x axis y axis) DVI-I-1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 546mm x 352mm 1920x1200 59.95*+ 1920x1080 60.00 1680x1050 59.95 1600x1200 60.00 1440x900 59.89 1280x1024 75.02 60.02 1280x960 60.00 1152x864 75.00 1024x768 75.03 70.07 60.00 800x600 75.00 72.19 60.32 56.25 640x480 75.00 72.81 59.94 HDMI-0 disconnected (normal left inverted right x axis y axis) DP-0 disconnected (normal left inverted right x axis y axis) DVI-D-0 disconnected (normal left inverted right x axis y axis) DP-1 disconnected (normal left inverted right x axis y axis) No clue how things wound up in that configuration, but I'm guessing we shouldn't crash? well, you're hitting an assert because your set up is different to what I expected when I did the current implementation. I bet the problem you're having is that we're pulling the primary screen, which is disabled at the moment. I'll try to fix the crash. Git commit a85ff6036fac76840825e81cf0e85e9e08903fe4 by Aleix Pol. Committed on 30/06/2014 at 11:41. Pushed by apol into branch 'master'. Take into account that the primary screen might not be connected Yay for safe API's! M +4 -3 shell/shellcorona.cpp http://commits.kde.org/plasma-workspace/a85ff6036fac76840825e81cf0e85e9e08903fe4 Can you give it a try? I couldn't get my disabled screen as primary. Tested, fixed! For the curious, test instructions: When you use the KDE 4 KScreen KCM (maybe the new one does the trick too, didn't try) there's a "Toggle Primary" button on the monitor delegate. Explicitly toggling it on and off and hitting "Apply" results in the "Disconnected primary" state. |