Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Mac] QColumnView - Resize grips and separation lines not visible
rtfa last edited by rtfa
After porting my application from PyQt4 to PyQt5, the column separation lines and resize grips are not visible. Please refer the screenshot
I've tried setting the resize grips visible property to True but didn't work. I've attached the python example source code to reproduce the issue. https://www.dropbox.com/sh/8tfc5txj3lq35pv/AADi4dCq2CKd_o-tOwiQn7HRa?dl=0. Any help would be appreciated.
I hope you'll be able to reproduce the issue in Qt, by just changing the view as QColumnView in this example.
kenchan last edited by kenchan
@rtfa I tried the example program on my mac and see no problem. I can see the separators and manipulate them fine.
Qt 5.9.2 clang 64bit (default)
macOS High Sierra 10.13.3
It is not PyQt5 though it is pure C++, so the problem lies in the PyQt5 stuff?
You should add which version of Qt 5 and PyQt 5 you are using, how you installed them, which version of macOS you are running.
kenchan last edited by
@rtfa I think they are not visible by default. You must set them with the setResizeGripsVisible (bool) function.
@SGaist Python v3.6.3, Sip v4.19.5, PyQt5-commercial v5.8.2. I'm running MacOS X Version 10.9.5(Mavericks). The Sip and PyQt versions are installed through pip3.
@kenchan I've tried setting setResizeGripsVisible property to true. The result is the same. Thanks!
For the size grip, they are not visible on all versions of macOS but that's unrelated to Qt.
As for the separation line, I don't see them either with Pyqt5-5.10.1 nor PyQt5-5.9.1 on macOS 10.12.6 installed in a virtual environment with python 3.6.4.
@SGaist So can we conclude that the issue with PyQt5 version of Mac and not with Qt5? As far as I know there will be no functional or UI & UX differences between Qt and PyQt. PyQt is just a Python Wrapper around Qt.
I'm not sure whether it's Qt or macOS related.
@kenchan Can you check if you have the same issue with a 5.10 version of Qt on your machine as it runs a more recent version of macOS ?
@SGaist I tried running the same example with Qt5.8.0 in my Mac machine(10.9.5). The result is the same. Please check
Looks like there's a rendering issue on macOS then. Did you check the bug report system on that matter ?