Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.0.0, 5.1.0 , 5.2.1, 5.3.0, 5.3.1, 5.3.2, 5.6.3, 5.12, 5.15
-
Mac OS 10.8, Mac OS 10.9, macOS 10.15
-
-
8a8be2d638ac6e54cab359e6ac13f73f53787481 (qt/qtbase/dev)
Description
As the title says. The attached example shows this happening for for example a QTextBrowser with a link in the source, and an inherited QWidget with overridden enterEvent() and leaveEvent() methods.
When opening the application having the mouse over the main window at launch, the link in the text browser does not turn into a pointing hand. The same goes for the QWidget (behaviour defined in overridden methods). Moving the cursor outside and back into the main window makes the cursor changes behave as expected.
If launching the application with the mouse OUTSIDE the main window, the cursor changes as expected in both cases.
Edit: Changed the summary text. This is not just about mouse pointers changing on hover, but also about widgets under the mouse not receiving mouseover events. Even with that hack below applied, the issue pops up again later in a random manner.
Attachments
Issue Links
- is duplicated by
-
QTBUG-73067 QWidget stops getting mouseMoveEvent when focus is restored on MacOS
- Closed
-
QTBUG-96707 Hover does not work after clicking on window after focus changed.
- Closed
- relates to
-
QTBUG-78970 REG 5.9.4 => 5.12.4 setAutoRaise not working on Mac
- Closed
-
QTBUG-65200 macOS: Using setCursor() inside tabletEvent() handler doesn't work unless the pen is pressed against the tablet
- Closed
-
QTBUG-81552 macOS: Wrong cursor shown when the mouse is moved slowly into window
- Closed
- mentioned in
-
Page Loading...