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

Vlad Zahorodnii <vlad.zahorod...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|input                       |QStyle
           Assignee|kwin-bugs-n...@kde.org      |plasma-b...@kde.org
                 CC|                            |noaha...@gmail.com,
                   |                            |uhh...@gmail.com
            Product|kwin                        |Breeze
            Version|git master                  |master

--- Comment #2 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
#638 0x00007f404e580875 in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/libQt6Widgets.so.6
#639 0x00007f404d165488 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#640 0x00007f4046f83041 in Breeze::Style::eventFilterScrollArea
(this=0x55f8fc388d40, widget=0x55f8fd8fe470, event=0x7ffc47cc6d00)
    at /data/projects/kde/src/kde/workspace/breeze/kstyle/breezestyle.cpp:1764
#641 0x00007f4046f817e8 in Breeze::Style::eventFilter (this=0x55f8fc388d40,
object=0x55f8fd8fe470, event=0x7ffc47cc6d00)
    at /data/projects/kde/src/kde/workspace/breeze/kstyle/breezestyle.cpp:1626
#642 0x00007f404d164308 in
QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#643 0x00007f404e57c032 in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () at /usr/lib/libQt6Widgets.so.6
#644 0x00007f404e580875 in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/libQt6Widgets.so.6
#645 0x00007f404d165488 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#646 0x00007f4046f83041 in Breeze::Style::eventFilterScrollArea
(this=0x55f8fc388d40, widget=0x55f8fd8fe470, event=0x7ffc47cc7370)
    at /data/projects/kde/src/kde/workspace/breeze/kstyle/breezestyle.cpp:1764
#647 0x00007f4046f817e8 in Breeze::Style::eventFilter (this=0x55f8fc388d40,
object=0x55f8fd8fe470, event=0x7ffc47cc7370)
    at /data/projects/kde/src/kde/workspace/breeze/kstyle/breezestyle.cpp:1626
#648 0x00007f404d164308 in
QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#649 0x00007f404e57c032 in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () at /usr/lib/libQt6Widgets.so.6
#650 0x00007f404e580875 in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/libQt6Widgets.so.6
#651 0x00007f404d165488 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#652 0x00007f4046f83041 in Breeze::Style::eventFilterScrollArea
(this=0x55f8fc388d40, widget=0x55f8fd8fe470, event=0x7ffc47cc79e0)
    at /data/projects/kde/src/kde/workspace/breeze/kstyle/breezestyle.cpp:1764
#653 0x00007f4046f817e8 in Breeze::Style::eventFilter (this=0x55f8fc388d40,
object=0x55f8fd8fe470, event=0x7ffc47cc79e0)
    at /data/projects/kde/src/kde/workspace/breeze/kstyle/breezestyle.cpp:1626
#654 0x00007f404d164308 in
QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#655 0x00007f404e57c032 in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () at /usr/lib/libQt6Widgets.so.6
#656 0x00007f404e580875 in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/libQt6Widgets.so.6
#657 0x00007f404d165488 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#658 0x00007f4046f83041 in Breeze::Style::eventFilterScrollArea
(this=0x55f8fc388d40, widget=0x55f8fd8fe470, event=0x7ffc47cc8050)
    at /data/projects/kde/src/kde/workspace/breeze/kstyle/breezestyle.cpp:1764
#659 0x00007f4046f817e8 in Breeze::Style::eventFilter (this=0x55f8fc388d40,
object=0x55f8fd8fe470, event=0x7ffc47cc8050)
    at /data/projects/kde/src/kde/workspace/breeze/kstyle/breezestyle.cpp:1626
#660 0x00007f404d164308 in
QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#661 0x00007f404e57c032 in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () at /usr/lib/libQt6Widgets.so.6
#662 0x00007f404e580875 in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/libQt6Widgets.so.6


...


