|
From: SourceForge.net <no...@so...> - 2007-10-24 23:04:04
|
Bugs item #1596757, was opened at 2006-11-14 19:03 Message generated for change (Comment added) made by ezust You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=1596757&group_id=588 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Pending >Resolution: Invalid Priority: 7 Private: No Submitted By: Slava Pestov (spestov) Assigned to: Nobody/Anonymous (nobody) Summary: Buffer corruption Initial Comment: I was editing a file over SFTP today and sometimes random text would be inserted near the top of the file. I couldn't tell if this text was from the clipboard or from other parts of the file. Undo did not remove the random text, which suggests its a bug in the low level JEditBuffer code. ---------------------------------------------------------------------- >Comment By: Alan Ezust (ezust) Date: 2007-10-24 16:04 Message: Logged In: YES user_id=935841 Originator: NO THIS bug report is incomplete. Please submit a reproducible test case (a file to parse) along with steps on how to reproduce. I will mark this as invalid/pending until additional information is included. ---------------------------------------------------------------------- Comment By: Björn Kautler (vampire0) Date: 2007-09-19 14:14 Message: Logged In: YES user_id=918212 Originator: NO As elsie wrote below, it also happened in CSS files, so it is NOT specific to HTML and thus I doubt it is the ecmascript parser that causes the problem. ---------------------------------------------------------------------- Comment By: Alan Ezust (ezust) Date: 2007-09-18 16:40 Message: Logged In: YES user_id=935841 Originator: NO Another way to check whether it is the buffer that is corrupt, or just the textarea, is by splitting and unsplitting the current editpane. If after creating a new editpane, you still have corruption, then it's the buffer, but if it's the textarea, then everything should be cleared up after the unsplit. ---------------------------------------------------------------------- Comment By: Alan Ezust (ezust) Date: 2007-09-17 18:56 Message: Logged In: YES user_id=935841 Originator: NO Ok first of all, does it only happen with HTML files? In those files, are there embedded javascripts in <script> tags? If so, I suspect either the ecmascript parser, or the sidekick folding. I bet that by disabling one or the other, you won't still have this problem. First try not using SideKick folding mode and see if you still get this problem. ---------------------------------------------------------------------- Comment By: Lindsey Simon (elsie) Date: 2007-02-09 23:39 Message: Logged In: YES user_id=130366 Originator: NO I take that back, I just saw it again. Sorry. ---------------------------------------------------------------------- Comment By: Lindsey Simon (elsie) Date: 2007-02-09 16:06 Message: Logged In: YES user_id=130366 Originator: NO That seems to indeed "fix" my problem, I see a relevant bug in the list that IS this bug, so thanks!!! ---------------------------------------------------------------------- Comment By: Lindsey Simon (elsie) Date: 2007-02-09 13:43 Message: Logged In: YES user_id=130366 Originator: NO I found the option in the Mouse options. I'll let you know if I encounter the buffer corruption... ---------------------------------------------------------------------- Comment By: Lindsey Simon (elsie) Date: 2007-02-09 10:40 Message: Logged In: YES user_id=130366 Originator: NO Hmm. I looked in Global Options -> Text Area and there is nothing there about Drag & Drop. Can you tell me where said conf option is to be found? Also, for note, I experienced the same buffer badness in a CSS file repeatedly yesterday, so it's not isolated to HTML mode. ---------------------------------------------------------------------- Comment By: Matthieu Casanova (kpouer) Date: 2007-02-08 13:54 Message: Logged In: YES user_id=285591 Originator: NO Do you have text area drag & drop activated ? If yes, try to uncheck this option and check if it still happens ---------------------------------------------------------------------- Comment By: Lindsey Simon (elsie) Date: 2007-02-08 11:12 Message: Logged In: YES user_id=130366 Originator: NO See the screenshot: http://www.commoner.com/lsimon/JEditBufferCorruption.png ---------------------------------------------------------------------- Comment By: Lindsey Simon (elsie) Date: 2007-02-08 11:09 Message: Logged In: YES user_id=130366 Originator: NO I've actually noticed this quite frequently in 4.3.pre7/8/9 - usually in HTML mode, and I do have the XML plugin loaded. But it's really quite rough. If the buffer's long enough, I can scroll down, then back up and "fix" it. Usually happens after Save. It's unfortunately got me on the hunt for another editor at the moment, but nothing's as good as JEdit in my book. ---------------------------------------------------------------------- Comment By: Martin Raspe (hertzhaft) Date: 2006-11-15 01:06 Message: Logged In: YES user_id=1037294 Originator: NO I think that some time ago I have seen a similar behaviour which appeared only when "quick copy" was activated. Unfortunately I can't find the note I made then. It was caused by some specific mouse movement, IRC. I don't know if the text was undoable because I usually noticed it only much later, so undoing would have meant losing everything I'd typed in the meantime. I was not using SFTP, though. I've also seen a repaint glitch like the one Marcelo describes. So far I could not reproduce it deliberately. When it happens, the first 5 columns (or so) of some lines are overwritten with garbage. White space is preserved, IRC. It usually goes away after some scrolling. ---------------------------------------------------------------------- Comment By: Matthieu Casanova (kpouer) Date: 2006-11-15 01:04 Message: Logged In: YES user_id=285591 Originator: NO Do you have any hint to reproduce that ? In fact it happened sometimes last year but randomly and I was never able to reproduce that. It doesn't happens anymore for me. What I found is that it happened when I paste text from clipboard, the text was pasted at cursor position but also in the beginning of the buffer. ---------------------------------------------------------------------- Comment By: Slava Pestov (spestov) Date: 2006-11-14 21:55 Message: Logged In: YES user_id=2280 Originator: YES Actual text was inserted; I noticed the problem after saving the HTML file and viewing it in a browser. ---------------------------------------------------------------------- Comment By: Marcelo Vanzin (vanza) Date: 2006-11-14 21:53 Message: Logged In: YES user_id=75113 Originator: NO Hi Slava, Was it actual text being inserted, or did it look like a painting problem? I've been seeing things that look like this some times, but saving the buffer (which seems to cause a repaint of the whole buffer) gets rid of the garbage. Still annoying though. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=1596757&group_id=588 |