https://bugs.kde.org/show_bug.cgi?id=516560
Bug ID: 516560
Summary: Please split sleep and screen lock blocking options
Classification: Plasma
Product: plasmashell
Version First 6.6.0
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Power management & brightness
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: 1.0
SUMMARY
Please allow to manually block only sleep, without blocking screen locking and
power management.
Otherwise I have to turn off the screen manually and that crashes plasmashell,
it gets restarted and forgets the locking settings, and PC goes to sleep
eventually.
STEPS TO REPRODUCE
1. Tick "Manually block sleep and screen locking"
2. Turn of the screen
OBSERVED RESULT
Application: plasmashell (plasmashell), signal: Segmentation fault
Thread 1 (Thread 0x7f6f1027b140 (LWP 42943)):
[KCrash Handler]
#4 0x00007f6f18530544 in QV4::QObjectWrapper::wrap(QV4::ExecutionEngine*,
QObject*) () at /usr/lib64/libQt6Qml.so.6
#5 0x00007f6f1873ab4b in QV4::loadProperty(QV4::ExecutionEngine*,
QV4::Heap::Object*, QObject*, QQmlPropertyData const&) () at
/usr/lib64/libQt6Qml.so.6
#6 0x00007f6f1873fc68 in
QV4::QObjectWrapper::getQmlProperty(QV4::ExecutionEngine*,
QQmlRefPointer<QQmlContextData> const&, QV4::Heap::Object*, QObject*,
QV4::String*, QFlags<QV4::QObjectWrapper::Flag>, bool*, QQmlPropertyData
const**) () at /usr/lib64/libQt6Qml.so.6
#7 0x00007f6f1891e31e in QV4::QQmlTypeWrapper::virtualGet(QV4::Managed const*,
QV4::PropertyKey, QV4::Value const*, bool*) () at /usr/lib64/libQt6Qml.so.6
#8 0x00007f6f187081d2 in QV4::Lookup::getterFallback(QV4::Lookup*,
QV4::ExecutionEngine*, QV4::Value const&) () at /usr/lib64/libQt6Qml.so.6
#9 0x00007f6f188e50c3 in QV4::Moth::VME::interpret(QV4::JSTypesStackFrame*,
QV4::ExecutionEngine*, char const*) () at /usr/lib64/libQt6Qml.so.6
#10 0x00007f6f188e8f1f in QV4::Moth::VME::exec(QV4::JSTypesStackFrame*,
QV4::ExecutionEngine*) () at /usr/lib64/libQt6Qml.so.6
#11 0x00007f6f1875a2d3 in QV4::doCall(QV4::Function*, QV4::Value const*,
QV4::Value const*, int, QV4::ExecutionContext*) () at /usr/lib64/libQt6Qml.so.6
#12 0x00007f6f1859e7d0 in QQmlJavaScriptExpression::evaluate(QV4::CallData*,
bool*) () at /usr/lib64/libQt6Qml.so.6
#13 0x00007f6f18678b9c in QQmlBinding::evaluate(bool*) () at
/usr/lib64/libQt6Qml.so.6
#14 0x00007f6f18688f38 in
QQmlBinding::doUpdate(QQmlJavaScriptExpression::DeleteWatcher const&,
QFlags<QQmlPropertyData::WriteFlag>, QV4::Scope&) () at
/usr/lib64/libQt6Qml.so.6
#15 0x00007f6f186a6d75 in
QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () at
/usr/lib64/libQt6Qml.so.6
#16 0x00007f6f185bb5dd in
QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at
/usr/lib64/libQt6Qml.so.6
#17 0x00007f6f186878ba in QQmlComponentPrivate::complete(QQmlEnginePrivate*,
QQmlComponentPrivate::ConstructionState*) () at /usr/lib64/libQt6Qml.so.6
#18 0x00007f6f186b8a6e in QQmlComponentPrivate::completeCreate() () at
/usr/lib64/libQt6Qml.so.6
#19 0x00007f6f1a2514fa in
PlasmaQuick::SharedQmlEngine::completeInitialization(QHash<QString, QVariant>
const&) () at /usr/lib64/libPlasmaQuick.so.6
#20 0x00007f6f1a2237b3 in
PlasmaQuick::AppletQuickItem::itemForApplet(Plasma::Applet*) () at
/usr/lib64/libPlasmaQuick.so.6
#21 0x00007f6ec86f0b48 in AppletsLayout::componentComplete() () at
/usr/lib64/qt6/qml/org/kde/plasma/private/containmentlayoutmanager/libcontainmentlayoutmanagerplugin.so
#22 0x00007f6f185bbb96 in
QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () at
/usr/lib64/libQt6Qml.so.6
#23 0x00007f6f186878ba in QQmlComponentPrivate::complete(QQmlEnginePrivate*,
QQmlComponentPrivate::ConstructionState*) () at /usr/lib64/libQt6Qml.so.6
#24 0x00007f6f186b8a6e in QQmlComponentPrivate::completeCreate() () at
/usr/lib64/libQt6Qml.so.6
#25 0x00007f6f1a251bf5 in
PlasmaQuick::SharedQmlEngine::createObjectFromComponent(QQmlComponent*,
QQmlContext*, QHash<QString, QVariant> const&) () at
/usr/lib64/libPlasmaQuick.so.6
#26 0x00007f6f1a21f6c5 in
PlasmaQuick::AppletQuickItemPrivate::createFullRepresentationItem() () at
/usr/lib64/libPlasmaQuick.so.6
#27 0x00007f6f1a21f91c in
PlasmaQuick::AppletQuickItem::setPreloadFullRepresentation(bool) () at
/usr/lib64/libPlasmaQuick.so.6
#28 0x00007f6f1858bdd4 in QQmlPropertyData::writeProperty(QObject*, void*,
QFlags<QQmlPropertyData::WriteFlag>) const [clone .isra.0] () at
/usr/lib64/libQt6Qml.so.6
#29 0x00007f6f185d6d9c in QQmlObjectCreator::setPropertyValue(QQmlPropertyData
const*, QV4::CompiledData::Binding const*) () at /usr/lib64/libQt6Qml.so.6
#30 0x00007f6f185e2bf8 in
QQmlObjectCreator::setPropertyBinding(QQmlPropertyData const*,
QV4::CompiledData::Binding const*) () at /usr/lib64/libQt6Qml.so.6
#31 0x00007f6f185e5ede in
QQmlObjectCreator::setupBindings(QFlags<QQmlObjectCreator::BindingMode>) () at
/usr/lib64/libQt6Qml.so.6
#32 0x00007f6f185e76d1 in QQmlObjectCreator::populateInstance(int, QObject*,
QObject*, QQmlPropertyData const*, QV4::CompiledData::Binding const*) () at
/usr/lib64/libQt6Qml.so.6
#33 0x00007f6f185e9a47 in QQmlObjectCreator::createInstance(int, QObject*,
bool) () at /usr/lib64/libQt6Qml.so.6
#34 0x00007f6f185ea96b in QQmlObjectCreator::create(int, QObject*,
QQmlInstantiationInterrupt*, int) [clone .part.0] () at
/usr/lib64/libQt6Qml.so.6
#35 0x00007f6f186b6824 in
QQmlComponentPrivate::beginCreate(QQmlRefPointer<QQmlContextData>) () at
/usr/lib64/libQt6Qml.so.6
#36 0x00007f6f186b6ceb in QQmlComponent::beginCreate(QQmlContext*) () at
/usr/lib64/libQt6Qml.so.6
#37 0x00007f6f1a25183a in PlasmaQuick::SharedQmlEnginePrivate::endExecute() ()
at /usr/lib64/libPlasmaQuick.so.6
#38 0x00007f6f1a222b00 in
PlasmaQuick::AppletQuickItem::itemForApplet(Plasma::Applet*) () at
/usr/lib64/libPlasmaQuick.so.6
#39 0x00007f6f1a24137e in
PlasmaQuick::ContainmentViewPrivate::setContainment(Plasma::Containment*) () at
/usr/lib64/libPlasmaQuick.so.6
#40 0x00005617f993eed2 in ShellCorona::addOutput(QScreen*) ()
#41 0x00005617f9940f9c in
ShellCorona::handleScreenOrderChanged(QList<QScreen*>) ()
#42 0x00005617f9956812 in QtPrivate::QCallableObject<void
(ShellCorona::*)(QList<QScreen*>), QtPrivate::List<QList<QScreen*> const&>,
void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) ()
#43 0x00007f6f17568aac in void doActivate<false>(QObject*, int, void**) () at
/usr/lib64/libQt6Core.so.6
#44 0x00005617f9987e03 in ScreenPool::handleOutputOrderChanged(QList<QString>
const&) ()
#45 0x00007f6f17568aac in void doActivate<false>(QObject*, int, void**) () at
/usr/lib64/libQt6Core.so.6
#46 0x00007f6f1a1d1a68 in OutputOrderWatcher::outputOrderChanged(QList<QString>
const&) () at /usr/lib64/libkworkspace6.so.6
#47 0x00007f6f17568aac in void doActivate<false>(QObject*, int, void**) () at
/usr/lib64/libQt6Core.so.6
#48 0x00007f6f17b879a6 in QGuiApplication::screenAdded(QScreen*) () at
/usr/lib64/libQt6Gui.so.6
#49 0x00007f6f1838f8e6 in
QtWaylandClient::QWaylandDisplay::handleScreenInitialized(QtWaylandClient::QWaylandScreen*)
() at /usr/lib64/libQt6WaylandClient.so.6
#50 0x00007f6f18357673 in QtWaylandClient::QWaylandScreen::maybeInitialize() ()
at /usr/lib64/libQt6WaylandClient.so.6
#51 0x00007f6f18a7b056 in ffi_call_unix64 () at /usr/lib64/libffi.so.8
#52 0x00007f6f18a79ffa in ffi_call_int () at /usr/lib64/libffi.so.8
#53 0x00007f6f18a7a88e in ffi_call () at /usr/lib64/libffi.so.8
#54 0x00007f6f1a19ba1d in wl_closure_invoke () at
/usr/lib64/libwayland-client.so.0
#55 0x00007f6f1a197544 in dispatch_event () at
/usr/lib64/libwayland-client.so.0
#56 0x00007f6f1a19871b in wl_display_dispatch_queue_pending () at
/usr/lib64/libwayland-client.so.0
#57 0x00007f6f183a52d2 in QtWaylandClient::EventThread::readAndDispatchEvents()
() at /usr/lib64/libQt6WaylandClient.so.6
#58 0x00007f6f175689ab in void doActivate<false>(QObject*, int, void**) () at
/usr/lib64/libQt6Core.so.6
#59 0x00007f6f172d037b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib64/libQt6Core.so.6
#60 0x00007f6f175a8c3a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib64/libQt6Core.so.6
#61 0x00007f6f175a8dbd in QCoreApplication::exec() () at
/usr/lib64/libQt6Core.so.6
#62 0x00005617f98f9440 in main ()
EXPECTED RESULT
Just PC sleep is inhibited, while screen goes off as usual
SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.18
KDE Plasma Version: 6.6.0
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2
Kernel Version: 6.19.3-gentoo (64-bit)
Graphics Platform: Wayland
Graphics Processor 1: AMD Radeon RX 9070 XT
--
You are receiving this mail because:
You are watching all bug changes.