[PySide] raise_() method not effective on macOS for QGLWidget

Cristián Maureira-Fredes Cristian.Maureira-Fredes at qt.io
Sun May 10 23:00:53 CEST 2020

Hello Michel,

Could you please share your code with an external web
like pastebin, or similar?

The attachment was around ~5M so it was removed.


On 5/10/20 4:46 AM, Michel Sanner wrote:
> I wrote a small test program for a drawer sliding out and in next to button.
> The program can slide drawer over QLabelWidget or QGLWidgetb based on 
> the command line argument ‘label’ or ‘ogl’
> It works just fine on Linux for both ‘label’ and ‘ogl’, however on Mac 
> OS (10.13.6) it work for ‘label’ but doesn’t for ‘ogl’.
> The drawer comes out but behind the OpenGL widget, as if the raise_() 
> did not pop the drawer in front.
> Any help with that would be welcome
> Thanks
> I attach the code (drawer.py)
> ---------------------------------------------------------------------------------------
> Michel F. Sanner
> Associate Professor of Biology
> Department of Integrated Structural and Computational Biology
> Scripps Research, La Jolla, CA
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> https://lists.qt-project.org/listinfo/pyside

Dr. Cristian Maureira-Fredes
R&D Manager

The Qt Company GmbH
Erich-Thilo-Str. 10
D-12489 Berlin

Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin,
Registergericht: Amtsgericht
Charlottenburg, HRB 144331 B

More information about the PySide mailing list