Related, but likely a different bug: Text selections makes colors disappear http://code.google.com/p/pharo/issues/detail?id=4615 Lukas On 10 August 2011 17:21, Igor Stasenko <siguctua@gmail.com> wrote:
which leads to #basicNew: primitive fail, because it passing a negative number (no surprise, it fails).
According to stack trace, a Text>> copyFrom:to: is called with arguments:
start = 100 stop = 44 (instead of having start = 44 , stop = 100)
it is called from MultiNewParagraph>>buildSelectionBlocksFrom:to: method. I don't know whether we should fix this method, or maybe it is better to fix #copyFrom:to: to accept inverted ranges (a simple check if stop < start then swap the end points)
yet it hard to reproduce, it works ok most of the times :(
To reproduce the bug, try to do following:  - open a new workspace window, type an arbitrary text there  - then drag a window to the bottom of desktop, so only title bar of workspace remain visible  - release drag  - click on the title bar and start dragging it back to make text visible
-- Best regards, Igor Stasenko AKA sig.
-- Lukas Renggli www.lukas-renggli.ch