Bug 391719

Summary: Window controls don't work
Product: [Plasma] kwin Reporter: Uri Herrera <uri_herrera>
Component: decorationsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: major CC: kde.org
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description Uri Herrera 2018-03-11 17:30:07 UTC
Clicking the window controls (maximize, minimize, close) resulta in the first two not doing anything and the latter minimizing the window.
Comment 1 Uri Herrera 2018-03-11 17:55:43 UTC
Selecting the Breeze window decoration crashes Kwin. It also looks like this in System Settings:

https://i.imgur.com/jvBTRWQ.png
Comment 2 Martin Flöser 2018-03-11 20:50:55 UTC
If KWin crashes, please provide the backtrace.
Comment 3 Uri Herrera 2018-03-13 07:23:10 UTC
Here's the backtrace it generated:

Application: KWin (kwin_x11), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f57d5508840 (LWP 6042))]

Thread 3 (Thread 0x7f57abfff700 (LWP 6050)):
#0  0x00007f57d4e54cf6 in ppoll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f57d2287001 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f57d2288692 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f57d223264a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f57d2052554 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f57cc9b3a35 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#6  0x00007f57d20576eb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f57cdf076db in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007f57d4e6188f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7f57b2ca4700 (LWP 6047)):
#0  0x00007f57d4e54cf6 in ppoll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f57d2287001 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f57d2288692 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007f57d223264a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f57d2052554 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f57cb86c2c5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#6  0x00007f57d20576eb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f57cdf076db in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#8  0x00007f57d4e6188f in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f57d5508840 (LWP 6042)):
[KCrash Handler]
#6  KWin::Decoration::DecoratedClientImpl::isApplicationMenuActive (this=0x7ffc7eef49e0) at /workspace/build/decorations/decoratedclient.cpp:297
#7  0x00007f57d09298d5 in KDecoration2::DecoratedClient::color(KDecoration2::ColorGroup, KDecoration2::ColorRole) const () from /usr/lib/x86_64-linux-gnu/libkdecorations2.so.5
#8  0x00007f57b145242e in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/org.kde.kdecoration2/breezedecoration.so
#9  0x00007f57d4a2307d in KWin::Decoration::Renderer::renderToImage (this=this@entry=0xe60350, geo=...) at /workspace/build/decorations/decorationrenderer.cpp:77
#10 0x00007f57b2ed5ca3 in KWin::Decoration::X11Renderer::<lambda(const QRect&)>::operator() (geo=..., __closure=<synthetic pointer>) at /workspace/build/plugins/platforms/x11/standalone/x11_decoration_renderer.cpp:94
#11 KWin::Decoration::X11Renderer::render (this=0xe60350) at /workspace/build/plugins/platforms/x11/standalone/x11_decoration_renderer.cpp:99
#12 0x00007f57d22617b6 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f57d226dd47 in QTimer::timeout(QTimer::QPrivateSignal) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f57d226e048 in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f57d2262483 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f57d2f74acc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007f57d2f7c417 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007f57d22343c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f57d228a97e in QTimerInfoList::activateTimers() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f57d2288902 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f57bc9e64ad in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#22 0x00007f57d223264a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f57d223b854 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f57d513a1f9 in kdemain (argc=3, argv=0x7ffc7eef5458) at /workspace/build/main_x11.cpp:468
#25 0x00007f57d4d61b97 in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#26 0x00000000004006e9 in _start ()
Comment 4 Martin Flöser 2018-03-13 18:10:51 UTC
thanks, that's a good backtrace
Comment 5 kde.org 2021-11-06 20:03:20 UTC
This issue report is quite old. Can you please confirm, that it still persists with KDE 5.23?
Comment 6 Bug Janitor Service 2021-11-21 04:40:06 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2021-12-06 04:39:25 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!