Opened 5 months ago

Last modified 11 days ago

#22935 new defect (bug)

Horizontal scrollbar in RTL media modal

Reported by: ramiy Owned by:
Priority: normal Milestone: 3.6
Component: RTL Version: 3.5
Severity: normal Keywords: has-patch
Cc: nashwan.doaqan@…

Description

The new media tab needs a few RTL adjustments on the UI, check out the screenshot.

Attachments (7)

media_RTL_search.png (55.1 KB) - added by ramiy 5 months ago.
22935.media-rtl.png (27.6 KB) - added by SergeyBiryukov 5 months ago.
22935.publish-opera.png (7.9 KB) - added by SergeyBiryukov 5 months ago.
22935.patch (416 bytes) - added by SergeyBiryukov 5 months ago.
22935.media-rtl.2.png (55.1 KB) - added by SergeyBiryukov 5 months ago.
22935.media-rtl.3.png (52.4 KB) - added by SergeyBiryukov 5 months ago.
22935.1.diff (821 bytes) - added by lessbloat 3 months ago.

Download all attachments as: .zip

Change History (26)

ramiy5 months ago

  1. On the search "input" box, move the X to left.
  1. Remove the horizontal and vertical scroll bars.
  • Milestone changed from Awaiting Review to 3.5.1
  • Keywords reporter-feedback added

Replying to ramiy:

  1. On the search "input" box, move the X to left.

Which browser is that? Tested in Firefox 17, Chrome 23, IE 8, Opera 12, didn't see the X at all: 22935.media-rtl.png.

  1. Remove the horizontal and vertical scroll bars.

Could not reproduce the scroll bars either.

However, I've noticed an overlapping icon in the Publish box in Opera: 22935.publish-opera.png.

comment:4 in reply to: ↑ 3   JDTrower5 months ago

I can confirm that the X appears in Chrome 23 and Safari 5.1.7 for Windows. However, it only appears after you have started typing a search term in the search box. I could not reproduce in Firefox 17, Firefox 10 ESR, IE 9, or Opera 12.

However, I was unable to reproduce the scroll bars issue, as reported by the original reporter.

I did notice the overlapping icon in Opera as well.

comment:5 in reply to: ↑ 3 ; follow-up: ↓ 7   ramiy5 months ago

Replying to SergeyBiryukov:

To reproduce the X on the search "input" box, start typing your search term, using Chrome 23.

  • Keywords reporter-feedback removed

I can now reproduce the scroll bars in Chrome by reducing the height of browser window a bit.

comment:7 in reply to: ↑ 5   SergeyBiryukov5 months ago

Replying to ramiy:

To reproduce the X on the search "input" box, start typing your search term, using Chrome 23.

Appears to be a Chromium bug, fixed two weeks ago: ​https://codereview.chromium.org/11421088/.

Still, 22935.patch fixes that as well.

comment:8 follow-ups: ↓ 9 ↓ 12   helen5 months ago

The X on the search input box happens everywhere we have type="search" for inputs in the admin. That's probably better addressed all at once, in a separate ticket, and not for 3.5.1.

For the scrollbars, the vertical one should probably stay. I can't reproduce the horizontal one in OSX, but if the source of that can be found, then we can look at that. Would be good to know if that's RTL-specific or not.

comment:9 in reply to: ↑ 8   JDTrower5 months ago

Replying to helen:

The X on the search input box happens everywhere we have type="search" for inputs in the admin. That's probably better addressed all at once, in a separate ticket, and not for 3.5.1.

I have checked a default install of 3.5 and of trunk (both regular LTR install and a RTL install with no patches applied), and there is no X in the search box in the add media when using Firefox 17, Firefox 10 ESR, IE 9, or Opera 12. There is a X in Chrome 23 and Safari 5. All testing was done on a fully updated Windows 7 Ultimate computer.

I'll have to find the other search boxes and test them to see if the same thing occurs in all search boxes, or just the search box in add media.

I just did further testing of the search boxes found on the All Posts, Categories, Tags, Media Library, Pages, Comments, Install Themes, Plugins, Add New Plugins, and Users pages and had the same results as I did when checking the Add Media that I posted in comment 9 above.

Right, it's a Webkit thing, and the direction issue with the X has been happening all along ever since the introduction of type="search" fields in 3.4, so it's not for 3.5.1 and should be addressed all together in a separate ticket.

comment:12 in reply to: ↑ 8   SergeyBiryukov5 months ago

Replying to helen:

Would be good to know if that's RTL-specific or not.

It is. LTR looks fine: 22935.media-rtl.2.png. Same window height, RTL: 22935.media-rtl.3.png.

  • Summary changed from RTL media to Horizontal scrollbar in RTL media modal
  • Keywords has-patch needs-refresh added

So, needs a new patch?

  • Keywords needs-patch added; has-patch needs-refresh removed
  • Milestone changed from 3.5.1 to 3.6

Not serious, no patch, moving to 3.6.

  • Keywords needs-patch removed

22935.1.diff​ should do the trick.

  • Keywords has-patch added
  • Cc nashwan.doaqan@… added
Note: See TracTickets for help on using tickets.