Closed Bug 1666637 Opened 4 years ago Closed 4 years ago

[RTL] The new PIP toggle points in the wrong direction, even for RTL documents

Categories

(Toolkit :: Video/Audio Controls, defect, P2)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
85 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox81 --- wontfix
firefox82 --- wontfix
firefox83 --- wontfix
firefox84 --- wontfix
firefox85 --- verified

People

(Reporter: itiel_yn8, Assigned: reidshina6)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression, rtl)

Attachments

(2 files)

The icon was mirrored in bug 1598886.
After bug 1664899 the arrow in the PIP toggle icon is pointing to the right, while in fact the PIP window appears on the left side for RTL.

While fixing this, it'd be nice to mirror the icon for all documents, maybe by detecting Services.locale.isAppLocaleRTL and setting a rtl class on the toggle. Then mirroring can be done by targeting the .rtl class, or something.

Set release status flags based on info from the regressing bug 1664899

We have to be a little careful here because the toggle now contains introductory text the first time it is shown, and we won't want to mirror that, flipping the (likely already RTL, because localized) text...

Severity: -- → S3
Priority: -- → P2
Blocks: videopip, 1662870
OS: Unspecified → All
Hardware: Unspecified → Desktop
Assignee: nobody → rajendran.manish
Assignee: rajendran.manish → reidshina6
See Also: → 1670094
Depends on: 1672779
Pushed by mconley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a8d334522777
[RTL] The new PIP toggle points in the wrong direction, even for RTL documents r=mconley,Gijs
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch

The patch landed in nightly and beta is affected.
:reidshina6, is this bug important enough to require an uplift?
If not please set status_beta to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(reidshina6)

I have the same issue not with RTL, but when the video element uses transform: rotateY(180deg); It causes the PiP icon and text to be flipped.

I think this is commonly used by some conferencing software to display a mirrored picture of the user itself. Will that be fixed too? Should I open a new ticket?

Another issue with this technique is that the PiP video is not rotated as the original was.

(In reply to Aleksander Machniak from comment #8)

I have the same issue not with RTL, but when the video element uses transform: rotateY(180deg); It causes the PiP icon and text to be flipped.

I think this is commonly used by some conferencing software to display a mirrored picture of the user itself. Will that be fixed too? Should I open a new ticket?

Another issue with this technique is that the PiP video is not rotated as the original was.

I think this is covered in bug 1668863.

Flags: needinfo?(reidshina6)
Flags: qe-verify+

Reproduced the initial issue using an old Nightly build from 2020-09-22, verified that using RTL builds of Firefox 85.0b2 across platforms (Windows 10 64bit, macOS 11 and Ubuntu 18.04) the icon from PiP is indicating the correct place where the video window will open.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: