axolotl-chat / axolotl

A Signal compatible cross plattform client written in Go, Rust and Vuejs
https://axolotl.chat
GNU General Public License v3.0
329 stars 52 forks source link

Tapping www-link when morph is already running opens page multiple times #718

Open tsiksum opened 2 years ago

tsiksum commented 2 years ago

Description

When a www-link is sent to a chat and browser morph is already running tapping the link will open the webpage in multiple tabs.

Whereas when browser isn't running yet it will open only one tab.

Steps to Reproduce

see above

Versions

1.09

Device

Fairphone 3 OTA-21 (stable)

Link to Debug Log

INFO[2022/01/11 16:10:58] [axolotl-qml] qml: [axolotl ut] request: https://www.example.de INFO[2022/01/11 16:10:58] [axolotl-qml] file:///opt/click.ubuntu.com/textsecure.nanuc/1.0.9/ut/MainUt.qml:139: ReferenceError: securityOrigin is not defined INFO[2022/01/11 16:10:58] [axolotl-qml] qml: [axolotl ut] request: https://www.example.de INFO[2022/01/11 16:10:58] [axolotl-qml] file:///opt/click.ubuntu.com/textsecure.nanuc/1.0.9/ut/MainUt.qml:139: ReferenceError: securityOrigin is not defined INFO[2022/01/11 16:10:58] [axolotl-qml] qml: [axolotl ut] request: https://www.example.de INFO[2022/01/11 16:10:58] [axolotl-qml] file:///opt/click.ubuntu.com/textsecure.nanuc/1.0.9/ut/MainUt.qml:139: ReferenceError: securityOrigin is not defined INFO[2022/01/11 16:10:58] [axolotl-qml] qml: [axolotl ut] request: https://www.example.de INFO[2022/01/11 16:10:58] [axolotl-qml] file:///opt/click.ubuntu.com/textsecure.nanuc/1.0.9/ut/MainUt.qml:139: ReferenceError: securityOrigin is not defined INFO[2022/01/11 16:10:58] [axolotl-qml] qml: [axolotl ut] request: https://www.example.de INFO[2022/01/11 16:10:58] [axolotl-qml] file:///opt/click.ubuntu.com/textsecure.nanuc/1.0.9/ut/MainUt.qml:139: ReferenceError: securityOrigin is not defined INFO[2022/01/11 16:10:58] [axolotl-qml] qml: [axolotl ut] request: https://www.example.de INFO[2022/01/11 16:10:58] [axolotl-qml] file:///opt/click.ubuntu.com/textsecure.nanuc/1.0.9/ut/MainUt.qml:139: ReferenceError: securityOrigin is not defined INFO[2022/01/11 16:10:58] [axolotl-qml] qml: [axolotl ut] request: https://www.example.de INFO[2022/01/11 16:10:58] [axolotl-qml] file:///opt/click.ubuntu.com/textsecure.nanuc/1.0.9/ut/MainUt.qml:139: ReferenceError: securityOrigin is not defined INFO[2022/01/11 16:10:58] [axolotl-qml] qml: [axolotl ut] request: https://www.example.de INFO[2022/01/11 16:10:58] [axolotl-qml] file:///opt/click.ubuntu.com/textsecure.nanuc/1.0.9/ut/MainUt.qml:139: ReferenceError: securityOrigin is not defined INFO[2022/01/11 16:10:58] [axolotl-qml] qml: [axolotl ut] request: https://www.example.de INFO[2022/01/11 16:10:58] [axolotl-qml] file:///opt/click.ubuntu.com/textsecure.nanuc/1.0.9/ut/MainUt.qml:139: ReferenceError: securityOrigin is not defined INFO[2022/01/11 16:10:58] [axolotl-qml] qml: [axolotl ut] request: https://www.example.de INFO[2022/01/11 16:10:58] [axolotl-qml] file:///opt/click.ubuntu.com/textsecure.nanuc/1.0.9/ut/MainUt.qml:139: ReferenceError: securityOrigin is not defined INFO[2022/01/11 16:10:58] [axolotl-qml] qml: [axolotl ut] request: https://www.example.de INFO[2022/01/11 16:10:58] [axolotl-qml] file:///opt/click.ubuntu.com/textsecure.nanuc/1.0.9/ut/MainUt.qml:139: ReferenceError: securityOrigin is not defined INFO[2022/01/11 16:10:58] [axolotl-qml] qml: [axolotl ut] request: https://www.example.de INFO[2022/01/11 16:10:58] [axolotl-qml] file:///opt/click.ubuntu.com/textsecure.nanuc/1.0.9/ut/MainUt.qml:139: ReferenceError: securityOrigin is not defined INFO[2022/01/11 16:10:58] [axolotl-qml] qml: [axolotl ut] request: https://www.example.de INFO[2022/01/11 16:10:58] [axolotl-qml] file:///opt/click.ubuntu.com/textsecure.nanuc/1.0.9/ut/MainUt.qml:139: ReferenceError: securityOrigin is not defined INFO[2022/01/11 16:10:58] [axolotl-qml] qml: [axolotl ut] request: https://www.example.de INFO[2022/01/11 16:10:58] [axolotl-qml] file:///opt/click.ubuntu.com/textsecure.nanuc/1.0.9/ut/MainUt.qml:139: ReferenceError: securityOrigin is not defined INFO[2022/01/11 16:10:58] [axolotl-qml] qml: [axolotl ut] request: https://www.example.de INFO[2022/01/11 16:10:58] [axolotl-qml] file:///opt/click.ubuntu.com/textsecure.nanuc/1.0.9/ut/MainUt.qml:139: ReferenceError: securityOrigin is not defined INFO[2022/01/11 16:10:58] [axolotl-qml] qml: [axolotl ut] request: https://www.example.de INFO[2022/01/11 16:10:58] [axolotl-qml] file:///opt/click.ubuntu.com/textsecure.nanuc/1.0.9/ut/MainUt.qml:139: ReferenceError: securityOrigin is not defined INFO[2022/01/11 16:10:58] [axolotl-qml] qml: [axolotl ut] request: https://www.example.de INFO[2022/01/11 16:10:58] [axolotl-qml] file:///opt/click.ubuntu.com/textsecure.nanuc/1.0.9/ut/MainUt.qml:139: ReferenceError: securityOrigin is not defined INFO[2022/01/11 16:10:58] [axolotl-qml] qml: [axolotl ut] request: https://www.example.de INFO[2022/01/11 16:10:58] [axolotl-qml] file:///opt/click.ubuntu.com/textsecure.nanuc/1.0.9/ut/MainUt.qml:139: ReferenceError: securityOrigin is not defined INFO[2022/01/11 16:10:58] [axolotl-qml] qml: [axolotl ut] request: https://www.example.de INFO[2022/01/11 16:10:58] [axolotl-qml] file:///opt/click.ubuntu.com/textsecure.nanuc/1.0.9/ut/MainUt.qml:139: ReferenceError: securityOrigin is not defined

nalysius commented 2 years ago

The number of tabs opened depends, it seems the more messages you have in the conversation the more tabs will be opened. I reproduce it on my device, I'll try to investigate.

nalysius commented 2 years ago

The problem is now identified and a solution has been found. For reference: it was not related to the number of messages in the conversation but instead to the number of times you opened the conversation. Switching between the conversations list and the conversation several times increased the number of tabs that were opened.