Open Bug 1299482 Opened 8 years ago Updated 2 years ago

Fix direction of tooltip for frame-link-source-inner in Web/Browser Console with RTL locales

Categories

(DevTools :: Console, defect, P5)

defect

Tracking

(firefox50 affected, firefox51 affected)

Tracking Status
firefox50 --- affected
firefox51 --- affected

People

(Reporter: magicp.jp, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0
Build ID: 20160830030201

Steps to reproduce:

1. Start Nightly in RTL locales (e.g. Arabic)
2. Go to "Getting Started" (https://www.mozilla.org/en-US/firefox/central/)
3. Open Web Console (Ctrl+Shift+K)
4. Hover mouse on frame-link-source-inner


Actual results:

Tooltip direction is LTR in RTL locales. And also the left arrow is mismatched.

Regression range:
https://hg.mozilla.org/integration/fx-team/pushloghtml?fromchange=a0a49732aeb4ca43fa98c37cecc0c9fec5303e01&tochange=d912055f8e8ad75d189bd480017fdb5a33ee4d7e


Expected results:

Tooltip direction should be RTL.
Blocks: 1286844
Has Regression Range: --- → yes
Has STR: --- → yes
Component: Untriaged → Developer Tools: Console
OS: Unspecified → All
Hardware: Unspecified → All
This change was intentional to fix two issues in Bug 1286844 - the tooltip wouldn't show up on first hover and it was misaligned.  If someone could figure out how to allow RTL inside the tooltip without reintroducing those bugs I'd accept a patch.
Priority: -- → P5
(In reply to Brian Grinstead [:bgrins] from comment #1)
> This change was intentional to fix two issues in Bug 1286844 - the tooltip
> wouldn't show up on first hover and it was misaligned.  If someone could
> figure out how to allow RTL inside the tooltip without reintroducing those
> bugs I'd accept a patch.

However, Bug 1286844 is not fixed in RTL locales. How about this?
Flags: needinfo?(bgrinstead)
(In reply to magicp from comment #2)
> (In reply to Brian Grinstead [:bgrins] from comment #1)
> > This change was intentional to fix two issues in Bug 1286844 - the tooltip
> > wouldn't show up on first hover and it was misaligned.  If someone could
> > figure out how to allow RTL inside the tooltip without reintroducing those
> > bugs I'd accept a patch.
> 
> However, Bug 1286844 is not fixed in RTL locales. How about this?

The tooltip is forced into LTR in both LTR and RTL locales to fix the 2 issues mentioned in Comment 1.  There shouldn't be the hover or layout bug in RTL anymore. If there's a way to switch to RTL and keep those two issues fixed then that would be good
Flags: needinfo?(bgrinstead)
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: