From da7417f13fb850dd5bf1caa7d5a4ef7ca1b987a5 Mon Sep 17 00:00:00 2001 From: miruka Date: Tue, 21 Jul 2020 22:11:13 -0400 Subject: [PATCH] Fix SettingsView stealing focus from popups Making the window narrow enough to switch to "mobile mode", then big again would trigger a signal in SettingsView that switched focus to it, even when it wasn't visible. --- TODO.md | 3 +-- src/gui/Pages/Chat/RoomPane/SettingsView.qml | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/TODO.md b/TODO.md index c7f47782..d3ad97f4 100644 --- a/TODO.md +++ b/TODO.md @@ -1,10 +1,9 @@ # TODO - Image viewer: - - fix: manual WM fullscreen > press f - - fix e in small window - hflickable: support kinetic scrolling disabler +- don't send typing notif if no permission - compress png in a thread - ctrl+o: ignore mx-reply links - verify upload cancellation diff --git a/src/gui/Pages/Chat/RoomPane/SettingsView.qml b/src/gui/Pages/Chat/RoomPane/SettingsView.qml index 99168c9a..817a0521 100644 --- a/src/gui/Pages/Chat/RoomPane/SettingsView.qml +++ b/src/gui/Pages/Chat/RoomPane/SettingsView.qml @@ -103,7 +103,6 @@ HFlickableColumnPage { maximumLength: 255 defaultText: chat.roomInfo.given_name enabled: chat.roomInfo.can_set_name - Component.onCompleted: forceActiveFocus() } }