View Single Post
Old 12-31-2019, 02:23 PM   #14
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,893
Karma: 6120478
Join Date: Nov 2009
Device: many
Yes that is the one. We can apply Kovid's fix in MainWindow. We use both restoreGeometry and restoreState and the workaround provided in that Qt issue did as well but only the restoreGeometry call need be fixed.

I now have a new external monitor from Santa as well, so I should be able to test this as the lost floating qdockwidget is an issue on macOS as well.

I take a peak at it tomorrow.

Kevin

Quote:
Originally Posted by DiapDealer View Post
That's the one Kovid works around in calibre, right? I saw that, but I was under the impression that was related to problems when the second monitor is unavailable. The documentation implies that geometry of restoreGeometry will modified to be within the available geometry if it is deemed to be offscreen. I don't think the reporters of that bug are having issues when all monitors and requested geometries are available.

I suppose it could be related, though. Could we implement the work around very easily? We're using restoreState rather than restoreGeometry on QDockWidgets.
KevinH is offline   Reply With Quote