New issue
Advanced search Search tips

Issue 751528 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Unable to prevent additional dialog boxes from being created

Reported by foster.b...@gmail.com, Aug 2 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

Steps to reproduce the problem:
This is difficult to provide as this is occurring in a proprietary website that you would not have access to.

1) Log into site
2) Navigate to page to take action
3) Attempt to update a drop-down field > Dialog box appears advising this drop-down cannot be edited
4) Click OK > Dialog box loops continually without an option to prevent additional dialogs from being created

What is the expected behavior?
The dialog box should have the option to prevent additional dialogs from being created. 

What went wrong?
The dialog box loops continually. Sometimes lasts 10 dialog boxes, sometimes lasts indefinitely and we have to close the window and re-open to take action. 

There is a feature available in IE11 and Firefox that allows us to prevent additional dialog boxes from being created (see attached). This feature is not available in Chrome and I am not sure why. 

Did this work before? N/A 

Chrome version: 59.0.3071.115  Channel: n/a
OS Version: 10.0
Flash Version: Shockwave Flash 26.0 r0
 
FireFox_Pop_Up.png
37.3 KB View Download
Chrome_Dialogue (2).png
8.6 KB View Download
Cc: pastarmovj@chromium.org pkasting@chromium.org
Hi Peter, do you know something about that, or who can answer this question? 

IIRC Chrome also used to show those (not on the first dialog but on consecutive ones from the same page).
Cc: -pkasting@chromium.org a...@chromium.org
Avi would have a better idea about this area than me.

Comment 3 by a...@chromium.org, Aug 12 2017

Owner: a...@chromium.org
Status: WontFix (was: Unconfirmed)
This was a feature of the old JavaScript dialogs to prevent a page from being able to lock a user into it. Now that pages are closable while dialogs are up, they are no longer needed.

When we had them, they were a constant source of confusion. People wanted options to reset them. People asked why they didn't apply to every tab from that site.

If this site wants to harass its users with a dialog, the users are free to close the tab.
The issue with this is that the end user will click into a field that is not editable and our site throws a message advising that the field cannot be changed. This dialog box is then duplicated and looped over and over. 

While closing the tab will allow the user to log back in and take action, I felt like providing the user an option to disallow the site from creating additional dialogs would be a better user experience than forcing the user to close the tab and then log back in.

Is there any other options that we could enable on our end or is this feature just no longer available at all?

Comment 5 by a...@chromium.org, Aug 14 2017

That's a different issue of focus. I certainly wouldn't rely on it to show dialogs, as you've found out.

The easy way out is to not use a dialog. You can alert the user with red text in a div that's hidden until needed. Etc.

Sign in to add a comment