New issue
Advanced search Search tips

Issue 345691 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Dec 2015
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug

Sign in to add a comment

RTL confusion in Context Menu

Reported by, Feb 21 2014

Issue description

UserAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0

Steps to reproduce the problem:
1. Create a webpage with mixed LTR/RTL content such as "Harry ‮rettoP"
2. Select the text
3. Right click
4. Context menu displays "Search Google for 'Harry 'Potter"

What is the expected behavior?
Context menu should display either
"Search Google for 'Harry Potter'"
"Search Google for 'Harry rettoP'"

Either way - all the text should be within the single quotes.

What went wrong?
I guess the OS is seeing the RTL character - perhaps it should be filtered in some way?  Firefox, for example, displays it as "Search Google for 'Harry rettoP'" - see attached.

Did this work before? N/A 

Chrome version: Version 32.0.1700.107 Ubuntu 12.04 (32.0.1700.107-0ubuntu0.12.04.1~20140204.866.1)  Channel: stable
OS Version: 12.04
Flash Version: Shockwave Flash 11.2 r202
Firefox RTL.png
34.8 KB View Download
Original screenshot showing the issue.
Chromium RTL.png
23.9 KB View Download
I am finding ""Harry rettoP "" that is quotes 2 times in firefox.
Is we want same behavior in chrome also..??
I think there should only be single quote around it.

Save this as an HTML file

<!doctype html>
<h1>Harry &#x202e;rettoP</h1>

Right-click on "Harry Potter" - see how the "Search" context menu displays.

Comment 5 by, Dec 14 2015

Status: Archived
Bulk archiving unconfirmed issues not modified in the last 365 days.

Sign in to add a comment