Bug 1525819
Summary: | Warning dialogue box disappears automatically when click out of the box | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Yanping Zhang <yanpzhan> |
Component: | Management Console | Assignee: | Robb Hamilton <rhamilto> |
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 3.7.1 | CC: | aos-bugs, jokerman, mmccomas, rhamilto, spadgett, yapei |
Target Milestone: | --- | ||
Target Release: | 3.9.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Doc Text: Cause: By default, dialogs in the console can be dismissed by clicking in the negative space surrounding the dialog. Consequence: The warning dialog could be inadvertently dismissed. Fix: The warning dialog's configuration was changed so it can only be dismissed by clicking one of the buttons in the dialog. Result: The warning dialog can no longer be inadvertently dismissed by the user as clicking one of the dialog's buttons is now required in order to close the dialog.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2018-03-28 14:15:24 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Yanping Zhang
2017-12-14 06:19:36 UTC
PR to resolve: https://github.com/openshift/origin-web-console/pull/2639 Checked on OCP v3.9.0-0.19.0, when import a special resource file, eg, a quota file, the warning modal shows and will not disappear when click outside the modal. Import a template file with special resource file, the warning modal also keeps there when click outside of it. The bug has been fixed to some degree, but I found when import template, there is a modal showing "What do you like to do?", use could choose "Process the template","Save the template". This modal also disappear when click outside it. @Robb, would you fix it here or in future? If it won't be included in this bug, I would move the bug to "Verified' Sorry, Doc Text is changed by my mistake, recovered it. > @Robb, would you fix it here or in future?
I'll fix it here. The original BZ didn't mention the second modal, so I didn't fix it. Note that we have many modals across the console, and the default behavior is to allow clicking on the background in order to close the modal. We should probably check that all confirmation modals have the default configuration changed.
Follow on fix of second modal: https://github.com/openshift/origin-web-console/pull/2658 @Robb, As you noted, it is default behavior for many modals to close when clicking on the backgroud, you have fixed some. Thanks for your following up. And about the "Tour Catalog Home" modal I mentioned in bug 1533756 additional info, need it be updated too? @yanpzhan, I think the "Tout Catalog Home" is not a modal as we understand. So it's not in the scope of the fix, @robb, could you please confirm? Now all modals are expected to open when user click background, checked in 3.9.0-0.20.0 > @yanpzhan, I think the "Tout Catalog Home" is not a modal as we understand. So it's not in the scope of the fix, @robb, could you please confirm?
Yeah. Let's keep that separate since it's technically not a modal.
Now the issues in the bug have been fixed in OCP v3.9.0-0.20.0, pls move it to ON_QA. Move to VERIFIED per comment 10 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0489 |