Created attachment 227120 [details] pos() replaced by mapToGlobal(QPoint(0,0) At least using LXQt the sanity check of saved (bogus) window position fails, and the clients main window starts outside the screen. Fix by this attached patch.
LGTM.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=f4dbdd093aaae71ee947e794866c72928906c589 commit f4dbdd093aaae71ee947e794866c72928906c589 Author: Jesper Schmitz Mouridsen <jsm@FreeBSD.org> AuthorDate: 2021-08-14 18:16:21 +0000 Commit: Jesper Schmitz Mouridsen <jsm@FreeBSD.org> CommitDate: 2021-08-14 18:16:21 +0000 net/x2goclient: Fix stored window postion pos() includes the window frame, replace by mapToGlobal to avoid out of bounds screen position. Approved by: nc (maintainer) PR: 257778 net/x2goclient/Makefile | 2 +- net/x2goclient/files/patch-src_onmainwindow.cpp (new) | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-)