[umbrello-devel] [umbrello] [Bug 329831] starting umbrello does not display any window

Ralf Habacker ralf.habacker at freenet.de
Mon Jan 27 15:00:32 UTC 2014


Ralf Habacker <ralf.habacker at freenet.de> changed:

           What    |Removed                     |Added
                 CC|                            |ralf.habacker at freenet.de

--- Comment #6 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to comment #5)
> Great, I can confirm that changing these settings also solve the issue for
> me. To my understanding, the function:
> UmbrelloSettings::geometry() 
> returns (-1, -1) as a size if no proper umbrellorc is present, and the
> values are returned/used without being checked.
According to https://qt-project.org/doc/qt-4.8/qwidget.html#minimumSize-prop
are these values checked against minimumSize(). On my development machine
minimumSize() returns QSize(0, 0), before the call to resize() , which means
resize will set the size to (0,0). 
The mentioned documentation says about this case: 
"Note: Setting the size to QSize(0, 0) will cause the widget to not appear on
screen. This also applies to windows."

You are receiving this mail because:
You are the assignee for the bug.

More information about the umbrello-devel mailing list