#30471 0x00007f404d165488 in QCoreApplication::notifyInternal2(QObject*,
QEvent*) () at /usr/lib/libQt6Core.so.6
#30472 0x00007f4046f83041 in Breeze::Style::eventFilterScrollArea
(this=0x55f8fc388d40, widget=0x55f8fd8fe470, event=0x7ffc48497440)
    at /data/projects/kde/src/kde/workspace/breeze/kstyle/breezestyle.cpp:1764
#30473 0x00007f4046f817e8 in Breeze::Style::eventFilter (this=0x55f8fc388d40,
object=0x55f8fd8fe470, event=0x7ffc48497440)
    at /data/projects/kde/src/kde/workspace/breeze/kstyle/breezestyle.cpp:1626
#30474 0x00007f404d164308 in
QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#30475 0x00007f404e57c032 in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () at /usr/lib/libQt6Widgets.so.6
#30476 0x00007f404e580875 in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/libQt6Widgets.so.6
#30477 0x00007f404d165488 in QCoreApplication::notifyInternal2(QObject*,
QEvent*) () at /usr/lib/libQt6Core.so.6
#30478 0x00007f4046f83041 in Breeze::Style::eventFilterScrollArea
(this=0x55f8fc388d40, widget=0x55f8fd8fe470, event=0x7ffc48497ab0)
    at /data/projects/kde/src/kde/workspace/breeze/kstyle/breezestyle.cpp:1764
#30479 0x00007f4046f817e8 in Breeze::Style::eventFilter (this=0x55f8fc388d40,
object=0x55f8fd8fe470, event=0x7ffc48497ab0)
    at /data/projects/kde/src/kde/workspace/breeze/kstyle/breezestyle.cpp:1626
#30480 0x00007f404d164308 in
QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#30481 0x00007f404e57c032 in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () at /usr/lib/libQt6Widgets.so.6
#30482 0x00007f404e580875 in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/libQt6Widgets.so.6
#30483 0x00007f404d165488 in QCoreApplication::notifyInternal2(QObject*,
QEvent*) () at /usr/lib/libQt6Core.so.6
#30484 0x00007f404e5744e7 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
    at /usr/lib/libQt6Widgets.so.6
#30485 0x00007f404e5daf57 in ??? () at /usr/lib/libQt6Widgets.so.6
#30486 0x00007f404e5dc270 in ??? () at /usr/lib/libQt6Widgets.so.6
#30487 0x00007f404e57bf5b in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () at /usr/lib/libQt6Widgets.so.6
#30488 0x00007f404d165488 in QCoreApplication::notifyInternal2(QObject*,
QEvent*) () at /usr/lib/libQt6Core.so.6
#30489 0x00007f4050e7f3ac in KWin::InternalWindowEventFilter::pointerEvent
(this=0x55f8fc7764a0, event=0x7ffc484986f8, nativeButton=272)
    at /data/projects/kde/src/kde/workspace/kwin/src/input.cpp:1195
