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
see screenshot
4.0.0-dev from 05feb2020
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
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-02-06 23:20:51 |
Closed_By | ⇒ | ChristineWk |
sorry, I had the wrong button & closed by fault (:-
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.
Status | Closed | ⇒ | New |
Closed_Date | 2020-02-06 23:20:51 | ⇒ | |
Closed_By | ChristineWk | ⇒ |
@richard67 Thanks :-)
Status | New | ⇒ | Confirmed |
Category | com_templates Templates (site) | ⇒ | Templates (admin) |
@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.
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?
I can replicate on windows
It is a codemirror issue (disable codemirror and you will see its ok)
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,
Ah thanks @brianteeman .
Its 100% a codemirror issue
The issue you observed will happen anywhere that the codemirror editor is being used.
Thanks Brian, that info helps much. Will investigate tomorrow if nobody is faster.
Yeah, I'm on windows 10 x64 pro. I do have a linux laptop if necessary
@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)
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?
i would have expected it in build/init.es6.js
build/init only copying a files (and merge some)
More like workaround, but there nothing "hacky",
I think, if there no other fixes, then this issue can be closed
There is no other fix, not yet .. shall we wait a bit maybe?
I would close, I have doubt that there will be another one
Ok, we can reopen it if protest ;-)
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-02-07 15:58:46 |
Closed_By | ⇒ | richard67 |