Bug 6109

Summary: Failed to dismiss filter modal dialogs by clicking anywhere outside the modal dialog.
Product: [Build System, Metadata & Runtime] Toaster Reporter: Yuan Sun <Yuan.Sun2>
Component: toasterAssignee: Farrell Wymore <farrell.wymore>
Status: VERIFIED WONTFIX QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: normal    
Priority: Medium CC: alexandru.damian, belen.barros.pena, cristiana.voicu, david.reyna, jessica.zhang, stanciux.mihail
Version: 1.6.1   
Target Milestone: 1.6.1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Yuan Sun 2014-04-04 03:28:36 UTC
Failed to dismiss filter modal dialogs by clicking anywhere outside the modal dialog.


Test in firefox 25.
git commit:3e528d3e4bc542ca2f654c54363c56af0fb9f61b
See page 6 of https://bugzilla.yoctoproject.org/attachment.cgi?id=1727.
Comment 1 Belen Barros Pena 2014-04-04 17:10:36 UTC
This is a funny one. The design specification simply describes the default behaviour of the Bootstrap popups, and the example in the Bootstrap documentation works as expected. Go to

http://getbootstrap.com/2.3.2/javascript.html#modals

and click the blue button saying "Launch demo modal" to see it working. You can dismiss the dialog by pressing the escape button or clicking outside the modal dialog.

However, our Toaster modal dialogs can only be dismissed by clicking on the close button on the top right corner of the dialog. I cannot see any difference in the markup between the Bootstrap example and our dialogs, so I have no idea what could be causing this.
Comment 2 Farrell Wymore 2014-04-04 19:22:56 UTC
Where/how does this happen? Could you please send an example url/page and scenario - what to do and what to see and what is incorrect. Thanks
Comment 3 Belen Barros Pena 2014-04-07 09:35:24 UTC
(In reply to comment #2)
> Where/how does this happen? Could you please send an example url/page and
> scenario - what to do and what to see and what is incorrect. Thanks

Open Toaster, and in the all builds table, click on one of the filter buttons (for example, the one in the Outcome table heading). A dialog will come up. You should be able to dismiss that dialog in 3 ways:

1. Clicking the x button on the top right hand corner of the dialog (this one works in Toaster)

2. Pressing the esc key on your keyboard (this one doesn't work in Toaster)

3. Clicking anywhere outside the dialog area (this one doesn't work either)
Comment 4 Farrell Wymore 2014-06-04 21:32:04 UTC
Per discussion w/Belen, we decided this is not to be fixed because it is acting per widget's design. Furthermore, the object ids are not available so it is not feasible without significant instruction into jquery.
Comment 5 Mihail Stanciu 2014-08-11 15:04:31 UTC
Verified.