Bug 440568

Summary: Deepin Desktop Environment's Window Effects doesn't work
Product: [Plasma] kwin Reporter: Gaspar <gasparhs400>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: em_ok, kde, nate
Priority: NOR Keywords: drkonqi
Version: 5.22.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Gaspar 2021-08-03 20:19:41 UTC
Application: kwin_x11 (5.22.4)

Qt Version: 5.15.2
Frameworks Version: 5.83.0
Operating System: Linux 5.13.6-200.fc34.x86_64 x86_64
Windowing System: X11
Drkonqi Version: 5.22.4
Distribution: "Fedora release 34 (Thirty Four)"

-- Information about the crash:
- What I was doing when the application crashed:
Activating Window Effect in the Deepin Control Center
- Custom settings of the application:
Activating Window Effect in the Deepin Control Center (Deactivates after crashing)

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin_x11), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fb17ae258a4 in QVariant::isNull() const () from /lib64/libQt5Core.so.5
#5  0x00007fb17c183e67 in KWin::EffectWindowImpl::setData(int, QVariant const&) () from /lib64/libkwin.so.5
#6  0x00007fb15d74ac72 in Chameleon::updateBorderPath() () from /usr/lib64/qt5/plugins/org.kde.kdecoration2/libdeepin-chameleon.so
#7  0x00007fb15d74c718 in Chameleon::updateTitleBarArea() () from /usr/lib64/qt5/plugins/org.kde.kdecoration2/libdeepin-chameleon.so
#8  0x00007fb17ae19c99 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#9  0x00007fb179d49f45 in KDecoration2::DecoratedClient::widthChanged(int) () from /lib64/libkdecorations2.so.5
#10 0x00007fb17c165e8f in QtPrivate::QFunctorSlotObject<KWin::Decoration::DecoratedClientImpl::DecoratedClientImpl(KWin::AbstractClient*, KDecoration2::DecoratedClient*, KDecoration2::Decoration*)::{lambda()#2}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /lib64/libkwin.so.5
#11 0x00007fb17ae19c99 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#12 0x00007fb17c11bb0b in KWin::Toplevel::clientGeometryChanged(KWin::Toplevel*, QRect const&) () from /lib64/libkwin.so.5
#13 0x00007fb17c28118e in KWin::X11Client::setFrameGeometry(QRect const&, KWin::AbstractClient::ForceGeometry_t) () from /lib64/libkwin.so.5
#14 0x00007fb17c133974 in KWin::AbstractClient::blockGeometryUpdates(bool) () from /lib64/libkwin.so.5
#15 0x00007fb17c285815 in QtPrivate::QFunctorSlotObject<KWin::X11Client::createDecoration(QRect const&)::{lambda()#1}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) [clone .lto_priv.0] () from /lib64/libkwin.so.5
#16 0x00007fb17ae19c99 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#17 0x00007fb15d74c664 in Chameleon::updateTitleBarArea() () from /usr/lib64/qt5/plugins/org.kde.kdecoration2/libdeepin-chameleon.so
#18 0x00007fb15d74c9c8 in Chameleon::updateConfig() () from /usr/lib64/qt5/plugins/org.kde.kdecoration2/libdeepin-chameleon.so
#19 0x00007fb17ae19c99 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#20 0x00007fb179d4aa96 in KDecoration2::DecorationSettings::alphaChannelSupportedChanged(bool) () from /lib64/libkdecorations2.so.5
#21 0x00007fb17ae19c99 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#22 0x00007fb17c101ef3 in KWin::Compositor::compositingToggled(bool) () from /lib64/libkwin.so.5
#23 0x00007fb17c14adb5 in KWin::Compositor::startupWithWorkspace() () from /lib64/libkwin.so.5
#24 0x00007fb17c3b1ff1 in KWinAdaptor::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/qt5/plugins/platforms/libdde-kwin-xcb.so
#25 0x00007fb17aad122b in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) () from /lib64/libQt5DBus.so.5
#26 0x00007fb17aad4c7c in QDBusConnectionPrivate::activateCall(QObject*, int, QDBusMessage const&) [clone .part.0] () from /lib64/libQt5DBus.so.5
#27 0x00007fb17aad5689 in QDBusConnectionPrivate::activateObject(QDBusConnectionPrivate::ObjectTreeNode&, QDBusMessage const&, int) () from /lib64/libQt5DBus.so.5
#28 0x00007fb17aad7a3c in QDBusActivateObjectEvent::placeMetaCall(QObject*) () from /lib64/libQt5DBus.so.5
#29 0x00007fb17ae10809 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#30 0x00007fb17b8e1423 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#31 0x00007fb17ade6098 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#32 0x00007fb17ade9606 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#33 0x00007fb17ae34b95 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#34 0x00007fb1674cd512 in QXcbUnixEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5XcbQpa.so.5
#35 0x00007fb17ade4ab2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#36 0x00007fb17adecfe4 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#37 0x000055e0f67e9b3a in main ()
[Inferior 1 (process 4263) detached]

Reported using DrKonqi
Comment 1 David Edmundson 2021-08-04 11:34:43 UTC
>#6  0x00007fb15d74ac72 in Chameleon::updateBorderPath() () from /usr/lib64/qt5/plugins/org.kde.kdecoration2/libdeepin-chameleon.so

This isn't our code. Please report to the relevant authors
Comment 2 Emeka 2022-07-11 09:13:20 UTC
Created attachment 150533 [details]
New crash information added by DrKonqi

kwin_x11 (5.25.2) using Qt 5.15.3

The setting for activating the Deepin "Window Effect" does not activate when clicked, rather it crashes.

-- Backtrace (Reduced):
#4  0x00007f550d613815 in KWin::EffectWindowImpl::data(int) const () from /lib64/libkwin.so.5
#5  0x00007f54e4023871 in Chameleon::updateBorderPath() () from /usr/lib64/qt5/plugins/org.kde.kdecoration2/libdeepin-chameleon.so
#6  0x00007f54e4025215 in Chameleon::updateTitleBarArea() () from /usr/lib64/qt5/plugins/org.kde.kdecoration2/libdeepin-chameleon.so
#7  0x00007f54e4025610 in Chameleon::updateConfig() () from /usr/lib64/qt5/plugins/org.kde.kdecoration2/libdeepin-chameleon.so
#8  0x00007f550c65ac36 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5