#30490 0x00007f4050fbf97e in std::__invoke_impl<bool, bool
(KWin::InputEventFilter::*&)(KWin::MouseEvent*, unsigned int),
KWin::InputEventFilter* const&, KWin::MouseEvent*&, unsigned int&>
(__f=@0x7ffc48498370: &virtual table offset 16, __t=@0x55f8fc7da208:
0x55f8fc7764a0, __args=@0x7ffc48498388: 0x7ffc484986f8, __args=@0x7ffc48498380:
272)
    at
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/invoke.h:74
#30491 0x00007f4050fbf86d in std::__invoke<bool
(KWin::InputEventFilter::*&)(KWin::MouseEvent*, unsigned int),
KWin::InputEventFilter* const&, KWin::MouseEvent*&, unsigned int&>
(__fn=@0x7ffc48498370: &virtual table offset 16, __args=@0x55f8fc7da208:
0x55f8fc7764a0, __args=@0x7ffc48498388: 0x7ffc484986f8, __args=@0x7ffc48498380:
272)
    at
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/invoke.h:96
#30492 0x00007f4050fbf810 in std::_Bind<bool
(KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, unsigned
int))(KWin::MouseEvent*, unsigned int)>::__call<bool, KWin::InputEventFilter*
const&, 0ul, 1ul, 2ul>(std::tuple<KWin::InputEventFilter* const&>&&,
std::_Index_tuple<0ul, 1ul, 2ul>) (this=0x7ffc48498370, __args=...)
    at
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/functional:506
#30493 0x00007f4050fbf753 in std::_Bind<bool
(KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, unsigned
int))(KWin::MouseEvent*, unsigned int)>::operator()<KWin::InputEventFilter*
const&, bool>(KWin::InputEventFilter* const&) (this=0x7ffc48498370,
__args=@0x55f8fc7da208: 0x55f8fc7764a0)
    at
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/functional:591
#30494 0x00007f4050fbf6da in __gnu_cxx::__ops::_Iter_pred<std::_Bind<bool
(KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, unsigned
int))(KWin::MouseEvent*, unsigned int)>
>::operator()<QList<KWin::InputEventFilter*>::const_iterator>(QList<KWin::InputEventFilter*>::const_iterator)
(this=0x7ffc48498370, __it=...)
    at
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/predefined_ops.h:318
#30495 0x00007f4050fbf491 in
std::__find_if<QList<KWin::InputEventFilter*>::const_iterator,
__gnu_cxx::__ops::_Iter_pred<std::_Bind<bool
(KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, unsigned
int))(KWin::MouseEvent*, unsigned int)> >
>(QList<KWin::InputEventFilter*>::const_iterator,
QList<KWin::InputEventFilter*>::const_iterator,
__gnu_cxx::__ops::_Iter_pred<std::_Bind<bool
(KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, unsigned
int))(KWin::MouseEvent*, unsigned int)> >, std--Type <RET> for more, q to quit,
c to continue without paging--c
::random_access_iterator_tag) (__first=..., __last=..., __pred=...)
    at
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/stl_algobase.h:2072
#30496 0x00007f4050fbf388 in
std::__find_if<QList<KWin::InputEventFilter*>::const_iterator,
__gnu_cxx::__ops::_Iter_pred<std::_Bind<bool
(KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, unsigned
int))(KWin::MouseEvent*, unsigned int)> >
>(QList<KWin::InputEventFilter*>::const_iterator,
QList<KWin::InputEventFilter*>::const_iterator,
__gnu_cxx::__ops::_Iter_pred<std::_Bind<bool
(KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, unsigned
int))(KWin::MouseEvent*, unsigned int)> >)
    (__first=..., __last=..., __pred=...) at
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/stl_algobase.h:2117
#30497 0x00007f4050fbf2f7 in
std::find_if<QList<KWin::InputEventFilter*>::const_iterator, std::_Bind<bool
(KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, unsigned
int))(KWin::MouseEvent*, unsigned int)>
>(QList<KWin::InputEventFilter*>::const_iterator,
QList<KWin::InputEventFilter*>::const_iterator, std::_Bind<bool
(KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, unsigned
int))(KWin::MouseEvent*, unsigned int)>) (__first=..., __last=..., __pred=...)
    at
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/stl_algo.h:3923
#30498 0x00007f4050fbf24d in
std::none_of<QList<KWin::InputEventFilter*>::const_iterator, std::_Bind<bool
(KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, unsigned
int))(KWin::MouseEvent*, unsigned int)>
>(QList<KWin::InputEventFilter*>::const_iterator,
QList<KWin::InputEventFilter*>::const_iterator, std::_Bind<bool
(KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, unsigned
int))(KWin::MouseEvent*, unsigned int)>) (__first=..., __last=..., __pred=...)
    at
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/stl_algo.h:477
#30499 0x00007f4050fbf1cd in
std::any_of<QList<KWin::InputEventFilter*>::const_iterator, std::_Bind<bool
(KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, unsigned
int))(KWin::MouseEvent*, unsigned int)>
>(QList<KWin::InputEventFilter*>::const_iterator,
QList<KWin::InputEventFilter*>::const_iterator, std::_Bind<bool
(KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, unsigned
int))(KWin::MouseEvent*, unsigned int)>) (__first=..., __last=..., __pred=...)
    at
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/stl_algo.h:496
#30500 0x00007f4050fb81f6 in
KWin::InputRedirection::processFilters<std::_Bind<bool
(KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, unsigned
int))(KWin::MouseEvent*, unsigned int)> >(std::_Bind<bool
(KWin::InputEventFilter::*(std::_Placeholder<1>, KWin::MouseEvent*, unsigned
int))(KWin::MouseEvent*, unsigned int)>)
    (this=0x55f8fc38e660, function=...) at
