CQ-editor icon indicating copy to clipboard operation
CQ-editor copied to clipboard

3D viewer image does not fill frame after resizing window

Open billtubbs opened this issue 3 years ago • 3 comments

To Reproduce

I am launching CQ-editor from the console

CQ-editor

When I resize the window (or change the proportions of the internal frames within the window) the rendered 3D image does not adjust to the new frame size.

Screen Shot 2022-10-09 at 14 46 46

If I quit QT-editor, reopen and then render it fills the window.

Not sure if this is related to #369.

Environment

OS X 10.15.7

conda install -c cadquery -c conda-forge cq-edimaster

billtubbs avatar Oct 10 '22 17:10 billtubbs

I don't have a mac, so it'll be difficult to solve. What happens if you try to interact with the canvas (drag or click on it)? Is anything weird reported to stdout or the logging window?

adam-urbanczyk avatar Oct 10 '22 19:10 adam-urbanczyk

The canvas itself works fine. I can drag and rotate the view no problems. I don't see any messages in the current traceback or log viewer windows, or in the console.

billtubbs avatar Oct 10 '22 20:10 billtubbs

Interestingly, if I shrink the window to a smaller size, the view descends down off the bottom of the frame leaving a black space above it.

Screen Shot 2022-10-10 at 13 36 17

billtubbs avatar Oct 10 '22 20:10 billtubbs