Skip to content

Commit 526df31

Browse files
Mickaël SchoentgenBoboTiG
authored andcommitted
NXDRIVE-2570: Fix window focus that sometimes is lost
1 parent c7b7a84 commit 526df31

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

docs/changes/5.0.1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Release date: `2021-xx-xx`
3131
- [NXDRIVE-2551](https://jira.nuxeo.com/browse/NXDRIVE-2551): Reword the auto-update option on the Settings screen
3232
- [NXDRIVE-2562](https://jira.nuxeo.com/browse/NXDRIVE-2562): Always bring the account window after being redirected from the browser
3333
- [NXDRIVE-2568](https://jira.nuxeo.com/browse/NXDRIVE-2568): Add the Python client version in the About tab
34+
- [NXDRIVE-2570](https://jira.nuxeo.com/browse/NXDRIVE-2570): Fix window focus that sometimes is lost
3435

3536
## Packaging / Build
3637

nxdrive/gui/application.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,9 @@ def _center_on_screen(self, window: QQuickView, /) -> None:
386386
)
387387
)
388388

389+
# Ensure the window is shown on top of others
390+
self._show_window(window)
391+
389392
@pyqtSlot(object)
390393
def action_progressing(self, action: Action, /) -> None:
391394
if not isinstance(action, Action):

0 commit comments

Comments
 (0)