Export Watch only missing .dat file extension #956

issue polespinasa opened this issue on August 4, 2026
  1. polespinasa commented at 3:38 PM on August 4, 2026: member

    When exporting a watchonly wallet using the GUI the .dat extension is not automatically added to the file. The GUI then is not able to restore a wallet without the explicit .dat extension.

    ~Note: I did not check if this also happens using RPC, will update the issue when tested.~ Edit: The RPC is unaffected by this, it does allow non .dat files.

    With .dat works:

    <img width="1024" height="705" alt="Image" src="https://github.com/user-attachments/assets/12c8b3fa-da54-4a4c-944d-c84bdd8d1361" />

    Without .dat does not see it:

    <img width="1022" height="698" alt="Image" src="https://github.com/user-attachments/assets/97b65440-33ef-44db-a514-70aec2f526c9" />

  2. polespinasa assigned polespinasa on Aug 4, 2026
  3. polespinasa commented at 8:06 AM on August 5, 2026: member
  4. hebasto commented at 1:51 PM on August 8, 2026: member

    When exporting a watchonly wallet using the GUI the .dat extension is not automatically added to the file.

    The GUI behaviour is consistent with the RPC.

    The GUI then is not able to restore a wallet without the explicit .dat extension.

    Perhaps we could provide the user with a hint?

  5. polespinasa commented at 9:10 AM on August 11, 2026: member

    The GUI behaviour is consistent with the RPC.

    For the export part I think so, but for importing, it does allow importing non .dat files. While the GUI does not show them.

    Perhaps we could provide the user with a hint?

    Maybe we could allow importing non .dat file too. If the file is not a wallet backup, the import should just fail.

  6. hebasto closed this on Aug 15, 2026

  7. hebasto referenced this in commit 05c36d9fad on Aug 15, 2026

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-08-29 16:20 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me