/data/projects/kde/src/kde/workspace/kwin/src/input.h:194
#30501 0x00007f4050faee4e in KWin::PointerInputRedirection::processButton
    (this=0x55f8fc4124c0, button=272,
state=KWin::InputRedirection::PointerButtonPressed, time=std::chrono::duration
= { 4489326916us }, device=0x55f8fc7a3050)
    at /data/projects/kde/src/kde/workspace/kwin/src/pointer_input.cpp:281
#30502 0x00007f4050e8d3eb in QtPrivate::FunctorCall<QtPrivate::IndexesList<0,
1, 2, 3>, QtPrivate::List<unsigned int,
KWin::InputRedirection::PointerButtonState, std::chrono::duration<long,
std::ratio<1l, 1000000l> >, KWin::InputDevice*>, void, void
(KWin::PointerInputRedirection::*)(unsigned int,
KWin::InputRedirection::PointerButtonState, std::chrono::duration<long,
std::ratio<1l, 1000000l> >, KWin::InputDevice*)>::call
    (f=(void (KWin::PointerInputRedirection::*)(KWin::PointerInputRedirection *
const, unsigned int, KWin::InputRedirection::PointerButtonState,
std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice *))
0x7f4050faeb60 <KWin::PointerInputRedirection::processButton(unsigned int,
KWin::InputRedirection::PointerButtonState, std::chrono::duration<long,
std::ratio<1l, 1000000l> >, KWin::InputDevice*)>, o=0x55f8fc4124c0,
arg=0x7ffc484989e0) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:145
#30503 0x00007f4050e8d30d in QtPrivate::FunctionPointer<void
(KWin::PointerInputRedirection::*)(unsigned int,
KWin::InputRedirection::PointerButtonState, std::chrono::duration<long,
std::ratio<1l, 1000000l> >, KWin::InputDevice*)>::call<QtPrivate::List<unsigned
int, KWin::InputRedirection::PointerButtonState, std::chrono::duration<long,
std::ratio<1l, 1000000l> >, KWin::InputDevice*>, void>
    (f=(void (KWin::PointerInputRedirection::*)(KWin::PointerInputRedirection *
const, unsigned int, KWin::InputRedirection::PointerButtonState,
std::chrono::duration<long, std::ratio<1l, 1000000l> >, KWin::InputDevice *))
0x7f4050faeb60 <KWin::PointerInputRedirection::processButton(unsigned int,
KWin::InputRedirection::PointerButtonState, std::chrono::duration<long,
std::ratio<1l, 1000000l> >, KWin::InputDevice*)>, o=0x55f8fc4124c0,
arg=0x7ffc484989e0) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:182
#30504 0x00007f4050e8d235 in QtPrivate::QCallableObject<void
(KWin::PointerInputRedirection::*)(unsigned int,
KWin::InputRedirection::PointerButtonState, std::chrono::duration<long,
std::ratio<1l, 1000000l> >, KWin::InputDevice*), QtPrivate::List<unsigned int,
KWin::InputRedirection::PointerButtonState, std::chrono::duration<long,
std::ratio<1l, 1000000l> >, KWin::InputDevice*>, void>::impl (which=1,
this_=0x55f8fc6fc010, r=0x55f8fc4124c0, a=0x7ffc484989e0, ret=0x0) at
/usr/include/qt6/QtCore/qobjectdefs_impl.h:553
#30505 0x00007f404d1beaa9 in ??? () at /usr/lib/libQt6Core.so.6
#30506 0x00007f4050cc5f98 in KWin::InputDevice::pointerButtonChanged
    (this=0x55f8fc7a3050, _t1=272,
_t2=KWin::InputRedirection::PointerButtonPressed, _t3=std::chrono::duration = {
4489326916us }, _t4=0x55f8fc7a3050)
    at src/kwin_autogen/include/moc_inputdevice.cpp:814
