URL bar tooltip uses wrong text direction for displaying (ltr) URL when using rtl locale (trailing slashes show up at the beginning)

NEW
Unassigned

Status

()

Firefox
Address Bar
P5
normal
2 years ago
a year ago

People

(Reporter: Gijs, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [fxsearch])

(Reporter)

Description

2 years ago
+++ This bug was initially created as a clone of Bug #1313751 +++

Steps to Reproduce:
1. Start any versions Firefox in RTL locales (e.g. Arabic)
2. Open "https://www.mozilla.org/en-US/contribute/"
3. Mouse hover on urlbar

Actual Results:
"/https://www.mozilla.org/en-US/contribute"
 ^
Expected Results:
"https://www.mozilla.org/en-US/contribute/"
                                         ^


This is a bit annoying to fix because we can't hardcode the direction of every tooltip, and the URL bar uses `tooltiptext` to produce a tooltip (thus using the 'default' tooltip for a document, which we can't select for specifically) but it could potentially work to set

unicode-bidi: plaintext;

For all tooltips in the XUL tooltip styling? Neil, can you think of any negative effects that would have?

If we can't do that, we'll have to have a special tooltip that we use just for the URL bar.
Flags: needinfo?(enndeakin)

Comment 1

2 years ago
> unicode-bidi: plaintext;
> 
> For all tooltips in the XUL tooltip styling? Neil, can you think of any
> negative effects that would have?

I don't really know what that property does so I've no idea.

We can always add something that sets the direction if needed.
Flags: needinfo?(enndeakin)

Comment 2

2 years ago
(In reply to :Gijs Kruitbosch from comment #0)
> If we can't do that, we'll have to have a special tooltip that we use just
> for the URL bar.

Comment 3

2 years ago
(In reply to ItielMaN from comment #2)
> (In reply to :Gijs Kruitbosch from comment #0)
> > If we can't do that, we'll have to have a special tooltip that we use just
> > for the URL bar.

Oops, no reply intended there, sorry.
Priority: -- → P5
Whiteboard: [fxsearch]
You need to log in before you can comment on or make changes to this bug.