Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.8.2
-
None
-
macOS Sequoia 15.3.2
Qt 6.8.2 (official build)
Apple Clang 16.0.0
Description
After zooming in and out in a QGraphicsView scene, there is a ~10px area at the bottom edge of QGraphicsRectItemwhere hover events do not trigger. This issue occurs consistently when zooming but does not affect other edges of the QGraphicsRectItem.
Steps to Reproduce:
- Build and run the provided minimal example.
- Move the cursor to the edges of the QGraphicsRectItem and observe the cursor change (initially works fine).
- Zoom in and out using the scroll wheel (without moving or resizing the window).
- Move the cursor to the bottom edge of the QGraphicsRectItem—you will notice that hover events no longer trigger in a ~10px area.
Expected Behavior:
Hover events should be triggered across the entire edge of the QGraphicsRectItem, regardless of zooming.
Actual Behavior:
A ~10px-wide strip at the bottom edge does not respond to hover events after zooming in and out.
Additional Information:
- A minimal example is attached to this issue.
- The same example and additional discussion are available on [Github|https://github.com/eKevinHoang/QGraphicsBug].
- The issue has also been discussed on the Qt Forum: [Qt Forum Thread|https://forum.qt.io/topic/161460/setcursor-stops-working-after-interacting-with-qmessagebox-using-space-key].
I would appreciate any insights on whether this is a macOS-specific issue or a broader Qt bug.