Description of problem: A couple of times now I managed to paste a word into an area above the actual editor area by accident. How reproducible: happens rarely Steps to Reproduce: No idea - sorry. Seems totally random. Happened while copying (actually cutting) a word from inside the editor and pasting it to the beginning of the text in the editor. Actual results: Pasted a word into an area above editor area. Expected results: Pasting should only be possible within the editor area. Additional info: Not a big problem that needs to be fixed - more of an FYI bug report.
Technical note: The user indicator has contentEditable="inherit", so an ancestor element must have contentEditable="true". A quick fix would be to set contentEditable="false" for the user indicators.
Hedda, I can reproduce something similar. You need 2 browser tabs, both editing the same document, same entry. 1. Click at the name of the other user, as shown in blue block in my attachment. You can see a cursor blinking in the user name, indicating it can be edited. 2. You can paste whatever your want or delete the username. You can even click the Documents(<locale>) and go back, the change you made is still there. 3. But it is not actually save, you can check this by refreshing the browser by pressing (Ctrl-R) or go to other browser tab. Is that what happened to you?
Created attachment 879330 [details] Screenshot: You can paste whatever you wnat in user label
(In reply to Ding-Yi Chen from comment #3) > Hedda, I can reproduce something similar. > > You need 2 browser tabs, both editing the same document, same entry. > > 1. Click at the name of the other user, as shown in blue block in my > attachment. > You can see a cursor blinking in the user name, indicating it can be > edited. > > 2. You can paste whatever your want or delete the username. > You can even click the Documents(<locale>) and go back, the change you > made is still there. > > 3. But it is not actually save, you can check this by refreshing the browser > by pressing (Ctrl-R) or go to other browser tab. > > Is that what happened to you? Hi Ding, I don't think that is it. That is a funny bug too, though, I could replicate the same :-) In my case, I did not have two browser tabs open with the same document, and the pasting also didn't occur in the username area. It happened right above the editor area, not to its right like what you are describing. Did you see my screenshot from comment #1 (private)? It actually happened to me again today, and I stopped to try and replicate it, but I still couldnt figure it out.
In that case, I will revert the title to the old one, and use bug 1081777 to track the bug I found. Hedda, 1) when this happened, are there other translators working on same document with you? The two browser tabs are just simulate the case that two translators working on same entry. 2) If other translators joined to edit the same document, do their user label shown on right side or top side of the editing cell?
And which browser you were using?
No, I'm 99% certain I was the only one working on that document. Also, no other usernames were shown to the right or top of the editor field. I am using FF 17.
After digging the HTML source, we found that there is a small <input> field (1x1 px), and the text was shown exact the place you describe. See attachment "Small input field" Perhaps Hedda occasionally click at that <input> and thus discover that bug.
Created attachment 879704 [details] Screenshot: Small input field
(In reply to Ding-Yi Chen from comment #9) > After digging the HTML source, we found that there is a small <input> field > (1x1 px), and the text was shown exact the place you describe. See > attachment "Small input field" > > Perhaps Hedda occasionally click at that <input> and thus discover that bug. Given the small size of the mysterious input field, it is still more likely that Hedda is putting content into a different element that has incorrectly inherited contentEditable state from a parent element, as per comment #2.
Tested 3.5.0-SNAPSHOT (git-server-3.4.2-201-ge0afdde) - no longer an issue