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

Issue 784219 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Last visit > 30 days ago
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Window manager crashing due to lack of clipdata in drag

Reported by ad...@tilefarm.com, Nov 12 2017

Issue description

Chrome Version: 62.0.3202.82
Chrome OS Version: 9901.66.0 (Official Build) stable-channel kefka
Chrome OS Platform: Dell Chromebook 11 3189 P26T
Network info: Can get info if this becomes relevant

Please specify Cr-* of the system to which this bug/feature applies (add
the label below).

Steps To Reproduce:
(1) Install Android app from private beta on Play Store, or over ADB
(2) Touch view
(3) Begin dragging

Expected Result:
User will be able to drag and drop a dragshadow.

Actual Result:
Window manager crashes when exception is thrown.  App continues but drag does not happen.

How frequently does this problem reproduce? (Always, sometimes, hard to
reproduce?)
Almost always.  Persists even after wiping the device.  Occasionally it will magically start working.

What is the impact to the user, and is there a workaround? If so, what is
it?
Many features in my app are unusable.  As a work around, I've added some clipdata to my call to View.startDrag() instead of passing null.  Views will drag but it is extremely laggy (shadow only moves about once a second or so)

Please provide any additional information below. Attach a screen shot or
log if possible.

For graphics-related bugs, please copy/paste the contents of the about:gpu
page at the end of this report.


 
logcat
11.0 KB View Download
code snippet
475 bytes View Download

Comment 1 by vsu...@chromium.org, Nov 13 2017

Components: Platform>ARC UI>Shell>WindowManager

Comment 2 by shihuis@google.com, Nov 14 2017

Owner: shihuis@google.com

Comment 3 by ad...@tilefarm.com, Dec 10 2017

I created a minimal project that replicates this bug.  It contains nothing but a button that calls starDrag() or startDragAndDrop() on ACTION_MOVE.  The project is attached as a zip to this comment.
MyApplication.zip
131 KB Download

Comment 4 by uekawa@google.com, Dec 11 2017

Cc: hirono@chromium.org

Comment 5 by hirono@chromium.org, Dec 11 2017

Cc: shihuis@google.com
Owner: hirono@chromium.org
Status: Assigned (was: Unconfirmed)
This is mine. Let me take a look.

Comment 6 by ad...@tilefarm.com, Dec 11 2017

Sorry, I should have explicitly mentioned this in the issue report: this seems to only occurs on the device mentioned (Dell Chromebook 11 3189 P26T).  This does not occur on any Android device I have used, and it does not occur on a different model Chromebook I tested it on.

Comment 7 by hirono@chromium.org, Dec 12 2017

Status: Fixed (was: Assigned)
Thank you for reporting. The issue is fixed internally and will be published in next few milestones.

Status: Archived (was: Fixed)

Sign in to add a comment