Strange behavior of the editor in the forum
Afficher commentaires plus anciens
The editor in the forum is still driving me crazy. With the old version I could at least type my messages in an external editor, but now the text field is too smart to allow this.
When I type some code (Ctrl-E to enter the code style, then "for i = 1:10"), the editor is such smart, that it adds an "end" automatically. But I do not want such an "end", because my example is clear already without it. After this line, I press Enter and Ctrl-E again to leave the code style. Now I have to spend some time to get rid of the "end".
Sometimes the text field seems to loose the focus partially. I've tested this in Firefox only: While the typed characters appear in the text field, Firefox interpretes the keystrokes also and scrolls through the page exhaustively, such that I cannot see, what I type anymore. I type some characters blindly and scroll back to check, if it is correct. With the next keystroke the page is scrolled again. This is extremely annoying.
When I leave the code style, there are a certain number of spaces infront of the cursor. Trying to delete them let me exceed the first character frequently, such that I delete the code style before. Therefore I need to use "Pos 1" at first, then "Shift+End" to mark all spaces, "Delete" to remove them and then I can start typing from the first character.
It is hard to insert a link, but even worse to insert a string without formatting. Because I appreciate the correct spelling of names of persons, I copy&paste the names from the display by copy&paste. Unfortunately the editor is such smart, that it inserts a link automatically and I need a bunch of keystrokes to make it a standard text. I should append a move of this, because during the editing some parts of the string disappear intermediately and reappear magically, when a space is added.
This feels very weird. I have not seen such a crazy and unintuitive editor before. Typing answers in the forum increases my stress level, because the interface does not treat keyboard inputs like any other software.
What a pity, that the field for typing is not recognized as text field anymore, such that the auto-spell-correction of the browser does not work. I apologize for all of my typos.
There are many forums with working editors for text, links, code and citations. Markdown, BBCode etc. are established methods. Matlab Answers has problems with the interface for many years now. It is time to fix and simplify this until it works, instead of making it smarter and cooler.
Has this topic been diskussed in (sorry, I'm typing blind again, because of the mentioned effects of scrolling away... darn) forum already? Do others suffer from the same problems? Is the editor more intuitive in other browsers than Firefox? Does somebody use an external editor like XEmacs + macros successfully to create answers with copy&paste including links and images?
34 commentaires
I strongly agree - for me the most annoying part is:
"....While the typed characters appear in the text field, Firefox interpretes the keystrokes also and scrolls through the page exhaustively, such that I cannot see, what I type anymore...".
Also i often visit answers by using my mobile phone - it is no more possible to paste copied content into the editor in google chrome - this was possible before the changes.
This should be fixed ASAP.
Unfortunately, so far I have no workaround, it seems to me that ist starts behaving weird by moving the scroll bar, which i do to have the inputs i make, more in the middle of the screen. Then it starts to behave strangely. By pressing one of the arrow keys I can retrieve it, but only until the next input.
Using Edge is the same, but it jumps in a way, that the current line i type is the last one on screen. So this is not very much better.
Spllee chkceing deos nto wrko aynmroe... bt thius is no reaason ot apollogsie!
The fact the text cannot be copy-and-pasted as text (with markup) means sitting and painfully reinserting hyperlinks, formatting, etc.. Adding hyperlinks with my own text takes twenty times longer than simply typing <> used to. Sticky formatting... sometimes I manage to turn on some feature (e.g. monospace) but then it continues with no way to turn it off without resorting to selecting the text and clicking the pretty buttons (nice way to slow down a typist). The magical scrolling when the text is longer than the text box means that I cannot see where I am typing. The curser appearing twice makes me crosseyed and makes it hard to know which characters I am about to delete. The automatic code completion...
The irony is that this seems to have made not a single iota of difference to the people that I presume this fancy editor was aimed at: "irregular" users, to make it simpler for them to markup code, etc. Well, that does not seem to have happened, as the "irregular" users pay just as much attention to formatting as they did before. So the net effect has been less efficient "regular" users.
I would much prefer other improvements to Answers, such as the ability to convert answers to comments (without deleting them and making a new one in my name), something that would actually benefit all users of this forum.
Walter Roberson
le 7 Jan 2019
It turns out you can still use <> on hyperlinks provided you are not trying to use the <url description> form, just providing a URL. However it is not in effect if you paste in text that includes the form: you have to go back and delete the > and type it in again to activate the hyperlink.
It also turns out there is a [description](url) form. Again it is not activated until you type in the close bracket . But worse, if you paste in the form like I did here, and then later type in a close bracket in the same paragraph, then it activates, taking with it everything that you have typed inbetween. Usually immediately deleting the close bracket restores what you typed, but if you had typed another character after the close bracket then you cannot get the wiped out part back.
Walter Roberson
le 7 Jan 2019
Some improvements are scheduled for Wednesday the 9th, but I am not sure which improvements they are.
"It also turns out there is a [description](url) form"
Good to know.
But all of these things still turn my text into something magically formatted, which when copied into a text editor loses all of the markup, gone forever into the big bit-bucket in the sky.
Walter Roberson
le 7 Jan 2019
I enquired whether there was an internal markup language, but the response was that the person did not think there was. That is, I was hoping that they might be able to give us a "View Source" equivalent so we could copy and paste already marked up text, but it seems unlikely there is. (I have to wonder about that though, as markup seems to get copied to the clipboard...)
Rik
le 7 Jan 2019
I really like the potential that this new editor has, but it has partially broken some things for me. I have now converted my standard responses to autohotkey shortcuts (with alt+number), but of course this is non-ideal. In contrast to the old editor, it is possible to apply a special format in a link, but only when the link is already there, so this doesn't work:
the [doc for |SomeFunction|](link)
The usability on mobile (or complete lack of it) and the absence of spell check exposure are my two main gripes with the editor.
I think moving the controls to the bottom would be a bold move (no pun intended), but it might actually be a very smart idea.
Let's see what Wednesday will bring (or probably Thursday in my timezone)
madhan ravi
le 8 Jan 2019
Modifié(e) : madhan ravi
le 8 Jan 2019
When a link is posted you can turn it into a hyperlink by pressing space at the end of the link.
Edit: In mac using safari.
Gareth
le 8 Jan 2019
Regarding the comment on:
"It is hard to insert a link, but even worse to insert a string without formatting. Because I appreciate the correct spelling of names of persons, I copy&paste the names from the display by copy&paste. Unfortunately the editor is such smart, that it inserts a link automatically and I need a bunch of keystrokes to make it a standard text."
For me it works: Copy&Paste a name with a link from the Forum, and then a simple backspace removes the hyperlink. That being said I am a Mac user and I use Safari, not sure if that changes the behaviour.
Now that you have got me thinking here is another interesting case. For most Mac users one would typically Copy&Paste and Match Style (Option+Command+Shift+V) and that removes the link automatically. Unfortunately that shortcut does not work in the MATLAB Answer Forum.
Jan
le 16 Jan 2019
Walter Roberson
le 16 Jan 2019
Mathworks ended up delaying the changes to Weds January 16th. Major editor changes are not expected at this time; a performance tweak is expected.
Mathworks is actively working on making editor changes, but not so much is ready quite yet.
Jan
le 16 Jan 2019
Since we now get a notice saying "Create scripts that combine code, output, and formatted text using the MATLAB Live Editor", let's test if the Answers editor now also shows output:
x=linspace(0,pi,100),plot(x,sin(x))
Apparently not.
Also, since there is now an explicit link to the Community Guidelines, wouldn't it be nice to mention the user-maintained FAQ there as well? It looks like most of that page is a condensed form of the FAQ anyway, but I think it would be nice to give it a mention.
Jan
le 20 Fév 2019
Stephan
le 25 Mar 2019
Starting with R2019a it appears, that TMW solved the issues.
Walter Roberson
le 25 Mar 2019
Not R2019a; there were some updates to the web site that just happened to be done the same day that R2019a was released.
Stephan
le 25 Mar 2019
Yes - that was what i meant. I can not find new any issues so far and the known things Jan discussed here seem to be solved fully.
Stephan
le 26 Mar 2019
Unfortunately I have to say that the problems in Firefox persist. The screen still does not show what you are typing.
On the mobile phone with Chrome, the problems are fixed - On the computer in Firefox, I have the same problems as before - very disappointing.
Rik
le 7 Sep 2019
I think this is proof enough that Firefox is not (a large enough) part of the test suite. Chrome on Android and W10 seem to work fine.
Jan
le 23 Nov 2019
Image Analyst
le 23 Nov 2019
I can still use the link button with Firefox. But I've had other problems in the past that were fixed by clearing the history. Click History/"Clear Recent History..." and let us know if that fixes it. Might restart Firefox after clearing history just to make sure you have a fresh start.
Image Analyst
le 24 Nov 2019
That doesn't happen for me and I use Firefox. I can enter links with the popup showing just fine. How do you open an attached image?
The answer team is aware that the new editor has some shortcomings but in many ways it's much better than the old one.
But I can confirm that there are indeed some very odd things happening with firefox. On most of my computers running firefox I've got no issues, but on one It's impossible to copy anything out of the editor when in edit mode. I get ## as the copied content.
I'll try to get Mathworks to investigate again, perhaps it's the same root cause as what Jan is seeing.
David
le 25 Nov 2019
Do you have any browser extensions that may be monitoring or manipulating the web page source? Can you try Firefox without any extensions?
Guillaume
le 25 Nov 2019
I have the same extensions on all my computers. Lastpass and an adblocker. I know I've tried disabling the adblocker (no difference). I will try without lastpass when I'm next at that computer. If I remember correctly I even reinstalled firefox from scratch and that made no difference.
Image Analyst
le 25 Nov 2019
The only problem I have with Firefox is the scrolling bug (reply and then it scrolls the editing window to above the top of the screen). I demonstrated this in person at the Mathworks to Tushal (web developer) so he saw it but wasn't able to reproduce it on his computer so I have doubts it will be fixed.
Walter Roberson
le 25 Nov 2019
Datapoint:
Firefox for Mac (High Sierra):
Installed extensions: Ghostery, AdBlocker for Facebook, Privacy Badger, Blur, Adblock Plus, NoScript
The only error I am currently seeing is that occasionally I cannot edit something -- it just spins the wheel. This is a problem known to Mathworks which I believe they know the solution for.
There is also an occasional message about formatting being lost, which is also known to Mathworks and has to do with messages that were created on mobile browsers instead of desktop/
Firefox for Android:
Editing is a nuisance, as it is not possible to click at a point to move the cursor there. Instead, the cursor is always positioned at the bottom of the posting, and I have to use the arrow keys to move line by line until I get to the point I want to edit. Text cannot be selected, so I cannot reformat blocks of text as code.
Réponses (6)
David
le 8 Jan 2019
4 votes
MathWorks community developer here: Thank you Jan for starting this thread, and all of you who've responded, for the feedback and active discussion about the update to the editor. We're actively listening to the community conversations and working on resolving many of the issues you point out ASAP.
17 commentaires
Stephen23
le 8 Jan 2019
Where can I vote for a feature to allow 3000+ ranked users to convert answers to comments?
Walter Roberson
le 8 Jan 2019
Stephen: I know that is on the list for "sooner rather than later", but some of the basic functionality fixes are expected to come out first.
Jan
le 9 Jan 2019
Rik
le 24 Jan 2019
Apart from the point that I second Jan's suggestion of asking people as a beta-tester (I hereby offer to volunteer), I have a second point as well:
When a question is closed, I can't post a comment anymore. The "Remember to follow the Community Guidelines" is still there, but the editor isn't.
Star Strider
le 24 Jan 2019
@Rik —
You have the privilege level to open a closed Question.
Rik
le 24 Jan 2019
I know I do. But is this behavior a bug or a feature? In case it is the former I wanted to make sure Mathworks is aware. If it is the latter, it might be worth having a look at it to remove the ambiguity.
Anyway, since I have the opinion that the explanation for closing should be in a comment as well, I just write that first before I close the question.
Walter Roberson
le 24 Jan 2019
There is some behaviour associated with closing Questions that is a bug. I brought it to Mathworks attention last week, and they and I discussed the workflow around what closing a question means and what should be possible on closed questions. The matter has been taken to the appropriate staff, who will come up with some proposals for implementation.
That said: it does help their thinking to have additional people (beyond myself) talk about expectations for closed questions, to reach multiple viewpoints, as I might have missed something or might have emphasis on some aspect that turns out not to be what most people want.
That blank line seems intermittent. (see here for the really intermittent behavior) I have feeling it affect MVP users more (or even only), but I don't think I see any usefull pattern here.
Maybe you get a blank line if your first line is too long?
edit: OK, I jinxed it. Now this comment has a blank line as well.
Walter Roberson
le 30 Jan 2019
Yair tracked the blank line in bulleted lists to "white-space: pre-wrap" in the CSS.
Walter Roberson
le 30 Jan 2019
Modifié(e) : Walter Roberson
le 30 Jan 2019
- test 1 with no special codes
- test 2 with M
- test 3 with I
- test 4 with B
- test 5 with U
- test 6 with random hyperlink
- test 7 with no special codes
- test 8 with no special codes
- test 9 with M
- test 10 with no special codes
Now how about other sections?
Does this have an extra line? It uses italics
Does this have an extra line? It uses no codes
Does this have an extra line? It uses bold
Does this have an extra line? It uses no codes
madhan ravi
le 30 Jan 2019
+1 sir Walter!
Walter Roberson
le 30 Jan 2019
Look at that -- it affects paragraphs in general, not just bullets. So the reason why some people's posts seem to have an extra blank line at the beginning is just that they happened to use a formatting code in the first paragraph.
Rik
le 28 Mar 2019
This morning I notice a draft mode on mobile that seems to be much like the old editor. This seems to solve the keyboard issue at the very least.
Jan
le 3 Mai 2019
Jan
le 30 Août 2020
2 votes
8 commentaires
Rik
le 30 Août 2020
I think it is really sad that problems like this persist so much that it chases users like you away. I'm glad that your back catalog of answers at least persists,so your value to this forum is not completely lost.
Why can't they put in a trigger to use the old interface, just like they do on mobile? Editing posts that were created (or edited) in the new interface is a pain, but at least posting new answers and comments would be possible again.
Walter Roberson
le 31 Août 2020
I am not observing any of those problems on Firefox for Mac.
Jan, are you using a blocker of any kind? Some of the features might not work right if AdobeTM is blocked.
Star Strider
le 31 Août 2020
For what it’s worth, I’ve never had any problems with Answers or any other TMW site with Firefox, M$ Edge, or M$ IE on Windows7-Windows10. I have used Firefox exclusvely for Answers and essentially everything else for more than a decade, rarely the others. I have Norton for security software.
David
le 2 Sep 2020
Very sorry to hear you're still experiencing these issues. I've personally tried Vivalidi and the NoScript extensions (in FireFox as well) without being able to reproduce the issue.
I'll follow up with @Jan offline.
Jan
le 2 Sep 2020
David
le 3 Sep 2020
Thanks for posting what the issue was @Jan. I'm glad you were able to zero in on the cause.
1 commentaire
Image Analyst
le 29 Oct 2020
My Firefox can gradually creep up to 15 GB in memory usage. Beyond 2 GB it gets very sluggish. For example, it will freeze and if I type ahead anyway, it will get some, but not all of my letters. I think that is one of the problems you are having. Actually after about 3 GB it's virtually unusable. Not seeing what you type for 5-10 seconds, and then having it lose some of them is aggravating. Plus, even using the scrollbar on the left to move the page up and down takes many, many seconds to refresh the page - it's not "live".
And it takes forever to bring up a page. Usually when I click on an Answers link it takes 30 seconds to a minute to come up. Not sure if this delay is caused by database lookups to populate the right hand side with useful links that Answers does. Other web sites (like this one) can come up faster (6 seconds) if they don't have much content or do much database searching. I just did a time test to bring up the page with my Answers on it, and it took 45 seconds to come up (with 2.1 GB of memory in use).
I usually operate Firefox with a few dozen tabs open and even if I don't do anything, it quickly climbs to over a GB of RAM. Click on a few things and it's quickly up to 2 GB. If I just leave it sit for a few hours it creeps up to 5 GB or more. It's like it's pre-fetching all kinds of content from all kinds of links that I might be expected to click on to speed things up in case I click on them, but actually it does just hte opposite - it slows things down. To get around the memory usage creep, I even told Firefox to use just 2 processes in it's options but it seems to use 8 anyway, at least that's what task manager shows. This was one of the Firefox help recommendations, but didn't seem to work.
I was about to bail on Firefox and try the new Edge, but, like Chrome, there is still no way to pin my book mark panel to the left side in Chrome or Edge so that's a deal breaker for me. They used to have it in Internet Explorer, but then took it out when Edge replaced IE, and a lot of users left Edge and went to Firefox. Anyway, I'm going to shutdown Firefox and restart it, which sometimes generates a crash report. This will make it a lot more responsive, at least until the memory usage gets above about 2.5 GB.
ryan jenson
le 25 Mar 2019
Modifié(e) : ryan jenson
le 17 Juin 2019
0 votes
this is what i do .
Hope this is helpful.
Catégories
En savoir plus sur Data Type Identification dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



