Closed Bug 1013854 Opened 10 years ago Closed 10 years ago

[permission] make permission dialog content scrollable

Categories

(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 938467

People

(Reporter: gasolin, Unassigned)

References

Details

Attachments

(4 files)

Since permission dialog is orientable but there're more items in gUM dialog. We may need lock the orientation to portrait if dialog is prompt.
It only affect devices that have back/front camera.
blocking-b2g: --- → 1.4?
@omega, this issue is only reproducible for getUserMedia dialog.
Should we lock all permission prompts, or just only lock getUserMedia dialog?
Flags: needinfo?(ofeng)
What is the current behavior?

Can we please check if this happens in 1.3?

Please help with STR and screen shot.
Flags: needinfo?(gasolin)
1.3 doesn't have getUserMedia video and every element will within the dialog. I'll append screenshot later
Flags: needinfo?(gasolin)
In a landscape app, it's bad UX to pop up a portrait dialog, so I think it's better to make it scrollable rather than lock orientation.
Flags: needinfo?(ofeng)
Summary: [permission] lock orientation when permission dialog is prompt → [permission] make permission dialog content scrollable
Attached image land_geo.png
geolocation prompt in landscape, looks fine
Attached image land_gum.png
getUserMedia video with front camera prompt in landscape, UI looks wrong
Reproduce Steps: (Need Device with front camera)

1. Open UI tests app in portrait
2. switch to API tab at bottom
3. click getUserMedia panel
4. tap Video1 button, the prompt is shown
5. change orientation to landscape

Fact:

The select devices list is out of space and render in wrong shape
Attached image gum_14_land.png
seems 1.4(current master) UI is lesser, did not have this issue
and is related to bug 938467
blocking-b2g: 1.4? → 2.0?
Depends on: 938467
will fix it in bug 938467
Status: NEW → RESOLVED
blocking-b2g: 2.0? → ---
Closed: 10 years ago
Resolution: --- → DUPLICATE
Attached image land_gum_scrollable.png
scrollable UI
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: