From 59a196ea849c64c51311f56bf62130e74d90b784 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 26 Aug 2026 19:31:45 +0200 Subject: feat: open the unsynced-changes count to see what it counts Item 119, and item 146 which is the same request recorded again. The status bar's count answers "is my work safe to quit on" and could not say what the work was. The label opens a read-only list on a click. A QLabel has no clicked signal, so the press is taken by MainWindow's existing event filter rather than by replacing the label with a flat QToolButton, which would have brought the style's button metrics into a status bar the label already sits correctly in. The pointing-hand cursor is the affordance, since a status-bar label has room for nothing else. The layout is the user's own: a message appears once with its actions beneath it. PendingChangesDialog::rowsFor() does the grouping over a run of rows sharing an id, which the snapshot has already ordered, so the actions under one message keep the order they were made in. Read-only, deliberately. Retrying or discarding a change from here would be a new mutation path with its own undo question, and the count exists to be understood rather than edited. Three rules the tests pin, each of which is a way the list could disagree with the count it was opened from: - Grouping must not collapse: two actions on one message are two rows. - A thread row stays thread-scoped and reports how many messages it covered. - An id the index no longer holds still opens a run of its own, showing that its subject is unknown rather than folding its actions under the message above it. This is why the row carries startsMessage rather than inferring it from a non-empty subject. The queued call carrying QStringList, QList and QList is covered by a test that drives it across a real thread, since a container whose metatype does not resolve is dropped at runtime and the slot runs with a default. Both survive on Qt 6.11; the test is what says so, and what would fail if that changed. Italian ships with it: five new strings, lupdate clean, lrelease 522 finished and 0 unfinished. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01P88Q3MCSCSQxKDy7pmXh9F --- translations/qtmaildir_it_IT.ts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'translations') diff --git a/translations/qtmaildir_it_IT.ts b/translations/qtmaildir_it_IT.ts index 0d2c36f..85b978f 100644 --- a/translations/qtmaildir_it_IT.ts +++ b/translations/qtmaildir_it_IT.ts @@ -1621,6 +1621,32 @@ Il messaggio È stato inviato. Non inviarlo di nuovo. Nessun messaggio di questa conversazione ha una parte HTML + + PendingChangesDialog + + Unsynced changes + Modifiche non sincronizzate + + + Changes made here that a sync has not yet carried to the mail store. This list is a snapshot taken when it was opened. + Modifiche fatte qui che una sincronizzazione non ha ancora portato all'archivio di posta. Questo elenco è un'istantanea presa al momento dell'apertura. + + + (no longer in the index) + (non più nell'indice) + + + %1 (whole thread, %n message(s)) + + %1 (intera conversazione, %n messaggio) + %1 (intera conversazione, %n messaggi) + + + + Nothing is waiting to be synced. + Non c'è nulla in attesa di sincronizzazione. + + QObject -- cgit v1.2.3