swipe-to-navigation is broken on RTL environments
Categories
(Core :: Panning and Zooming, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox105 | --- | verified |
People
(Reporter: hiro, Assigned: tnikkel)
References
Details
Attachments
(2 files)
there are two problems as of now;
- The swipe-to-nav icon appears at the opposite side
- Navigation never happens
The first one will be fixed by D152951, so this bug is for the second one.
| Reporter | ||
Comment 1•3 years ago
|
||
As Timothy pointed out, this is a mixup problem where we can go navigation. In fact we have prefs for swipe-to-nav;
pref("browser.gesture.swipe.left", "Browser:BackOrBackDuplicate");
pref("browser.gesture.swipe.right", "Browser:ForwardOrForwardDuplicate");
Apparently these pref name are problematic. left means here a swipe gesture from left to right, right means a gesture from right to left. On RTL environments it should be swapped.
| Assignee | ||
Comment 2•3 years ago
|
||
Hmm, how could we properly fix this? I'm not sure.
We could do a little hack that just swaps the actions in RTL browser, I dunno.
| Assignee | ||
Comment 3•3 years ago
|
||
Maybe the prefs should have the value Browser:HistoryMoveLeft/Right and then browser-gestureSupport.js can convert these to back/forward taking into account rtl?
| Assignee | ||
Comment 4•3 years ago
|
||
This is a bit of a hack, but a hack that works is better than not working.
Depends on D153845
Updated•3 years ago
|
| Reporter | ||
Comment 5•3 years ago
|
||
Comment 7•3 years ago
|
||
| bugherder | ||
Comment 10•3 years ago
•
|
||
Marked as verified on Win10/Win11 using FF build 105.0a1(20220810212956) on AR and HE localizations.
Description
•