diff options
| author | Danilo M. <danix@danix.xyz> | 2026-10-19 10:01:49 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-10-19 10:01:49 +0200 |
| commit | d9c9c30865330b24349438e4e20579fd76dafbd5 (patch) | |
| tree | 6dd01b16f51a1bda83e0a2f066c3bbd9218a4f69 /desktop/modules/qtmaildir/Note.qml | |
| parent | 26653d3cb8d2a9b19133a8c2bc981a669a3f81bd (diff) | |
| download | quickshell-d9c9c30865330b24349438e4e20579fd76dafbd5.tar.gz quickshell-d9c9c30865330b24349438e4e20579fd76dafbd5.zip | |
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 <noreply@anthropic.com>
Diffstat (limited to 'desktop/modules/qtmaildir/Note.qml')
| -rw-r--r-- | desktop/modules/qtmaildir/Note.qml | 11 |
1 files changed, 2 insertions, 9 deletions
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 } - } } |
