?
avatar ChristineWk
ChristineWk
6 Feb 2020

Steps to reproduce the issue

Error symptom: Edit template (Cassiopeia) files in the backend -> editor window is only approx. 15 or 20 px wide because the content to be edited has slipped into the right margin of the actual editor window

Expected result

Actual result

see screenshot

System information (as much as possible)

4.0.0-dev from 05feb2020

Additional comments

It flashes very briefly, then it disappears. Then I only have a small vertical bar with text on the right.
Sorry, I'm not sure, if image has been inserted.
@richard67 please check

avatar ChristineWk ChristineWk - open - 6 Feb 2020
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Feb 2020
avatar ChristineWk ChristineWk - change - 6 Feb 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-02-06 23:20:51
Closed_By ChristineWk
avatar ChristineWk
ChristineWk - comment - 6 Feb 2020

backend_cassiopeia_05feb2020

avatar ChristineWk ChristineWk - close - 6 Feb 2020
avatar ChristineWk
ChristineWk - comment - 6 Feb 2020

sorry, I had the wrong button & closed by fault (:-


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

avatar richard67
richard67 - comment - 6 Feb 2020

Can confirm on clean new install of a clean current 4.0-dev. Edited content appears for a short flash in editor area but then ends in the margin right beside it. But others I’ve asked to test could not reproduce it. So it seems it doesn’t happen to everybody.

avatar richard67 richard67 - change - 6 Feb 2020
Status Closed New
Closed_Date 2020-02-06 23:20:51
Closed_By ChristineWk
avatar richard67 richard67 - reopen - 6 Feb 2020
avatar ChristineWk
ChristineWk - comment - 6 Feb 2020

@richard67 Thanks :-)

avatar richard67 richard67 - change - 6 Feb 2020
Status New Confirmed
avatar richard67 richard67 - change - 6 Feb 2020
Category com_templates Templates (site) Templates (admin)
avatar ChristineWk ChristineWk - change - 6 Feb 2020
The description was changed
avatar ChristineWk ChristineWk - edited - 6 Feb 2020
avatar richard67
richard67 - comment - 6 Feb 2020

@ChristineWk I’ve changed category in the issue tracker. Templates (Site) was wrong because you edit the files in the Admin template. It doesn’t matter if you edit site or admin template files I think. And com_templates was not suitable too because the issue is not related to template management functions. It’s an issue of the backend templates’ file editor view.

This just for your info, no problem.

avatar richard67
richard67 - comment - 7 Feb 2020

I’ll see if I can find out more. I’ve replicated the issue on 2 different Linux systems with different browsers. @ChristineWk used Linux, too, as far as I know. Christine please confirm or correct. @N6REJ you used Windows and could not reproduce, right? Maybe again an issue with case-sensitivity of file names having to fit to class names?

avatar richard67
richard67 - comment - 7 Feb 2020

@chmst You could not reproduce, too, right? Did you use Windows as Webserver for the test?

avatar brianteeman
brianteeman - comment - 7 Feb 2020

I can replicate on windows
It is a codemirror issue (disable codemirror and you will see its ok)

avatar richard67
richard67 - comment - 7 Feb 2020

Or case sensitivity in asset file name or path? That fits better to this issue than the class file name thing. I think some asset loading fails on Linux. Need to continue tomorrow with better error logging,

avatar richard67
richard67 - comment - 7 Feb 2020

Ah thanks @brianteeman .

avatar brianteeman
brianteeman - comment - 7 Feb 2020

Its 100% a codemirror issue

The issue you observed will happen anywhere that the codemirror editor is being used.

avatar richard67
richard67 - comment - 7 Feb 2020

Thanks Brian, that info helps much. Will investigate tomorrow if nobody is faster.

avatar brianteeman
brianteeman - comment - 7 Feb 2020

@Fedik can you check this please.

I am pretty certain this is related to the web assets changes you have recently made

avatar N6REJ
N6REJ - comment - 7 Feb 2020

Yeah, I'm on windows 10 x64 pro. I do have a linux laptop if necessary

avatar richard67
richard67 - comment - 7 Feb 2020

@N6REJ No need, Brian could reproduce it on Windows, too.

avatar ChristineWk
ChristineWk - comment - 7 Feb 2020

@richard67 Thanks for correcting the category in Issue Tracker. It was late/early :-) I'm on Windows.
History behind: I wanted to test PR27799 and discovered mentioned above. It was 4.0.0-dev from 20jan2020. Then I removed and installed a completely new installation on 05feb2020.

@brianteeman confirm: It is a codemirror issue (disable codemirror and you will see its ok)


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27832.
avatar Fedik
Fedik - comment - 7 Feb 2020

The problem with node build somewhere, it does not produce minified version of codemiror css files
(if enabled debug mode all will work).
I cannot find where it was ?

@dgrammatiko where the code for minification of codemiror css files? ?

avatar brianteeman
brianteeman - comment - 7 Feb 2020

i would have expected it in build/init.es6.js

avatar Fedik
Fedik - comment - 7 Feb 2020

build/init only copying a files (and merge some)

avatar Fedik
Fedik - comment - 7 Feb 2020

I can offer only this #27847

I tried enable minification in build/compliecss but it resets the source files also, makes them empty.

avatar richard67
richard67 - comment - 7 Feb 2020

@Fedik Is PR #27847 an intermediate solution (= workaround), or is it the final solution?
Or in other words: Can this issue be closed?

avatar Fedik
Fedik - comment - 7 Feb 2020

More like workaround, but there nothing "hacky",
I think, if there no other fixes, then this issue can be closed

avatar richard67
richard67 - comment - 7 Feb 2020

There is no other fix, not yet .. shall we wait a bit maybe?

avatar Fedik
Fedik - comment - 7 Feb 2020

I would close, I have doubt that there will be another one ?

avatar richard67
richard67 - comment - 7 Feb 2020

Ok, we can reopen it if protest ;-)

avatar richard67
richard67 - comment - 7 Feb 2020

Closing as there is PR #27847 . Thanks @Fedik ? .

avatar richard67 richard67 - close - 7 Feb 2020
avatar richard67 richard67 - change - 7 Feb 2020
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2020-02-07 15:58:46
Closed_By richard67

Add a Comment

Login with GitHub to post a comment