MantisBT - Community
View Issue Details
0027922Community[OCCT] OCCT:Samplespublic2016-09-29 20:052017-08-23 11:30
hpmachining 
bugmaster 
normalminor 
newopen 
Linux
[OCCT] 7.0.0 
 
Not required
0027922: Qt Samples Document Window Display Problem
Please see this thread in the user forum for more details and a link to a video demonstrating the problem:
https://www.opencascade.com/content/qt-bottle-tutorial-linux-display-issue [^]

If the Qt Bottle Tutorial or Import / Export samples are built on Linux, there is a problem with the display in the document window when it is resized with the mouse. After resizing, the display will continuously shrink. Maximizing the document window will restore the display to normal.

The problem appears to be inside OcctWindow. Another user replied on the thread I linked with more information.

1) Build and run the Bottle sample using the provided scripts.
2) Create a new window and create the bottle.
3) Resize the document window by dragging the corner. Note: Not the main window, unless the document window is mazimized to the main window.
This problem does not occur in Windows, just Linux.
No tags attached.
related to 0026603closed bugmaster Community Problem with maximization and normalization document windows in Qt samples with Qt 5.x 
Issue History
2016-09-29 20:05hpmachiningNew Issue
2016-09-29 20:05hpmachiningAssigned To => bugmaster
2016-09-29 20:13kgvRelationship addedrelated to 0027779
2016-09-29 20:14kgvRelationship addedrelated to 0026603
2017-01-17 18:51BenjaminBihlerNote Added: 0062711
2017-08-23 11:30apvTest case number => Not required

Notes
(0062711)
BenjaminBihler   
2017-01-17 18:51   
Upvoting! I have the same issue and according to the original post we are not the only ones. When looking at the stacktrace there is a long chain of Qt methods related to showing a window that seem to call each other:

... and so on
QWidgetPrivate::showChildren()
QWidgetPrivate::show_helper()
QWidget::setVisible()
QWidget::show()
QWidgetPrivate::showChildren()
QWidgetPrivate::show_helper()
QWidget::setVisible()
QWidget::showMaximized()
some class calling showMaximized() of the application main window
main()

Would you have a look at it?