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

--- Comment #10 from David Redondo <k...@david-redondo.de> ---
m_supported has no value.
On X the helper sets m_supported in the constructor.


We are calling   blockUntilSupported(); beforehand in isSupported. The
WaylandHelper does 
 QMetaObject::invokeMethod(m_dpmsManager, "addRegistryListener");
and calls setSupported in 
connect(this, &DpmsManager::activeChanged, this, [this] {

When as a result of "addRegistryListener" the global is not bound the crash
happens.
I wonder though about the root cause, I can think of two cases but both are not
conclusive

- if it's queued this would happen, but we use AutoConnection overload  and
both objects are in the main thread
- compositor doesn't have the global,  but KWin always creates the interface.

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

Reply via email to