Qt 5.2 on Mac: severe problems with mouse cursors on standard Qt widgets



  • I'm testing my program with Qt 5.2 on Mac OS X 10.9. One issue that immediately catches my eye is mouse tracking in QtWidgets. Most of the time it doesn't work, which manifests itself as mouse cursor not changing appropriately when hovering active elements.
    Example: I made a new Widgets project, added 2 QTreeWidgets separated with QSplitter. When hovering a splitter, mouse cursor should change to <||> , and change back when leaving splitter. Sometimes it does do that, but most of the time it doesn't. It doesn't work in fullscreen, and it doesn't work until I click the program's title. Without clicking title, I can click and drag the splitter and cursor will never change.

    Is it a known issue? I can't find it mentioned in bugtracker. Is there any workaround?.



  • I have the same problem with a Qt 4.8.5 application. Works no problem in 10.7. Clicking the title bar fixes it, even though the window title appears to already be activated, and the default button is flashing. Clicking within the window is acted up on, but does not fix the tracking.



  • [quote author="trietwyk" date="1387383547"]I have the same problem with a Qt 4.8.5 application. Works no problem in 10.7. Clicking the title bar fixes it, even though the window title appears to already be activated, and the default button is flashing. Clicking within the window is acted up on, but does not fix the tracking. [/quote]

    That indeed sounds like my problem, but I didn't notice it with 4.8.5. The error is present with 5.2 on OS X 10.8, and absent with 4.8.5 on 10.8. Will test 4.8.5 and 10.9 tomorrow.

    Here's a bug report: https://bugreports.qt-project.org/browse/QTBUG-35659


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.