Opened 7 years ago

Closed 7 years ago

#15980 closed defect (worksforme)

File Dialog is not mirrored

Reported by: ahmedasaleh Owned by: bill
Priority: undecided Milestone: tbd
Component: Dijit Version: 1.8.0
Keywords: Cc:
Blocked By: Blocking:

Description

Using the test_Dialog.html file to test the BIDI support for the File Dialog, it found that File Dialog is not mirrored when dir is specified on widget level. That's for Safari on Mac and Chrome. Although Chrome by default has reversed orientation, but that is not suitable for RTL language like Arabic.

<div dojoType="dijit.Dialog" id="dialog6" title="File Dialog" dir="rtl"
		onfocus="console.log('user focus handler')"
		onblur="console.log('user blur handler')"
		execute="alert('submitted w/args:\n' + dojo.toJson(arguments[0], true));" style="min-width: 350px">		
          <!-- note: style="min-width: 350px" to workaround FF bug where width is too short, see http://bugs.dojotoolkit.org/ticket/5976 -->
			<label for="afile">ID File: </label>
			<input dojoType=dijit.form.TextBox type="file" name="afile" id="afile" dir="rtl">
</div>

Attachments (2)

filedialog_chr_safari.JPG (94.1 KB) - added by ahmedasaleh 7 years ago.
File Dialog is not mirrored when dir is specified on widget level
t.html (30.4 KB) - added by bill 7 years ago.
test case using your code from the summary, working fine on chrome/mac

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by ahmedasaleh

Attachment: filedialog_chr_safari.JPG added

File Dialog is not mirrored when dir is specified on widget level

comment:1 Changed 7 years ago by bill

Resolution: worksforme
Status: newclosed

It works fine for me. Maybe there was an error in your test case. If you are still seeing a problem then attach a test case using the attach file button, and post back here.

Changed 7 years ago by bill

Attachment: t.html added

test case using your code from the summary, working fine on chrome/mac

Note: See TracTickets for help on using tickets.