From fdaf7089ab405f8c8eee992a74ccd217618b7886 Mon Sep 17 00:00:00 2001 From: miruka Date: Tue, 2 Jun 2020 19:07:12 -0400 Subject: [PATCH] Hide popup for Python 3.7 pointless SSLError --- CHANGELOG.md | 19 ++++++++++++------- src/gui/Utils.qml | 5 +---- src/gui/Window.qml | 2 +- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 624376a3..4e34e2da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,13 +12,14 @@ and this project adheres to ### Added -- `markRoomReadMsecDelay` to configure how long in milliseconds Mirage will - wait before marking a focused room as read, defaults to `200` +- `markRoomReadMsecDelay` setting to configure how long in milliseconds Mirage + will wait before marking a focused room as read, defaults to `200` ### Changed - **Unread message/highlight counters**: - - The counters are now implemented in a cross-client, persistent way + - The counters are now implemented in a cross-client, persistent way, + and respect configured push rules for your account - Read receipts will be sent to the server to mark rooms as read - While an E2E key import operation is running, prevent accidentally closing @@ -50,14 +51,18 @@ and this project adheres to cancel any running import operation - Fix Python pickling error when trying to redecrypt events after importing - E2E keys (#50) - -- Fix hiding `socket.gaierror` error popups that appeared when - the internet connection dropped + E2E keys ([#50](https://github.com/mirukana/mirage/issues/50)) - Handle Matrix 502 errors returned when trying to invite a user with an incorrect or unresponsive server in their ID +- Correctly hide `socket.gaierror` error popups that appear when the + internet connection drops + +- Hide popups for pointless + `ssl.SSLError: [SSL: KRB5_S_INIT] application data after close notify` + exceptions that occur in the Flatpak releases due to a Python 3.7 bug + ## 0.5.0 diff --git a/src/gui/Utils.qml b/src/gui/Utils.qml index ad7b550d..a6335248 100644 --- a/src/gui/Utils.qml +++ b/src/gui/Utils.qml @@ -62,10 +62,7 @@ QtObject { console.error(`python: ${sourceIndication}\n${traceback}`) if (window.hideErrorTypes.has(type)) { - console.info( - "Not showing GUI popup for error type " + type + - "due to user choice" - ) + console.info("Not showing popup for ignored error type " + type) return } diff --git a/src/gui/Window.qml b/src/gui/Window.qml index 2ae97594..f05cd85d 100644 --- a/src/gui/Window.qml +++ b/src/gui/Window.qml @@ -42,7 +42,7 @@ ApplicationWindow { property var theme: null - property var hideErrorTypes: new Set(["gaierror"]) + property var hideErrorTypes: new Set(["gaierror", "SSLError"]) readonly property var visibleMenus: ({}) readonly property var visiblePopups: ({})