<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 2, 2015 at 6:14 PM, Lukáš Tinkl <span dir="ltr"><<a href="mailto:lukas@kde.org" target="_blank">lukas@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dne 2.1.2015 v 16:47 Aleix Pol napsal(a):<div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, Jan 2, 2015 at 4:41 PM, David Edmundson<br>
<<a href="mailto:david@davidedmundson.co.uk" target="_blank">david@davidedmundson.co.uk</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
On Fri, Jan 2, 2015 at 4:30 PM, Aleix Pol <<a href="mailto:aleixpol@kde.org" target="_blank">aleixpol@kde.org</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
On Fri, Jan 2, 2015 at 4:23 PM, David Edmundson<br>
<<a href="mailto:david@davidedmundson.co.uk" target="_blank">david@davidedmundson.co.uk</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have a new theory as to what might be wrong.<br>
<br>
With KScreen's backend being out of process it could be signalling that<br>
there's a new screen before plasmashell has processed the X events and<br>
be<br>
trying to look for the relevant QScreen object before plasmashell has<br>
made<br>
it.<br>
<br>
Could someone put in some debug on shellcorona.cpp:851 before it returns<br>
a<br>
nullptr in ShellCorona::outputToScreen and see if that gets triggered.<br>
<br>
You may need to use printf() as plasmashell has this somewhat odd<br>
--shutup<br>
mode that suppresses all qDebug in an effort to make fixing this as<br>
difficult as possible.<br>
</blockquote>
<br>
My theory, is that ::load is not being executed though. Otherwise we'd<br>
be seeing things when this happens, instead of just a black screen.<br>
</blockquote>
<br>
<br>
I'm back to thinking you're right.<br>
load would call addOutput. addOutput would assert if outputToScreen failed.<br>
<br>
With the exception of being completely 100% wrong, it was a good theory.<br>
</blockquote>
<br>
I appreciate a good theory. <3<br>
<br>
I just added a warning that will output something if the<br>
GetConfigOperation fails.<br>
<br>
All those of you who can reproduce it, should rebuild and run again.<br>
Maybe we'll see the answer there.<br>
</blockquote>
<br></div></div>
Can you update to the most recent powerdevil and try to reproduce the black screen problem again? My theory is that there lies the problem; plasmashell is starting up and requesting the config while kded is (also) waiting for plasmashell to show up (because of the notifications it wants to display). Eventually the dbus calls time out, plasmashell start but as there is no config, you just get a black screen. <br></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
After updating powerdevil, I can no longer reproduce this; kscreen is broken in a different way (doesn't apply the config) but that's another story</blockquote><div><br></div><div>That theory doesn't make sense - plasmashell doesn't query kded for the config. </div><div>plasmashell links libkscreen, libkscreen starts it's own unique backend process for the current config then we query that.</div><div><br></div><div>This might delay kscreen setting the screen config, but it shouldn't prevent reading the current state unless there's something else going on...</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Lukáš Tinkl <<a href="mailto:lukas@kde.org" target="_blank">lukas@kde.org</a>></font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org" target="_blank">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/<u></u>listinfo/plasma-devel</a><br>
</div></div></blockquote></div><br></div></div>