bqt icon indicating copy to clipboard operation
bqt copied to clipboard

Blender's Toggle Full Screen operator doesn't trigger full screen.

Open JeffHanna opened this issue 5 years ago • 3 comments

Blender's Windows\Toggle Full Screen menu command doesn't trigger the QWidget to go to full screen.

JeffHanna avatar Oct 11 '19 12:10 JeffHanna

note: fullscreen only doesn't toggle correctly in the first window! when opening a second blender window from the first window, that window is able to toggle fullscreen.

so we cant just intercept the event, but have to ensure it comes from window[0]

hannesdelbeke avatar Dec 28 '22 22:12 hannesdelbeke

image

clicking it in the menu uses the operator bpy.ops.wm.window_fullscreen_toggle

We could unregister this operator and register our own operator with same name, but we need to also handle non wrapped windows. (e.g. if you have 2 blender main windows open, 1 will be wrapped in qt, the other one wont be)

hannesdelbeke avatar Jun 04 '23 18:06 hannesdelbeke

workaround: disable qt wrapping with BQT_DISABLE_WRAP set to 1

hannesdelbeke avatar Jun 06 '23 14:06 hannesdelbeke