View Issue Details

IDProjectCategoryView StatusLast Update
0006963Talerwallet (WebExtension)public2023-01-26 22:53
Reporterbelen Assigned Tosebasjm  
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version0.9.1Fixed in Version0.9.1 
Summary0006963: Link to open system's Taler wallet during withdrawal provides no feedback if "automatically open wallet" permission is disabled
DescriptionThe withdrawal page in the demo bank provides a very handy link to open my system's wallet if one exists. This link works like a charm if the permission to automatically open the wallet based on page content is activated. However, when that permission is not activated, clicking that link does nothing. That makes you think the demo is not working.

We should provide some kind of feedback to users so that they are prompted to open the Taler extension.

Steps To Reproduce1. install the web extension, leaving the permission to automatically open the wallet based on page content unselected
2. Go to the demo bank and start a withdrawal
3. In the withdrawal page, click "this link"

Outcome: absolutely nothing happens. No feedback at all is provided to users in response to their action.

Expected outcome: something should prompt users to check the Taler web extension if it is installed.
Additional InformationWe should discuss what's technically feasible here. For instance, I am not sure whether the page can detect if a web extension is installed. If yes, we could simply show a message to users asking them to check the extension.

If not, we could display a generic message on clicking that link when no system wallet is detected.

Found on Firefox Version 90.0 for Ubuntu (21.04)
Commit: 37031700d094d2e281529b937f196b65a0f83f2e
TagsNo tags attached.

Relationships

related to 0007316 acknowledged Get the 'taler' URI scheme into the HTML spec safe-list 

Activities

sebasjm

2021-07-29 16:14

developer   ~0018024

I think we can use this to create the same behavior as clicking this link in mobile
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler
cons:
 * safari did not implement this behavior
 * we need to add a web+ before our taler scheme: changing taler+http to web+taler+http (which I think this is a valid change for mobile apps that will use this)

belen

2021-08-02 10:04

reporter   ~0018049

What would users see? A notification like the one shown in the documentation (https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler/protocolregister.png) with an action for users to run the Taler action?

If that's the case, this seems a good solution. Since the Taler extension doesn't run in Safari, I don't think that browser not supporting the behaviour is a big deal.

Christian Grothoff

2022-10-20 11:29

manager   ~0019253

I think Florian suggested having taler:// being added to the "safe" list of URI prefixes at browsers. We may need to register taler:// with IANA first for this. I started a draft on this somewhere.

sebasjm

2022-12-23 15:02

developer   ~0019538

Adding screens using linux system.

web+taler:// has been added in the bank and in the wallet withdrawal handler until taler:// is safelisted
Selection_343.png (56,621 bytes)   
Selection_343.png (56,621 bytes)   
Selection_344.png (55,409 bytes)   
Selection_344.png (55,409 bytes)   

Issue History

Date Modified Username Field Change
2021-07-29 11:55 belen New Issue
2021-07-29 11:55 belen Status new => assigned
2021-07-29 11:55 belen Assigned To => Florian Dold
2021-07-29 16:14 sebasjm Note Added: 0018024
2021-08-02 10:04 belen Note Added: 0018049
2021-08-24 20:39 Christian Grothoff Target Version => 0.8.5
2022-10-20 10:45 Christian Grothoff Target Version 0.8.5 => 0.9
2022-10-20 11:29 Christian Grothoff Note Added: 0019253
2022-10-20 11:29 Christian Grothoff Priority normal => high
2022-10-20 11:29 Christian Grothoff Target Version 0.9 => 0.9.1
2022-12-16 19:02 Christian Grothoff Relationship added related to 0007316
2022-12-23 15:02 sebasjm Note Added: 0019538
2022-12-23 15:02 sebasjm File Added: Selection_343.png
2022-12-23 15:02 sebasjm File Added: Selection_344.png
2023-01-04 13:35 Florian Dold Assigned To Florian Dold => sebasjm
2023-01-04 19:48 sebasjm Status assigned => resolved
2023-01-04 19:48 sebasjm Resolution open => fixed
2023-01-06 15:53 Christian Grothoff Fixed in Version => 0.9.1
2023-01-26 22:53 Christian Grothoff Status resolved => closed
2023-04-13 20:37 Florian Dold Category wallet (WebExtensions) => wallet (WebExtension)