#30507 0x00007f4051315340 in KWin::LibInput::Connection::processEvents
(this=0x55f8fc56d7f0)
    at
/data/projects/kde/src/kde/workspace/kwin/src/backends/libinput/connection.cpp:352
#30508 0x00007f4051342074 in
KWin::LibinputBackend::LibinputBackend(KWin::Session*,
QObject*)::$_0::operator()() const (this=0x55f8fc58e680)
    at
/data/projects/kde/src/kde/workspace/kwin/src/backends/libinput/libinputbackend.cpp:25
#30509 0x00007f4051342016 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>,
QtPrivate::List<>, void, KWin::LibinputBackend::LibinputBackend(KWin::Session*,
QObject*)::$_0>::call(KWin::LibinputBackend::LibinputBackend(KWin::Session*,
QObject*)::$_0&, void**) (f=..., arg=0x7f40200220c8) at
/usr/include/qt6/QtCore/qobjectdefs_impl.h:137
#30510 0x00007f4051341fd1 in
QtPrivate::FunctorCallable<KWin::LibinputBackend::LibinputBackend(KWin::Session*,
QObject*)::$_0>::call<QtPrivate::List<>,
void>(KWin::LibinputBackend::LibinputBackend(KWin::Session*, QObject*)::$_0&,
void*, void**) (f=..., arg=0x7f40200220c8) at
/usr/include/qt6/QtCore/qobjectdefs_impl.h:345
#30511 0x00007f4051341f6e in
QtPrivate::QCallableObject<KWin::LibinputBackend::LibinputBackend(KWin::Session*,
QObject*)::$_0, QtPrivate::List<>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1,
this_=0x55f8fc58e670, r=0x55f8fc44fb60, a=0x7f40200220c8, ret=0x0) at
/usr/include/qt6/QtCore/qobjectdefs_impl.h:555
#30512 0x00007f404d1afc74 in QObject::event(QEvent*) () at
/usr/lib/libQt6Core.so.6
#30513 0x00007f404e57bf5b in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () at /usr/lib/libQt6Widgets.so.6
#30514 0x00007f404d165488 in QCoreApplication::notifyInternal2(QObject*,
QEvent*) () at /usr/lib/libQt6Core.so.6
#30515 0x00007f404d165814 in
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at
/usr/lib/libQt6Core.so.6
#30516 0x00007f404d2d89cb in
QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt6Core.so.6
#30517 0x00007f404ddf2ce2 in
QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() at /usr/lib/libQt6Gui.so.6
#30518 0x00007f404d16d67e in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt6Core.so.6
#30519 0x00007f404d1690b8 in QCoreApplication::exec() () at
/usr/lib/libQt6Core.so.6
#30520 0x000055f8fba66a02 in main (argc=14, argv=0x7ffc4849b228) at
/data/projects/kde/src/kde/workspace/kwin/src/main_wayland.cpp:609


it looks like breeze sends an event, then it processes that event, and the
cycle repeats. I looked a bit into breeze code but I don't understand why it
performs that finiky event forwarding stuff. Not reproducible with the Fusion
widget style.

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

Reply via email to