From 35daae6b5d1a123eeae21adf20784ed6536d3959 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 11 Feb 2026 19:30:51 -0500 Subject: [PATCH] Replace "Show QR Code" in account menu with "Open Profile" action When you just want to share or view your own profile, the UX has proven to be a bit confusing. You could try to scroll to find a previous message of yours, or hopelessly go down the rabbithole of settings (none of which provide a copyable user ID currently.) Lets cut down on the slack by providing a way to instantly open your profile from anywhere. This replaces the "Show QR Code" action because this is duplicative within the profile itself. --- src/app/qml/AccountMenu.qml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/app/qml/AccountMenu.qml b/src/app/qml/AccountMenu.qml index b1e615e86..fc2ea1668 100644 --- a/src/app/qml/AccountMenu.qml +++ b/src/app/qml/AccountMenu.qml @@ -24,17 +24,9 @@ KirigamiComponents.ConvergentContextMenu { } Kirigami.Action { - text: i18nc("@action:button", "Show QR Code") - icon.name: "view-barcode-qr-symbolic" - onTriggered: { - (Qt.createComponent('org.kde.neochat', 'QrCodeMaximizeComponent').createObject(QQC2.Overlay.overlay, { - text: "https://matrix.to/#/" + root.connection.localUser.id, - title: root.connection.localUser.displayName, - subtitle: root.connection.localUser.id, - // Note: User::avatarUrl does not set user_id, and thus cannot be used directly here. Hence the makeMediaUrl. - avatarSource: root.connection.localUser.avatarUrl.toString().length > 0 ? root.connection.makeMediaUrl(root.connection.localUser.avatarUrl) : "" - }) as QrCodeMaximizeComponent).open(); - } + text: i18nc("@action:button", "Open Profile") + icon.name: "im-user-symbolic" + onTriggered: RoomManager.resolveResource(root.connection.localUserId) } Kirigami.Action {