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

Issue 852473 link

Starred by 4 users

Issue metadata

Status: WontFix
Owner:
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Android LayoutParams FLAG_SECURE causes windows to be blank on external display

Reported by linuxi...@gmail.com, Jun 13 2018

Issue description

UserAgent: Mozilla/5.0 (X11; CrOS x86_64 10452.99.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.203 Safari/537.36

Steps to reproduce the problem:
1. Install Mycelium Bitcoin wallet.
2. Move window to external display.
3. Try to set a pin from the settings.

What is the expected behavior?
Pin entry box should be visible.

What went wrong?
Pin entry box is blank.

Did this work before? N/A 

Chrome version: 66.0.3359.203  Channel: n/a
OS Version: 10452.99.0
Flash Version: 

Perhaps this is related?

https://bugs.chromium.org/p/chromium/issues/detail?id=791495

I'm guessing this may be due to some kind of feature to handle secure overlays or something along those lines?
 
Screenshot 2018-06-13 at 13.54.32.png
269 KB View Download

Comment 1 by linuxi...@gmail.com, Jun 13 2018

It also appears blank in screenshots, for what it's worth... I tried to capture a correct screenshot, and an incorrect one... but that wasn't possible.

Comment 2 by linuxi...@gmail.com, Jun 13 2018

Hope this helps:

https://github.com/mycelium-com/wallet-android/blob/a3370e393176f90bd49d324c7803d0dab9056d9c/mbw/src/main/java/com/mycelium/wallet/PinDialog.java#L74

Looks like Mycelium is using the following feature for the PIN entry dialog:

https://developer.android.com/reference/android/view/WindowManager.LayoutParams#FLAG_SECURE

Sooo...

Maybe this is a good thing? Not sure... Could be a bug, I just can't tell.

Comment 3 by linuxi...@gmail.com, Jun 13 2018

If someone can update the title of this ticket, please?

"Android LayoutParams FLAG_SECURE causes windows to be blank on external display".

At least this comes up in search now for "FLAG_SECURE".

Thanks all...

Comment 4 by linuxi...@gmail.com, Jun 13 2018

I also opened an upstream issue here:
https://github.com/mycelium-com/wallet-android/issues/471

If this is indeed a feature, and not a bug, please feel free to close this issue.

Thanks!

Comment 5 by skuhne@chromium.org, Jun 15 2018

Components: -UI Infra>UI
Owner: domlasko...@chromium.org
Eternal display with Arc, this should be yours.

Comment 6 by skuhne@chromium.org, Jun 15 2018

Components: -Infra>UI UI>Shell>MultipleMonitor
Status: WontFix (was: Unconfirmed)
Summary: Android LayoutParams FLAG_SECURE causes windows to be blank on external display (was: Android Mycelium Bitcoin wallet PIN entry is blank on external display)
Right, this is working as intended. Secure surfaces are blacked out in screenshots and on unsecure external displays without HDCP support.
Cc: skuhne@chromium.org
 Issue 791495  has been merged into this issue.

Sign in to add a comment