New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 605025 link

Starred by 3 users

Issue metadata

Status: Archived
Owner:
Closed: Aug 22
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 3
Type: Bug-Regression

Blocked on:
issue 635172



Sign in to add a comment

‘Add to desktop’ dialog is window modal

Reported by dmascare...@etouch.net, Apr 20 2016

Issue description

Chrome Version:52.0.2712.0 (Official Build) 85719a9f9873cdb13c53915d184257e3950c8b9c-refs/heads/master@{#388092} 32/64 bit
OS: Windows, Linux

What steps will reproduce the problem?
1. Launch chrome,navigate to any webpage and click on Wrench >> More tools >> Add to desktop option.
2. Try to reload the page or open new Ntp and observe.

Actual: Unnecessary ‘Add to desktop’ dialog stays after step 2
Expected: Add to desktop dialog box should not stay.

This is regression issue, broken in ‘M 52’ and will soon update the bisect info.

Good build: 52.0.2706.0
Bad build: 52.0.2708.0

 
Labels: hasbisect
Owner: est...@chromium.org
Status: Assigned (was: Unconfirmed)
Narrow bisect:
https://chromium.googlesource.com/chromium/src/+log/c3ea6f59b346bb589573f286465b9dd137119366..7987e9767be6e2a3459db0779dfb8664056eccf1?pretty=fuller&n=100

Suspecting: r387097 ?

Kindly help to re-assign if your change is not the cause for this issue.

Note: Above issue is note reproducible on Mac OS.
Actual_desktop.mp4
741 KB Download
Labels: ReleaseBlock-Stable
adding RB-label, please change if required.

Comment 3 by est...@chromium.org, Apr 26 2016

Cc: hwi@chromium.org
I believe this is a desired change.

Before, this thing looked like a modal dialog but acted like a bubble (dismissing when it lost focus). I don't think this disjointedness was intentional. Now it looks and acts as a modal dialog (it throbs when you try to click outside it, you have to explicitly close). +hwi to confirm new behavior

Comment 4 by hwi@chromium.org, Apr 26 2016

QQ: I'm on 52.0.2708.0. Does 52.0.2712.0 have a different version? 

Comment 5 by est...@chromium.org, Apr 26 2016

not entirely sure, can you use canary?

Comment 6 by hwi@chromium.org, Apr 26 2016

I only tested on 52.0.2708.0 on CrOS (i.e. Add to Shelf). 

It should behave like "Cast" dialog e.g. 
1) The content area should not be navigable, 
2) On reload, the dialog should close, 
3) The dialog should not carry over to a new tab. 

The "Add to Shelf" didn't do any of those, but, just stayed over on top of everything, which should be fixed. Was I testing on a bad build, should I test on a windows machine to observe the issue correctly? Do the behaviors 1),2),3) above make sense? 

Comment 7 by hwi@chromium.org, Apr 26 2016

fyi: my windows machine has an issue at the moment.

Comment 8 by est...@chromium.org, Apr 27 2016

This bug is just about a new behavior in "Add to desktop". If that doesn't exist on CrOS, you'll have to borrow someone's windows machine.

The only change that happened was that this thing which looked like a modal dialog now behaves like one as well. If we want to change how modal dialogs behave, that is an issue for future work.

Comment 9 by hwi@chromium.org, Apr 28 2016

Just tested. 

From my understanding, only blocking the content area interaction but not blocking the toolbar area interaction is how Chrome's modal has been behaved: e.g. Print, Credit card verification, Credential Manager API account chooser, allows to interact with the toolbar controls e.g. refresh, tabs. Is it intentional to change this Chrome modal behavior on "Add to desktop"?


Those are tab modal dialogs. This is browser modal. Compare to extension installation dialog.

Comment 11 by hwi@chromium.org, Apr 28 2016

Cc: ainslie@chromium.org
Good to know the distinction. Thanks. 

I think "Add to desktop" should use Tab Modal. Do you think differentlY? 

(Probably for future work) I feel we should consider using Tab Modal only for all modals because the functions are typically called in a continuum of what the user was doing on the tab. Also I think it's useful and natural for user to be able to change context by going to another tab or to refresh/close/update the same tab via toolbar and tabstrip interaction.

ainslie@ - could you provide any input to clarify the modal behavior?


Comment 12 by hwi@chromium.org, Apr 28 2016

To add to #11, "extension installation dialog" uses Tab Modal on Mac. :-0
Components: -UI>Settings Internals>Views>Desktop
Labels: -Pri-1 -M-52 -ReleaseBlock-Stable Pri-3
Summary: ‘Add to desktop’ dialog is window modal (was: Regression: Unnecessary ‘Add to desktop’ dialog stays even after opening new NTP.)
Sometimes it can be hard or impossible to make a dialog tab modal (due to implementation details). In this case I think it would be possible to do. But I don't think tab modal is always better. If it's a dialog that

a) is easy to get to (i.e. just click an item in a menu and it pops up immediately)
b) has little in the way of state

I don't see much purpose in allowing the user to interrupt and return to this flow. They can just as easily dismiss and re-initiate it later.

In either case, I think we're getting away from the original purpose of this bug. It sounds like the old behavior was not the desired behavior. Perhaps the new behavior is not the desired either, but it's closer.


re: #11 
Hwi, I'd be interested in an audit to see if we could unify modality (either tab or window) on Desktop. And also that we should split that off from this bug. Tab modal in this case SGTM.

re: #8 
I agree that if it looks modal, it should behave modally. 


Blocking: 630357
Blocking: -630357
Blockedon: 630357
Blockedon: -630357 635172
Status: Archived (was: Assigned)
Archiving old bugs that haven't been modified in over two years. 

If you feel this issue should still be addressed, feel free to reopen it or to file a new issue. Thanks!

Sign in to add a comment