IndiePass / indiepass-desktop

An IndieWeb Desktop app with extensions for sharing information to micropub endpoints and reading from microsub endpoints
https://indigenous.marksuth.dev
GNU General Public License v3.0
41 stars 1 forks source link

Clicking on a menu item opens `index.html` in the browser #148

Open binyamin opened 2 years ago

binyamin commented 2 years ago

I cloned the Indigenous Git repository and ran it. I'm not sure what triggers the following behavior. It seems to only happen once I open the settings page. But after that, every menu item opens a browser window, and I get the following line in the console:

kf.service.services: KApplicationTrader: mimeType "x-scheme-handler/file" not found

I think it's related to the fact that the HTML uses anchor links[^1]. If I change the HTML to use a button, it works fine.

Details

OS: Arch Linux (DE is plasma) Browser: Firefox Indigenous: Installed via Git.

[^1]: From MDN: In general, you should only use a hyperlink for navigation to a real URL..

marksuth commented 2 years ago

Sorry for the delay in responding, and thanks for flagging it.

I can see you've done work on a pull request to start and correct this issue which is great, and I'll be happy to merge the changes when you've completed your pull request, or take over finishing the corrections to get it sorted.

Cheers, Mark