No Code Attached Yet Information Required bug
avatar bayareajenn
bayareajenn
15 Jul 2022

Steps to reproduce the issue

  1. Using Firefox
  2. Login to the backend of Joomla
  3. Go to Extensions -> Templates -> Templates (or however you get there with the new dashboard/menu)
  4. Click on Cassiopeia and choose any override file

Expected result

To see all the code regardless of browser

Actual result

In Firefox, code is cut off forcing the user to click inside the box and press F10 to see all the code. Chrome works fine.

System information (as much as possible)

Windows 10
Firefox version 102.0.1

Additional comments

I disabled all browser extensions and the issue persisted. Worth a try.screen shot 2022-07-15 at 13 52 53
screen shot 2022-07-15 at 13 52 54

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
4.00

avatar bayareajenn bayareajenn - open - 15 Jul 2022
avatar bayareajenn bayareajenn - change - 15 Jul 2022
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 15 Jul 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 15 Jul 2022
avatar brianteeman
brianteeman - comment - 15 Jul 2022

If you change the default editor to codemirror and then edit an article do you have the same problem there?

avatar bayareajenn
bayareajenn - comment - 15 Jul 2022

Good question. The default editor is set to None. Problem persists no matter which editor is selected (including None). Tried them all. The User editor is set to "use default" as well.

avatar ChristineWk
ChristineWk - comment - 15 Jul 2022

had that too (month ago) and also, if using new installation.
Saw this:
screen shot 2022-07-15 at 15 39 27

solved it with this:

.CodeMirror-gutters { left: 0px !important; }
administrator/atum > user.css


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38282.
avatar brianteeman
brianteeman - comment - 15 Jul 2022

Good question. The default editor is set to None. Problem persists no matter which editor is selected (including None). Tried them all. The User editor is set to "use default" as well.

Thats not what I asked.

If you change the default editor to codemirror and then edit an article do you have the same problem there?

avatar bayareajenn
bayareajenn - comment - 15 Jul 2022

article-editing-codemirror-firefox
Happens with codemirror in article editing as well.

avatar brianteeman
brianteeman - comment - 15 Jul 2022

ok - that rules some possibilities out and confirms that its the gutter-width calculation causing the problem. This is something that codemirror has had problems with for many years

avatar bayareajenn
bayareajenn - comment - 15 Jul 2022

That's unfortunate, but good to know. If there's something else you'd like me to test, let me know. I'll read more slowly next time. Thanks for taking a look.

avatar chmst
chmst - comment - 16 Jul 2022

I am on win11 and cannot repliace this effect, Maybe it is the OS?

avatar mariantanase
mariantanase - comment - 18 Jul 2022

I reported the same behavior (not solved yet), with issue #37088

avatar bayareajenn
bayareajenn - comment - 18 Jul 2022

@chmst Could be the OS. I don't have any idea how to troubleshoot what that setting could possibly be. But I'll see if I can do some searching and see what I can dig up.
@mariantanase thanks for linking your closed issue. That confirms what @chmst said with it being a Windows 10 specific issue.
I'll let y'all know what I can figure out .. or if I cannot figure anything out.

avatar chmst
chmst - comment - 18 Jul 2022

Thank you @mariantanase and @bayareajenn - this is one of these highly frustrating issues. Every little information can help here. @ChristineWk do you remember which OS you had at this time and what happened then? If I read your post it seems that it is resolved now for you?

avatar mariantanase
mariantanase - comment - 19 Jul 2022

That confirms what @chmst said with it being a Windows 10 specific issue.

I'm not very sure for that. In my case I used the same os (Windows 10) and the same Firefox versions, but on different computers.

avatar ChristineWk
ChristineWk - comment - 19 Jul 2022

WIN 10, FF.
After an update from J 4.0.6 to 4.0.7-dev I had this phenomenon for the first time. Unfortunately I didn't know about #37088, otherwise I would have answered there at the time. I don't know why this inline segment existed (see screenshot).
If I use above code, it's OK.

avatar mariantanase
mariantanase - comment - 19 Jul 2022

solved it with this:

.CodeMirror-gutters { left: 0px !important; } administrator/atum > user.css

This fix is working for me !

avatar rgtr
rgtr - comment - 12 Oct 2022

Hi

I have windows 7 pro and windows 8 and have the same problem.

It happens when you save the file e.g. user.css
Pressing F10 to go full screen is fine.
When you press ESC you get back to a proper display [gutter free]

Richard


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

avatar rgtr
rgtr - comment - 23 Oct 2022

Hi
I use JCE and have that set as default editor. Tried changing to CodeMirror but makes no difference
Used the code mirror fixed given above in Atum ...
However it is clear that CodeMirror is used in Atum when editing css files.
Problem sort of goes away, but line numbers then display on top of my css code ...
My guess there is a bug somewhere.
Richard


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/38282.
avatar Hackwar Hackwar - change - 22 Feb 2023
Labels Added: bug
avatar Hackwar Hackwar - labeled - 22 Feb 2023
avatar Quy
Quy - comment - 7 Mar 2023

I cannot reproduce using Windows Firefox 110.0.1.

avatar Quy Quy - change - 7 Mar 2023
Labels Added: Information Required
avatar Quy Quy - labeled - 7 Mar 2023
avatar rgtr
rgtr - comment - 7 Mar 2023

Hi
Yup - that works fine now. After making the change to the css you need to quit and close Firefox.
Richard

avatar Quy
Quy - comment - 7 Mar 2023

@rgtr I did not have to do anything for it to work properly. Which version of Firefox are you using?

avatar rgtr
rgtr - comment - 7 Mar 2023

Firefox 110.0.1 on Win 11 Pro
It is something to do with caching I guess.
R

avatar Quy
Quy - comment - 7 Mar 2023

Can you check the left property before changing the css?

38282-codemirror

avatar Quy Quy - close - 12 Mar 2023
avatar Quy
Quy - comment - 12 Mar 2023

Closing as no longer reproducible.

avatar Quy Quy - change - 12 Mar 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-03-12 23:19:11
Closed_By Quy

Add a Comment

Login with GitHub to post a comment