About/Help links: handle external URL open failures #597

Closed
opened 2026-05-06 08:54:56 +00:00 by johnny9 · 1 comment
johnny9 commented 2026-05-06 08:54:56 +00:00 (Migrated from github.com)

Code Gap

qml/components/ExternalPopup.qml calls Qt.openUrlExternally(externalConfirmPopup.link) and closes immediately. The return value is ignored, and there is no fallback if the OS/browser cannot open the URL.

qml/controls/ExternalLink.qml can also open links directly through Qt.openUrlExternally(link).

Work Needed

  • Centralize external link opening behavior used by About/Help links.
  • Check whether opening the URL succeeds.
  • Keep the popup open or show an error when opening fails.
  • Provide a copy-URL fallback.
  • Ensure direct ExternalLink usage and popup-confirmed links behave consistently.
  • Add tests or documented manual coverage for success and failure paths.
<!-- migrated-from: https://github.com/johnny9/BitcoinCoreAppDevelopment/issues/55 --> ## Code Gap `qml/components/ExternalPopup.qml` calls `Qt.openUrlExternally(externalConfirmPopup.link)` and closes immediately. The return value is ignored, and there is no fallback if the OS/browser cannot open the URL. `qml/controls/ExternalLink.qml` can also open links directly through `Qt.openUrlExternally(link)`. ## Work Needed - Centralize external link opening behavior used by About/Help links. - Check whether opening the URL succeeds. - Keep the popup open or show an error when opening fails. - Provide a copy-URL fallback. - Ensure direct `ExternalLink` usage and popup-confirmed links behave consistently. - Add tests or documented manual coverage for success and failure paths.
epicleafies commented 2026-05-19 17:46:16 +00:00 (Migrated from github.com)

Working on this

Working on this
Sign in to join this conversation.
No description provided.