qml: tooltips on unobvious icon buttons

bitcoin-core/gui-qml: PR #895

4 suggestions

Earlier concerns neither republished nor resolved: 1 suggestion. See the Run archive for their assessments.

Optional improvements

Link

[suggestion] · Export defaults do not identify filtered activity snapshots

Exporting only filtered rows is existing behaviour, but the new dialog title and activity-<stamp>.csv suggestion do not distinguish a filtered snapshot from a complete activity export.

Location: qml/pages/wallet/ActivityListPage.qml:181 (head).

Details and suggested fix

exportActivity() calls activityFilterProxy.exportCsv(), which iterates the proxy's rowCount() after its search, date, type and amount predicates have excluded rows. Opening the dialog does not clear those filters. The page's filter controls provide context, but neither the new dialog title nor the suggested filename carries that scope into the saved snapshot. Keep the existing export behaviour, but suggest activity-filtered-<stamp>.csv when root.activeFilterCount > 0 or activityFilterProxy.searchText.trim().length > 0. This makes a filtered file distinguishable later, for example when used for accounting.


Link

[suggestion] · PSBT and backup defaults still construct file URLs by concatenation

The pre-existing PSBT and backup defaults still concatenate file:// with local paths, so URL-significant characters and Windows drive paths can produce incorrect starting folders or suggested files despite the new helpers.

Location: qml/walletqmlcontroller.cpp:195 (head).

Details and suggested fix

SendTransactionReview.qml and WalletSectionPage.qml still build both their home-folder defaults and suggested-file URLs with "file://" + walletController.homePath(). For example, /home/a#b introduces a URL fragment, while a drive path produces file://C:/... instead of file:///C:/.... QmlFileDialog::open() forwards these URLs to setDirectoryUrl() and selectUrl() without rebuilding them from local paths. As a follow-up, use homeFolderUrl() for both currentFolder values and fileUrlInFolder(walletController.homeFolderUrl(), name) for both filename suggestions. This preserves their intended destinations and names while applying the encoding fix already used by Activity export. Users still choose the actual save destination.


Link

[suggestion] · PR description names tooltips that this patch does not add

The supplied description promises an Activity export-icon tooltip and console toggle/clear tooltips, but the implementation adds different tooltip coverage and gives the export dialog a title.

Location: qml/pages/wallet/ActivityListPage.qml:279 (head).

Details and suggested fix

Activity export is already a labelled “Export CSV…” menu entry at base, and this patch does not attach a tooltip to it. The new Activity tooltips belong to the overflow and active-filter buttons; “Export activity to CSV” is the save dialog's title. The console additions cover previous/next search results and font-size controls, while clearButton still has no tooltip. Rewrite the two description bullets to list those controls and describe the export changes as a dialog title, suggested filename and starting-folder behaviour. This avoids implying coverage of controls from the earlier console and Activity layouts.


Link

[suggestion] · The tooltip commit includes export defaults corrected later in the series

The series introduces export defaults alongside tooltips, corrects their URL construction later, and adds title/reopen assertions afterward, making the export feature harder to review independently despite the corrected final tree.

Location: qml/pages/wallet/ActivityListPage.qml:100 at 21867885c565 (commit) (commit).

Details and suggested fix

21867885c5657cd44f275a95c9b32642004361f8 introduces the export title, home-folder default and timestamped suggestion using string-built URLs, alongside unrelated tooltips. Its new tests cover the tooltips. bc0706d1aaaaeb9db97ae661bdb9296210e1ad54 replaces those URL expressions with controller helpers and adds encoding coverage. 78e1295921cf54bb38c64e3336cb66b08c524cf5 then adds the title and per-open suggestion assertions. A commit-by-commit review therefore encounters the malformed special-character and drive-path defaults before their correction.

Keep the tooltip changes and their tests in the first commit. Combine its export hunks with bc0706d1aaaaeb9db97ae661bdb9296210e1ad54 and 78e1295921cf54bb38c64e3336cb66b08c524cf5 so the export defaults arrive with correct URL construction and their C++ and QML tests. Keep bdd0564335fff4b4b3081a628233bd15f59dd7c4, which remembers the last accepted folder, on top. These export changes are not prerequisites for the tooltips, so this rearrangement separates the features without changing the final tree.


Coverage details

Earlier concerns

Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.