This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository x2goclient. from 9af7ec4 debian/changelog: merge changelog from release/4.1.0.1 branch into master. new 377cc91 src/sessionexplorer.cpp: open the correct tab when editing a session from the exports menu. new fa5c8a2 src/onmainwindow.cpp: try to workaround window placement if settings contain a (newly) invalid position (e.g., a position that refers to a disconnected display.) The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/changelog | 5 +++++ src/onmainwindow.cpp | 7 +++++++ src/sessionexplorer.cpp | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) -- Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goclient. commit 377cc91ee5c6a454aa85f2bde78b89cd5c786362 Author: Mihai Moldovan <ionic@ionic.de> Date: Thu Sep 14 12:19:07 2017 +0200 src/sessionexplorer.cpp: open the correct tab when editing a session from the exports menu. --- debian/changelog | 2 ++ src/sessionexplorer.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index c5577bc..573b037 100644 --- a/debian/changelog +++ b/debian/changelog @@ -188,6 +188,8 @@ x2goclient (4.1.1.0-0x2go1) UNRELEASED; urgency=medium finalize libssh. We ought to do both only once - in our main thread. Previously, we initialized libssh in a new thread, which might be problematic. + - src/sessionexplorer.cpp: open the correct tab when editing a session + from the exports menu. * x2goclient.spec: - Respect %{optflags} and pass QMAKE_STRIP=: to fix missing debug info issues. diff --git a/src/sessionexplorer.cpp b/src/sessionexplorer.cpp index 5a99e0d..4cd022b 100644 --- a/src/sessionexplorer.cpp +++ b/src/sessionexplorer.cpp @@ -87,7 +87,7 @@ void SessionExplorer::cleanSessions() void SessionExplorer::exportsEdit ( SessionButton* bt ) { - EditConnectionDialog dlg (false, bt->id(),parent,3 ); + EditConnectionDialog dlg (false, bt->id(),parent,4 ); if ( dlg.exec() ==QDialog::Accepted ) { bt->redraw(); -- Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goclient. commit fa5c8a29f018cb7167f75c5c0781501a6858c9a7 Author: Mihai Moldovan <ionic@ionic.de> Date: Fri Sep 22 20:10:05 2017 +0200 src/onmainwindow.cpp: try to workaround window placement if settings contain a (newly) invalid position (e.g., a position that refers to a disconnected display.) --- debian/changelog | 3 +++ src/onmainwindow.cpp | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/debian/changelog b/debian/changelog index 573b037..47d7fdb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -190,6 +190,9 @@ x2goclient (4.1.1.0-0x2go1) UNRELEASED; urgency=medium problematic. - src/sessionexplorer.cpp: open the correct tab when editing a session from the exports menu. + - src/onmainwindow.cpp: try to workaround window placement if settings + contain a (newly) invalid position (e.g., a position that refers to a + disconnected display.) * x2goclient.spec: - Respect %{optflags} and pass QMAKE_STRIP=: to fix missing debug info issues. diff --git a/src/onmainwindow.cpp b/src/onmainwindow.cpp index 0cb4f2c..56f70db 100644 --- a/src/onmainwindow.cpp +++ b/src/onmainwindow.cpp @@ -8220,6 +8220,13 @@ void ONMainWindow::slotResize() { resize ( mwSize ); move ( mwPos ); + + /* + * Make window position a hint, workaround for + * buggy placements on screen coordinates out of range. + */ + setAttribute (Qt::WA_Moved, false); + show(); } else -- Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git