Re: [Development] QToolButton: stuck highlighting

2022-08-16 Thread Volker Hilsheimer
Hi Laszlo, Popup handling on macOS has been rewritten and cleaned up quite significantly in Qt 6 to fix exactly that kind of problem. Some relevant JIRA tickets referenced in respective commits in qtbase/src/plugins/platforms/cocoa would be QTBUG-78750, QTBUG-66513, QTBUG-69710, QTBUG-78970, Q

Re: [Development] QToolButton: stuck highlighting

2022-08-10 Thread Laszlo Papp
Hi, I am unable to reproduce the below bug on Windows and Linux. I can reproduce this on Mac with 5.15.5, but cannot with 6.4.0 beta2. Do you know what has fixed this? Can we backport the fix to 5.15? Is there a workaround that I could apply locally for the time being? Thanks. On Sat, Aug 6,

[Development] QToolButton: stuck highlighting

2022-08-06 Thread Laszlo Papp
Hi, As soon as I have this code in my QStyle subclass, the highlighting of the QToolButton icon seems to get stuck after selecting an entry from its menu. QPixmap Style::generatedIconPixmap(QIcon::Mode iconMode, const QPixmap& pixmap, const QStyleOption* opt) const { if (iconMode == QIcon::Acti