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

Alexander Zaika <z...@ua7.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |z...@ua7.net

--- Comment #10 from Alexander Zaika <z...@ua7.net> ---
I have same issue, looks like kmix have infinity recursion on QWheelEvent:

#31 0x00007f2b5d5128c8 in QWidget::event (this=0x282ac80, event=0x7ffe0ea17730)
at kernel/qwidget.cpp:8971
#32 0x00007f2b5d4c51f4 in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x282ac80, e=0x7ffe0ea17730) at kernel/qapplication.cpp:3804
#33 0x00007f2b5d4cb80b in QApplication::notify (this=<optimized out>,
receiver=0x282a0e0, e=0x7ffe0ea17b60) at kernel/qapplication.cpp:3369
#34 0x00007f2b5cbb0170 in QCoreApplication::notifyInternal2
(receiver=0x282a0e0, event=0x7ffe0ea17b60) at kernel/qcoreapplication.cpp:1015
#35 0x00007f2b5d5128c8 in QWidget::event (this=0x282ac80, event=0x7ffe0ea17b60)
at kernel/qwidget.cpp:8971

And this repeat until stack overflow (about 32K frames on my PC).

I have modify kmix-16.04.2/gui/viewdockareapopup.cpp:
void ViewDockAreaPopup::wheelEvent ( QWheelEvent * e )
{
  if ( _mdws.isEmpty() )
    return;

   // Pass wheel event from "border widget" to child
//   QApplication::sendEvent( _mdws.first(), e); - recursion here
}

And now kmix work fine for me now.

As I understand - QApplication::sendEvent( _mdws.first(), e); must send event
to slider widget from the parent widget, but looks like slider not have a focus
so system transmit wheel event again to parent (self) as result we fail to
infinity recursion. Simple remove this code require user hover slider for use
wheel.

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

Reply via email to