Skip to content

Commit

Permalink
Merge pull request #20482 from tlunet/bugfix
Browse files Browse the repository at this point in the history
PR: Add `--no-sandbox` argument for QtApplication
  • Loading branch information
ccordoba12 authored Feb 7, 2023
2 parents fca63a0 + db484a4 commit b599f42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spyder/config/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ def reset_shortcuts(self):
# fallback fail.
# See issue spyder-ide/spyder#17889
if app is None:
app = QApplication(['Spyder'])
app = QApplication(['Spyder', '--no-sandbox'])
app.setApplicationName('Spyder')

reset_reply = QMessageBox.critical(
Expand Down
2 changes: 1 addition & 1 deletion spyder/utils/qthelpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def qapplication(translate=True, test_time=3):
if app is None:
# Set Application name for Gnome 3
# https://groups.google.com/forum/#!topic/pyside/24qxvwfrRDs
app = SpyderApplication(['Spyder'])
app = SpyderApplication(['Spyder', '--no-sandbox'])

# Set application name for KDE. See spyder-ide/spyder#2207.
app.setApplicationName('Spyder')
Expand Down

0 comments on commit b599f42

Please sign in to comment.