Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set geometry #78

Open
tohsnoom opened this issue Aug 4, 2018 · 1 comment
Open

Unable to set geometry #78

tohsnoom opened this issue Aug 4, 2018 · 1 comment

Comments

@tohsnoom
Copy link
Member

tohsnoom commented Aug 4, 2018

Several users, I believe primarily Windows but that could be a coincidence, have reported the following issue appearing in their log file:

GUI: setGeometry: Unable to set geometry 14x39+1600+840 on QWidgetWindow/'QLabelClassWindow'. Resulting geometry: 348x39+1600+840 (frame: 18, 85, 18, 18, custom margin: 0, 0, 0, 0, minimum size: 0x0, maximum size: 16777215x16777215).
GUI: setGeometry: Unable to set geometry 200x47+1600+840 on QWidgetWindow/'QProgressBarClassWindow'. Resulting geometry: 348x47+1600+840 (frame: 18, 85, 18, 18, custom margin: 0, 0, 0, 0, minimum size: 0x0, maximum size: 16777215x16777215).
2018-08-02 18:58:05 GUI: "registerShutdownBlockReason: Successfully registered: Phore Core didn't yet exit safely..."
2018-08-02 18:58:06

This may be crashing the wallet when it happens, although some of the references describe this as a warning rather than an error, and it may be that other issues are causing an error and this just happens to be in the log as well as a warning.

Preliminary research on the issue seems to show that it is due to a window attempting to be drawn or resized smaller than it is able to be drawn, and the suggested resolution is setting a reasonable minimum size for the window which then avoids it from trying to use a smaller size.

However the log doesn't clearly indicate which window or dialog is causing this, and QWidgetWindow and QLabelClassWindow do not show up in Phore's code so it must be in the underlying Qt library that is called from somewhere else.

This issue is happening all the way through at least v1.3.3.1.

References:
mumble-voip/mumble#2843
https://stackoverflow.com/questions/31230975/qt-setgeometry-unable-to-set-geometry
https://forum.qt.io/topic/43535/solved-qwindowswindow-setgeometry-unable-to-set-geometry
https://forum.qt.io/topic/87737/qt-qinputdialog-setgeometry-unable-to-set-geometry/8
https://stackoverflow.com/questions/25537089/unable-to-set-geometry-in-qt

@KolbyML
Copy link

KolbyML commented Aug 4, 2018

Well what operating systems that is an import question i would assume only windows is effected myself
Edit: i didn't read the top
But ya the issue probably is only on windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants