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

Pozsgay Máté <matthew.li...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #4 from Pozsgay Máté <matthew.li...@gmail.com> ---
This is fixed on 22.04.3. I actually tracking down a similar issue regarding
the Sessions menu.
I learned that KActionMenu have a PopupMode property, which by default set to
DelayedPopup (https://doc.qt.io/qt-5/qtoolbutton.html#popupMode-prop), this is
why all of the Action menu affected this problem where it is not set explicitly
to InstantPopup.

Knowing this it is trivial to fix all the session-related menus, by adding the
following line to the KateSessionsAction::KateSessionsAction constructor (or
whatever it is, I do not really know C++):
    setPopupMode(QToolButton::InstantPopup);

I'm wondering how many other component are affected...

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

Reply via email to