Skip to content

Commit

Permalink
Fix #1429 (Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome) (#1431)
Browse files Browse the repository at this point in the history
* Fix #1429 (Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome)

Also ignores the qt.qpa.plugin warning:
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
  • Loading branch information
aryoda authored May 3, 2023
1 parent 4c6a977 commit 66d248f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Back In Time
Version 1.3.4-dev (development of upcoming release)
* Project: Renamed branch "master" to "main" and started "gitflow" branching model.
* Fix bug: Add support for ChainerBackend class as keyring which iterates over all supported keyring backends (#1410)
# Fix bug: Unit test fails on some machines due to warning "Ignoring XDG_SESSION_TYPE=wayland on Gnome..." (#1429)

Version 1.3.3 (2023-01-04)
* New feature: Command line argument "--diagnostics" to show helpful info for better issue support (#1100)
Expand Down
4 changes: 3 additions & 1 deletion common/test/test_backintime.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,12 @@ def test_local_snapshot_is_successful(self):
"WARNING: D-Bus message:",
"WARNING: Udev-based profiles cannot be changed or checked",
"WARNING: Inhibit Suspend failed",
"Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway"
]

line_contains_to_exclude = [
"Gtk-WARNING"
"Gtk-WARNING",
"qt.qpa.plugin: Could not find the Qt platform plugin"
]

# remove lines via startswith()
Expand Down

0 comments on commit 66d248f

Please sign in to comment.