summaryrefslogtreecommitdiffstats
path: root/tests/test_threadlistmodel.cpp
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-13 19:29:18 +0200
committerDanilo M. <danix@danix.xyz>2026-08-13 19:29:18 +0200
commit14842cd136e45c551dde4f276af1176bfdf22023 (patch)
tree77c7d5a14884a4a9f59585930c136cfae54dedf7 /tests/test_threadlistmodel.cpp
parent0c5eea8f0d0ccc5b8eb6220814c9e212d6c1ccc2 (diff)
downloadqtmaildir-14842cd136e45c551dde4f276af1176bfdf22023.tar.gz
qtmaildir-14842cd136e45c551dde4f276af1176bfdf22023.zip
fix(queries): put the Save query button beside the query bar
The spec asked for "a Save query button beside the search bar" and what shipped was a menu entry and Ctrl+S. The user went looking for the button where the design said it would be and did not find it. Saving is a thing you decide on while looking at the results, so it belongs where the results came from rather than behind a menu or a remembered chord. The button takes the action through setDefaultAction rather than a second connect, so it inherits the text, icon, tooltip and enabled state and cannot end up offering to save an empty query while the menu entry correctly refuses. The mutation that replaces it with a plain clicked() connection fails the test. Also records item 82: a saved query cannot be edited, unpinned or deleted from the UI. Item 23 specified saving and nothing else, and that is exactly what was built, so the only way to unpin a query is a text editor or retyping it in full under the same name. An action that creates something the UI cannot then change or remove is incomplete, and this was found within minutes of the first hand test. It is filed as a defect rather than an enhancement, and the spec now says so where a reader would otherwise take the design for complete. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'tests/test_threadlistmodel.cpp')
0 files changed, 0 insertions, 0 deletions