Clicking inline links -> opening multiple times

Describe the bug

When an inline link is clicked. Sometimes the site opens once. Sometimes multiple times.

In the video i clicked the link twice. It first opened once. On the second click, it opened more than 10 times.
links-2021-09-14-121428.mp4

To Reproduce

Steps to reproduce the behavior:

    1. Paste link
    1. Click it
    1. Wait a short time, if just one tab/window opens. Then try again if it is still one.

Expected behavior

Open once

System Information:

  • OS: Linux
  • Anytype Version: 0.18.68

I have some plugins in firefox. But no other application ever had that behaviour.

Sometimes the link is opened multiple times. Then a short time nothing happens and more tabs open

Edit: I just disabled all plugins. Error is still there.

4 Likes

Just tested this on another device. Also Linux. Same behaviour.

If there is a way I can get you some debug information, I am more than happy to help.

1 Like

Happens on my device too. After trying it for few times it somehow opened 5 tabs.

2 Likes

@Sedulous Which browser?

@kEbZeCK Firefox v91 on Arch Linux.

1 Like

Yeah just tested on linux, it still happens

1 Like

Description of Bug

When clicking on a link (not a hyperlink), the website sometimes opens several times.

There seems to be some sort of pattern, but I can’t figure out what it is.

To Reproduce

    1. Paste a link directly into Anytype
    1. Click on the link
    1. If this works as intended, click a few more times

System Information

• Windows 10 Home, version 10.0.19042 Build 19042

• Anytype version 0.20.9

Additional Context/Information

  • Default browser: Microsoft Edge (have not tested with other browsers)

Video Showcasing The Bug

https://streamable.com/0v4p7o

(attachment below is the same video)
ro8mna5bkn.mp4

Thank you, hope you have an amazing day/night! :grin:

Already reported over [here](Clicking inline links -> opening multiple times)

1 Like

Thank you!

@Oshyan, please merge?

I can confirm this issue:

  • Anytype Version: 0.21.9
  • Browser: Google Chrome 96.0
  • OS: Windows 10 21H1

It looks like the click is counted in the background. If I click the first time, one tab is opened. If I click the second time, two tabs are opened. And so on. If I switch to the start page and go back to the Document containing the hyperlink, the counter is reset (two tabs on first click again). This is happening for links like https://community.anytype.io/ on a Document. The link was not insert as bookmark.

3 Likes