New issue
Advanced search Search tips

Issue 907273 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows , Mac
Pri: 2
Type: Bug


Participants' hotlists:
Harmony-Cast-Dialog


Sign in to add a comment

Cast dialog can overlap file picker, multiple file pickers can be opened, clicking cancel on one crashes Chrome.

Project Member Reported by dbbrooks@chromium.org, Nov 20

Issue description

Chrome Version: 72.0.3610.2
OS: Win 10
MR: 7218.1119.0.0

Sort of 3 issues all in one, but they seem tied together.

What steps will reproduce the problem?
(1) On Win, select local files from the Sources list, and select Cast file. A Windows file picker is opened.
(2) If it doesn't happen automatically (it will if there are lots of sinks), hover the mouse over a part of the cast dialog visible underneath the file picker, and the cast dialog will appear on top of the Windows file picker. <--- First bug: The cast dialog shouldn't be able to be displayed on top of the file picker. See screenshot (On Mac, you need to click the Cast dialog on the Sources button, not just hover over, or click elsewhere on it.)
(3) Open the sources menu again, select Cast file again. Another file picker is opened on top of the previous one. <--- Second bug: It should only be possible to open one at a time.
(4) Click cancel on each of the file pickers. Chrome crashes (every time) <--- Third bug.

On Mac, only the first of the 3 issues repros, and after step 3 on Mac, the file picker closes and re-opens, this time closing the cast dialog as well. So when you pick a file to cast and select a source (by re-opening the dialog), the local file that you picked isn't loaded. <--- Should I log this as a separate issue for Mac only?


Crash ID's:
12aae58fe683df97
1bd58da4a8386a7e
118ac1cd0c17df4e

 
MROverlap_FilePicker.PNG
32.5 KB View Download
Description: Show this description
Cc: cliffordcheng@chromium.org
Labels: OS-Mac
Cc: bsep@chromium.org
When a file picker is open, it prevents the Chrome window from getting focused. It looks like the Cast dialog is considered a separate window from the main Chrome window, and thus can receive focus.

Sign in to add a comment