? Success

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
30 Nov 2016

Testing Instructions

Set en-GB.xml to rtl
In frontend as in backend, click to select an image in a form.
The popup has to be less than 767px wide.
The popup displays only as LTR (folders at left, margin too).

Before patch:

screen shot 2016-11-30 at 11 47 24

After patch

screen shot 2016-11-30 at 11 51 29

avatar infograf768 infograf768 - open - 30 Nov 2016
avatar infograf768 infograf768 - change - 30 Nov 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Nov 2016
Category Administration com_media
avatar infograf768 infograf768 - change - 30 Nov 2016
Category Administration com_media Administration com_media RTL
avatar infograf768 infograf768 - change - 30 Nov 2016
The description was changed
Labels Removed: ?
avatar infograf768 infograf768 - edited - 30 Nov 2016
avatar brianteeman
brianteeman - comment - 1 Dec 2016

I have tested this item successfully on 8955085

I can confirm that this PR does what it says.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13049.

avatar brianteeman brianteeman - test_item - 1 Dec 2016 - Tested successfully
avatar conconnl
conconnl - comment - 2 Dec 2016

I have tested this item successfully on 8955085

Tested this patch successfully.

Not related to this specific patch, but the margins for the "Cancel" and "Insert" button are different between RTL and LTR.
Even without applying this patch


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13049.

avatar conconnl conconnl - test_item - 2 Dec 2016 - Tested successfully
avatar jeckodevelopment jeckodevelopment - change - 2 Dec 2016
Status Pending Ready to Commit
avatar jeckodevelopment
jeckodevelopment - comment - 2 Dec 2016

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13049.

avatar jeckodevelopment jeckodevelopment - change - 2 Dec 2016
Milestone Added:
avatar infograf768
infograf768 - comment - 2 Dec 2016

Not related to this specific patch, but the margins for the "Cancel" and "Insert" button are different between RTL and LTR.

Yep, I already saw that. Could not solve here.
The issue comes from this css

.row {
    margin-left: -20px;
}

It can be solved easily for Isis as we have a real template_rtl.css but not for Protostar where we use an erzatz of RTL.

In Isis we just have to use in the rtl.less and it will be forwarded to the rtl_.css:

#imageForm .row {
    margin-left: 10px;
    *zoom: 1;
}

But if I use in Isis

.row {
    margin-left: 10px;
    *zoom: 1;
}

and in Protostar

.rtl .row {
    margin-left: 10px;
    *zoom: 1;
}

We may get undesired consequences.

avatar mbabker
mbabker - comment - 2 Dec 2016

The media/jui/less/bootstrap-rtl.less file provided by core is fatally broken. #12023 points out my main issue with it and in looking into a fix for our joomla.org site template I found that our RTL LESS is just fundamentally flawed and cannot produce a correctly "flipped" variant of the template.

The toolbar has bad default CSS, see #12024

Bordered tables are busted too, see #12022

avatar ciar4n
ciar4n - comment - 5 Dec 2016

@infograf768 Relating to #12643 (comment) , Is there a reason this style declaration is not in the template.css and template-rtl.css ?

avatar infograf768
infograf768 - comment - 5 Dec 2016

As far as I understood this is because it is used in the IFrame specifically for any template (backend or frontend)
For example, I tried to add them to the popup-imagelist.css and rtl and they will not work.

avatar ciar4n
ciar4n - comment - 5 Dec 2016

Ok. Thank you for explaining. I'll apply these changes to #12643 and restyle it accordingly.

avatar infograf768
infograf768 - comment - 5 Dec 2016

@ciar4n
If you do not modify these though in your PR, I guess you should use these default ones.

avatar infograf768
infograf768 - comment - 6 Dec 2016

@rdeutz @wilsonge
Can you merge this please to test carefully #12643

Thanks

avatar rdeutz rdeutz - change - 6 Dec 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-12-06 11:30:38
Closed_By rdeutz
avatar rdeutz rdeutz - close - 6 Dec 2016
avatar rdeutz rdeutz - merge - 6 Dec 2016
avatar rdeutz rdeutz - reference | 723e13a - 6 Dec 16
avatar rdeutz rdeutz - merge - 6 Dec 2016
avatar rdeutz rdeutz - close - 6 Dec 2016

Add a Comment

Login with GitHub to post a comment