Open Bug 1594059 Opened 5 years ago Updated 2 years ago

Main scrollbar is hidden in RTL on Mac when set to show when scrolling

Categories

(Core :: Layout: Scrolling and Overflow, defect, P3)

Unspecified
macOS
defect

Tracking

()

People

(Reporter: mstriemer, Unassigned)

References

Details

(Keywords: rtl)

Attachments

(1 obsolete file)

The scrollbar is moved to the left when in RTL, but in the "show when scrolling" (default for trackpad) case on Mac there is no scrollbar shown at all in RTL. Updating the system preference to always show the scrollbar correctly shows the scrollbar on the left.

STR

  1. Use RTL (intl.l10n.pseudo = bidi)
  2. Go to about:preferences on a Mac
  3. Scroll

Expected Results:
The scrollbar is shown on the left side when scrolling.

Actual Results:
There is no scrollbar shown at all.

Markus, I don't see anything in the CSS or JS in the prefs code that'd explain this off-hand. Any idea what's going on? The same thing doesn't happen on Windows, so I'm wondering if this is some kind of bad interaction with the mac scrollbars...

Flags: needinfo?(mstange)

Is this a regression?

Component: Preferences → Layout: Scrolling and Overflow
Product: Firefox → Core

There may be places where we don't properly handle interactions between overlay scrollbars and RTL containers.

Priority: -- → P3

Not sure I understand - this bug is about the vertical scrollbar, in a right-to-left context.

Sorry. I misread the description. Please ignore my comment 5.

Attachment #9107343 - Attachment is obsolete: true

just wondering whether this also happens on mobile (I guess it does).

(In reply to Hiroyuki Ikezoe (:hiro) from comment #8)

just wondering whether this also happens on mobile (I guess it does).

Hm, but at least from a very quick test, I think this doesn't affect web content - at least, I don't see the issue (in fact, the scrollbar stays on the right...) using:

data:text/html,<html dir="rtl"><body>Some text<div style="height: 1500px"></div>Some more text</body>

And the code referenced in comment #3 mentions XUL a bunch. Plus, I would have thought that if we broke this on all RTL content on mac we would have had more reports before now.

I don't think we use XUL in-content on mobile (though we do use it to get <browser> elements I think).

Keywords: rtl

(In reply to Markus Stange [:mstange] from comment #2)

Is this a regression?

If it is it isn't a recent one, a build from 2017-01-01 (53a01) with intl.uidirection.en-US set to rtl also has this problem. I couldn't run builds from 2016-01-01 or 2015-01-01 on Mojave, so didn't dig any further.

See Also: → 1593840
Severity: normal normal → S3 S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: