Unable to use QMacCocoaViewContainer
-
- Trying to use QMacCocoaViewContainer in absolutely different widget. Then when trying to interact with QTableView, the output debug log is full of
"QNSView mouseDragged: Internal mouse button tracking invalid (missing Qt::LeftButton)"
entries - In a real application it can also cause hangs and crashes!
- To reproduce
-> press left mouse button in any place in table view in the sample project, keep holding it and then move the cursor to the table view horizontal header.
OR
-> Do a fast re-sizing of columns in the test app
Demo project to reproduce:
https://www.dropbox.com/s/5f80jrx8klqf5wu/TestProject.zipDoes anyone have a workaround? Tried probably everything we could :(
- Trying to use QMacCocoaViewContainer in absolutely different widget. Then when trying to interact with QTableView, the output debug log is full of
-
Hi,
What version of Qt are you using on what version of OS X are you running ?
-
Hi, Samuel,
OS X 10.9.4 and also on 10.7.6, Qt Creator latest, Qt 5.3.1 compiled from source:
./configure -no-openssl -nomake examples -nomake tests -platform macx-clang-32 -no-c++11 -
Crazy thing: it somehow depends on setAttribute(Qt::WA_MacShowFocusRect);
No problem if this flag is not set. -
Sounds like it might be a bug…
You should take a look at the "bug report system":http://bugreports.qt-project.org to see if it's something known. If not please consider opening a but report providing a minimal compilable example showing the behavior.
-
https://bugreports.qt-project.org/browse/QTBUG-40583
Minimal example there and also in this thread (see top post) -
Please see this video for quick demonstration:
https://www.dropbox.com/s/49ynrsd9b1rry8e/QTBUG-40583.mp4?dl=0