Open Bug 1679766 Opened 5 years ago Updated 5 years ago

setRotation() breaks GeckoView

Categories

(GeckoView :: General, defect, P3)

Firefox 83
Unspecified
All
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: git, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0

Steps to reproduce:

Setting the rotation of the GeckoView with 'setRotation(90f)' or in the XML layout with 'android:rotation="90"'.

Actual results:

The view itself rotates but not the actual page.

Expected results:

Gecko should rotate the page like the Chromium WebView does.

Attachment #9190287 - Attachment description: rotation.png → Unexpected behavior (GeckoView)

Sebastian, do you know how AC handles rotations? I'm wondering why we're not seeing this problem in AC/Fenix.

Flags: needinfo?(s.kaspari)
Priority: -- → P3

(In reply to Agi Sferro | ni please :agi | ⏰ PST | he/him from comment #2)

Sebastian, do you know how AC handles rotations? I'm wondering why we're not seeing this problem in AC/Fenix.

We don't do any manual rotations in code or XML in AC. For regular device rotations we let Android handle this. I wonder what the use case for rotating the view is?

Flags: needinfo?(s.kaspari)
Severity: -- → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: