From d9c9c30865330b24349438e4e20579fd76dafbd5 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 19 Oct 2026 10:01:49 +0200 Subject: desktop: report save results in the SaveBar, not at the page's foot A save's outcome sat at the bottom of the page, out of sight on a long one, while "unsaved changes" was already in the header. SaveBar gains notice, shown once the page is clean, and error, shown in red over the unsaved mark, since a refused or failed write leaves the draft dirty. Wired for notifications, HyprIdle, Sunset, Wallpaper and the four Mail pages, with their longer messages shortened to fit the header. Messages that are not save results stay in their pages: the icon theme's immediate apply, Sunset's location detection, the assistant restart. Co-Authored-By: Claude Opus 5.5 --- desktop/modules/qtmaildir/Note.qml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'desktop/modules/qtmaildir/Note.qml') diff --git a/desktop/modules/qtmaildir/Note.qml b/desktop/modules/qtmaildir/Note.qml index 56b8208..94213c1 100644 --- a/desktop/modules/qtmaildir/Note.qml +++ b/desktop/modules/qtmaildir/Note.qml @@ -12,7 +12,8 @@ import QtQuick import "../.." -// The top of every Mail page: when changes apply, and any write error. +// The top of every Mail page: when changes apply. A refused or failed +// write is reported in the SaveBar. Column { width: parent ? parent.width : 0 spacing: 4 @@ -24,12 +25,4 @@ Column { color: Qtm.running ? Theme.yellow : Theme.subtext font { family: Theme.fontFamily; pixelSize: Theme.fontSize - 4 } } - Text { - width: parent.width - visible: Qtm.error !== "" - wrapMode: Text.Wrap - text: Qtm.error - color: Theme.red - font { family: Theme.fontFamily; pixelSize: Theme.fontSize - 4 } - } } -- cgit v1.2.3