Komodo 4.1 Paste Bug

I have discovered a bug in Komodo IDE, version 4.1.0-beta1, build 276433, platform macosx-powerpc; Built on Fri Mar 2 17:20:02 2007. If you fill the clipboard with text that is wider than the buffer, which defaults to being 250 characters wide, and paste this into a new document, then the scrollbar down the bottom does not reflect the new width. Thus, if you drag the scrollbar across to the right, you do not see all of the inserted text. If you click on the scrollbar arrow, then you can still move further to the right, as if you drag-select in the editing frame. This bug does not always appear in Windows, which moves the cursor to the end of the inserted text. However, if multi-line text is pasted, then the bug displays itself. Hopefully, the images below make this clearer. I did try to record a screencast, but the quality was crap, and the filesize was huge… Clicking on the images will open them in a new window. You can see enough detail without doing this, if you know what to look for. Image 1 shows the HTML document before I paste in the long lines of text. Image 2 shows how the Scroll Bar width has not changed. Image 3 shows how the full text is not visible if the thumb is fully dragged to the right. Image 4 shows how drag-selecting the text changes the size of the thumb.

Komodo Bugs

I’ve already filed, and had one of these fixed, but that’s only in the next beta, so I’ll write about it here, too. If you double-click an associated file in Komodo 4.0.3 that isn’t one of the standard files, like a .java source code, for example, and Komodo isn’t running, it will not start properly. Double-clicking it when Komodo is running loads it normally. If you have a wide text load in a clipboard, and copy it into a buffer, sometimes the buffer scrollbar doesn’t go all of the way. I’ll do some more testing on this tonight, but it was a bit of an annoyance. Kind of hard to explain - I need to take some screenshots, or perhaps even make a screencast.

Komodo IDE Python Interactive Shell

The python interactive shell on Komodo is pretty cool. I’d like it to be a bit more responsive, but I can’t really put my finger on what’s going on. I did notice, with python 2.5 that it pops up this traceback on a Ctrl-D:

 1    Traceback (most recent call last):
 2      File "/Applications/Komodo IDE.app/Contents/SharedSupport/dbgp/bin/pydbgp", line 270, in <module>
 3        sys.exit( main(sys.argv) )
 4      File "/Applications/Komodo IDE.app/Contents/SharedSupport/dbgp/bin/pydbgp", line 264, in main
 5        client.runInteractive()
 6      File "/Applications/Komodo IDE.app/Contents/SharedSupport/dbgp/pythonlib/dbgp/client.py", line 1893, in runInteractive
 7        self.cmdloop()
 8      File "/Applications/Komodo IDE.app/Contents/SharedSupport/dbgp/pythonlib/dbgp/client.py", line 2025, in cmdloop
 9        self.onecmd(data)
10      File "/Applications/Komodo IDE.app/Contents/SharedSupport/dbgp/pythonlib/dbgp/client.py", line 2145, in onecmd
11        self.socket.send_response(str(ex))
12      File "/Applications/Komodo IDE.app/Contents/SharedSupport/dbgp/pythonlib/dbgp/client.py", line 1745, in send_response
13        self._socket.send('%d\0%s\0' % (l, response))
14    AttributeError: 'NoneType' object has no attribute 'send'