Closed Bug 1066061 Opened 10 years ago Closed 6 years ago

getUserMedia permissions dialog can't be used when the phone is rotated

Categories

(Firefox OS Graveyard :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(b2g-v2.0 affected, b2g-v2.1 affected, b2g-v2.2 affected)

RESOLVED WONTFIX
Tracking Status
b2g-v2.0 --- affected
b2g-v2.1 --- affected
b2g-v2.2 --- affected

People

(Reporter: gcp, Unassigned)

Details

Attachments

(2 files)

Found while testing bug 1059573.

Use the phone in normal (portait) mode. Use any feature which will prompt a gUM doorhanger. e.g. http://mozilla.github.io/webrtc-landing/gum_test.html and click "Audio"

You will get a popup. Now rotate the phone to landscape. The part of the popup where you have to click to dismiss it or select a device is off the screen. You can only get out by rotating the phone back.
QA Wanted for branch checks & screenshot.
Keywords: qawanted
Unable to repro the bug on latest Master on Flame. The permission dialog window correctly adjusts to landscape/portrait when rotated.

Looks like currently there's a bug for taking screenshots in browser landscape mode so I took a photo of it.

It would help us QA-Wanted to repro the bug if you could specify which branch and build ID you saw this bug, and firmware version.

Tested on:
Device: Flame 2.2 Master
BuildID: 20140912061053
Gaia: b72909030e214175144342f7e5df7e88a2b52fd4
Gecko: 59d4326311e0
Version: 35.0a1 (2.2 Master)
Firmware: v165
User Agent: Mozilla/5.0 (Mobile; rv:35.0) Gecko/35.0 Firefox/35.0
Flags: needinfo?(gpascutto)
Base v180 image and then just flashed whatever ./config.sh flame-kk produces.

OS version: 2.2.0.0 prerelease
Platform version: 35.0a1
Build identifier: 2014091613716
Firmware: v180

I found that it's possible to get to the camera selection by scrolling, but there's no visual affordance that you can scroll, nor is there any indication that the selection options are there and can be reached by scrolling. There's just some empty space and no indication anything is missing.
Flags: needinfo?(gpascutto)
QA Contact: psiphantong
Unable to repro this issue on the Flame 2.2, 2.1, 2.0. 

Actual Results: The 'Don't Share' and the 'Share' button is not off the screen. The permission dialog window display correctly.

Flame 2.2 KitKat Base (319mb)(Full Flash)

Environmental Variables:
Device: Flame 2.2 Master
BuildID: 20141003040207
Gaia: d711d1e469eeeecf25a02b2407a542598918b2c
Gecko: b85c260821ab
Gonk: 2c909e821d107d414f851e267dedcd7aae2cebf
Version: 35.0a1 (2.2 Master)
Firmware: V180
User Agent: Mozilla/5.0 (Mobile; rv:35.0) Gecko/35.0 Firefox/35.0
-----------------------------------------------------------
Flame 2.1 KitKat Base (319mb)(Full Flash)

Environmental Variables:
Device: Flame 2.1
BuildID: 20141003000203
Gaia: 9861c61ec302fb0316c753a2e1c0f592180515fd
Gecko: da68900d1c66
Gonk: 2c909e821d107d414f851e267dedcd7aae2cebf
Version: 34.0a2 (2.1)
Firmware: V180
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0
-----------------------------------------------------------
Flame 2.0 KitKat Base (319mb)(Full Flash)

Environmental Variables:
Device: Flame 2.0
BuildID: 20141003000204
Gaia: fa797854bfe708129ed54a158ad4336df1015c39
Gecko: 9b7fd1f78a15
Gonk: 2c909e821d107d414f851e267dedcd7aae2cebf
Version: 32.0 (2.0)
Firmware: V180
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
Hi Gian-Carlo,
    I'm looking over this bug to see what I can do for you and I have a few question here:

1. Can you confirm the screenshot Pi Wei attached is what your bug is concerning? In comment 3 you talk about the camera selection? This popup is referring to the Microphone, so it's confusing.


Gian-Carlo says:
"The part of the popup where you have to click to dismiss it or select a device is off the screen."

2. Do you mean the Don't Share and Share buttons?


If the screenshot attached is not where the bug is, would you mind attaching a correct screenshot of the screen that contains the bug? This would help out a lot.

Thanks,
QA Team
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(gpascutto)
QA Contact: psiphantong → croesch
Ok I think i see the issue here. However, please correct me if i'm wrong.

In the original STR you tell us to click on "Audio". Did you mean "Video"? 
I can see where the Camera share pop up could cause problems and I can look into that more.

I was just confused because the bug went through 2 other testers when they were all looking at the Audio pop up and it was never corrected in further comments.
(In reply to Cody Roesch [:croesch] from comment #6)

> In the original STR you tell us to click on "Audio". Did you mean "Video"? 

I don't know about the original thing that led me to file the bug, but in comment 3 I am indeed actually talking about video: "I found that it's possible to get to the camera selection..."
Flags: needinfo?(gpascutto)
I see the issue with flipping to landscape mode and important information gets pushed below the bottom of the screen. There is a quick showing of a scroll bar on the right side (visible for about 1 sec) but it's not around long enough to really notice and it does not stand out much even when the user can see it.

As we can see from Gian-Carlo's comment 3, this can be easily missed with the user getting confused by a lack of a persistent scroll bar on the pop up.

Tested with Shallow Flash on 319mb

This bug repro's on Flame KK builds: Flame 2.2 KK, Flame 2.1 KK, Flame 2.0 KK, Flame Base KK

Actual Results: When the phone is rotated to landscape mode, part of the pop up notification is off screen and just by looking, the user cannot tell they need to scroll to see the rest of the message.

Repro Rate: 4/4

Environmental Variables:
Device: Flame Master KK
BuildID: 20141007054552
Gaia: 9306e431d5b559035d9656902e413816b6ca3c26
Gecko: 25a98bac9264
Version: 35.0a1 (Master) 
Firmware Version: L1TC10011800
User Agent: Mozilla/5.0 (Mobile; rv:35.0) Gecko/35.0 Firefox/35.0
-----------------------------------------------------------------
Environmental Variables:
Device: Flame 2.1 KK
BuildID: 20141007040552
Gaia: 7f738edf66b9298bceef8a4981d05d04fd04e540
Gecko: 02e316668804
Version: 34.0a2 (Master) 
Firmware Version: L1TC10011800
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0
-----------------------------------------------------------------
Environmental Variables:
Device: Flame 2.0 KK
BuildID: 20141006201613
Gaia: 31a49c7932c7085961760a6bef9ed381ea38d7e3
Gecko: 4c0eb73dfac7
Version: 32.0 (2.0) 
Firmware Version: L1TC10011800
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
-----------------------------------------------------------------
Environmental Variables:
Device: Flame 2.0 Base KK
BuildID: 20140904160718
Gaia: 506da297098326c671523707caae6eaba7e718da
Gecko: 
Gonk: 
Version: 32.0 (2.0)
Firmware: V180
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
Flags: needinfo?(jmitchell)
Keywords: qawanted
I attached a new screenshot showing that information is missing on any popup that contains the camera where you need to choose between the Front and Back cameras. Notice there is no scroll bar seen to notify the user that more information is below.
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(jmitchell)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: