Javascript alert freezes all tabs not just the tab the alert is shown in
-
Javascript alert freezes all tabs not just the tab the alert is shown in.
Very annoying because occasionally I use alerts for debugging and I cant then swap to another window to check something out.
-
@chrisbackhouse Hello and Welcome to the Vivaldi Community
I can't confirm this, JS alerts do not freeze all tabs using the following basic test cases:
https://testpages.herokuapp.com/styled/alerts/alert-test.html
https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_alertPlease post a page where this happens or a test case.
-
Hi Pathduck,
Thanks for your reply. I think I may have accidentally figured that it's not all tabs that freeze but just tabs for the same domain - this also is apparent with your test page.So open two tabs and try again...
Chris
-
@chrisbackhouse OK I can reproduce it with several tabs from the same domain. This is why it's necessary need to do the required testing before reporting a bug
Please read:
carefully and report the bug to the Vivaldi bugtracker
-
OK, noted. I'll read those tonight
-
Ppafflick moved this topic from Vivaldi for macOS on
-
The bug has been reported as
VB-82002
. I've updated the report internally to add information from this thread. -
I've also noticed that alert in a tab blocks other tabs, and confirm that only same domain tabs are affected, but it is really weird. Did I understand it correctly that this was reported as a bug? Or what exactly was reported as a bug? Your private bugtracker is quite obscure.
The report was a year ago but alert still locks tabs of the same domain, and there are no reasonable reasons to do so, so it looks like a bug that is still unfixed.
-
@MVV_ Yes, the block of tabs with same domain is known as VB-82002 for 5.x and 6.0.
-
@DoctorG,
Thanks for the clarification. And when this bug is planned to be fixed? -
@MVV_ I have no timeline.
-
@pafflick I am having to deal with this bug on a daily basis, and it is extremely annoying. A board gaming site where I spend a lot of time uses window.alert to notify you when you get on turn, so this pops up dynamically at any time in a background tab wherever any game is open. It has the consequence of completely disabling the parent page (from which one launches games), which is extremely off-putting because the browser appears to be hanging without feedback of any sort, but the worst aspect is that one cannot tell which of the many open tabs is the one with the modal dialog open, i.e. the blocking one. There is no visual cue whatsoever. I have hundreds of tabs open at any time, dozens from the same site, and this is a major pain. Please prioritize fixing this bug - it is a quite insane behavior, and Vivaldi is the only browser doing this. A modal dialog is supposed to prevent interaction with the page opening the dialog, and NOTHING ELSE.
Btw, when this happens, even the Ctrl-T function for opening a new tab is blocked, and that makes zero sense as that's not even related to the blocked page, but is a browser-level function.
-
I can not reproduce it with 6.2.3102.3 and 6.1.3035.302
Is this Testcase blocking:
Open https://w3schools.com in one tab
Open https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_alert in another, unrelated tab.
Trigger the alert and go to other tab (without dismissing the dialogue),
The page in other tab is responsive -
@DoctorG said in Javascript alert freezes all tabs not just the tab the alert is shown in:
VB-82002
Bug VB-82002 is Closed now.
If someone can reproduce blocking of other tabs, please explain steps, and i will reopen the bug report.