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

Akseli Lahtinen <akse...@akselmo.dev> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/systemsettings/-/commit/ |ma/systemsettings/-/commit/
                   |4ba7b0b1e81543600b97afc2d3b |d14df9091ec7d0d676734614d93
                   |fe67dd9b6f87e               |6f85d5bdac55e

--- Comment #5 from Akseli Lahtinen <akse...@akselmo.dev> ---
Git commit d14df9091ec7d0d676734614d936f85d5bdac55e by Akseli Lahtinen.
Committed on 06/02/2024 at 11:55.
Pushed by akselmo into branch 'Plasma/6.0'.

SideBarMode: return false in eventFilter if qqw is nullptr

If user presses Alt+Tab in a view that has both `QtWidgets` and
`QtQuickWidgets`, and
Alt+Tab is not set as a shortcut, systemsettings will crash.

This seems to be because Alt key activates the quick shortcuts in `QtWidgets`
(the thing that underlines one letter from an element) and the active element
is then not a `QtQuickWidget`, which is then `nullptr`, and crashes
systemsettings
when `nullptr` is sent with `sendEvent`


(cherry picked from commit 4ba7b0b1e81543600b97afc2d3bfe67dd9b6f87e)

M  +7    -0    app/sidebar/SidebarMode.cpp

https://invent.kde.org/plasma/systemsettings/-/commit/d14df9091ec7d0d676734614d936f85d5bdac55e

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

Reply via email to