https://bugs.kde.org/show_bug.cgi?id=356394

--- Comment #4 from zeroping+kdeb...@gmail.com ---
I think I've narrowed this one down a bit.

It looks like qsgrl_animation_interval () at
scenegraph/qsgthreadedrenderloop.cpp:111
is calling QScreen::refreshRate() on a screen that is null. 

I don't have all of the source that built my Debian package, but it almost
certainly has something like this in it:
qreal refreshRate = QGuiApplication::primaryScreen()->refreshRate();
(This is some from code that looks about right, here:
http://code.qt.io/cgit/qt/qtdeclarative.git/tree/src/quick/scenegraph/qsgthreadedrenderloop.cpp?id=06ff96d49159274aa47584db58c5451f28f1cb36
)

It looks like, yes, QGuiApplication::primaryScreen() is allowed to return null
when there are no screens, which I'm guessing happens for a moment under the
Nvidia driver when the display is asleep:
http://doc.qt.io/qt-5/qguiapplication.html#primaryScreen

So, does that make this a Qt bug? I'm just an innocent bystander here, so if
anyone has knowledge, feel free to chime in. Looks like this might be a
one-line patch for someone who knows what they're doing.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to