Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.15.6
-
-
faffaa729 (dev), a080fc9f8 (dev)
Description
If the widget is set like this
the_window2 = new QWidget(this); the_window2->setWindowFlags(Qt::Tool | Qt::FramelessWindowHint | Qt::WindowDoesNotAcceptFocus); the_window2->setCursor(Qt::OpenHandCursor);
and when the widget is inactive(some other window is activated by the click),
it does not show the custom cursor.
See the video attached.
Actual behavior : QTBUG96374-activate_setcursor.mov
If Qt::FramelessWindowHint is not defined, everything works fine.
See QTBUG96374-activate_setcursor_no_flag.mov
How to reproduce :
1. Use qtbug96374.zip
2. Hover the mouse over the widgets like shown in QTBUG96374-activate_setcursor.mov .
This works fine on Windows.
Attachments
Issue Links
- relates to
-
QTBUG-42931 QWidget::setCursor does not work on macOS for widgets with tooltip or popup flag
- Open