Issue 862

Summary: Inserting a note larger than the default size crashes OOo
Product: Calc Reporter: issues@www <issues>
Component: uiAssignee: malte_timmermann
Status: CLOSED FIXED QA Contact: issues@www <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: 627   
Target Milestone: ---   
Hardware: PC   
OS: Linux, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description issues@www 2001-05-05 20:30:34 UTC
Hi, 
follow these steps to reproduce this bug:

1) open a new spreadsheet
2) Select Insert|Note from the menu
3) Type in some text

When reaching the border of the note-window OOo crashes instead of enlarging the
window or inserting a line-break

ciao
Christian
Comment 1 peter.junge 2001-05-07 12:12:10 UTC
now it's my bug
Comment 2 peter.junge 2001-05-07 12:52:25 UTC
as told before it's mine
Comment 3 peter.junge 2001-05-08 12:55:44 UTC
reproduced with Rethat 7.1 and Easylinux 2.4 (sometimes it took up to ten rows to happen)
absolutely no idea what happens. no stack trace available.
not reproduceble in 630c.
Comment 4 niklas.nebel 2001-05-08 13:57:54 UTC
I can reproduce it in 630a under Windows with the simple i18n dll and no 
printers installed, by typing "xxx xxxxxxxxxxxx" into a note (AutoCorrection 
turned off). There's an assertion "Position ausserhalb des Bereichs!" before the 
crash. The stack of the crash is:

ImpEditEngine::SplitTextPortion(ParaPortion * 0x045a3eec, unsigned short 16, 
EditLine * 0x049d2224) line 1784 + 56 bytes
ImpEditEngine::ImpBreakLine(ParaPortion * 0x045a3eec, EditLine * 0x049d2224, 
TextPortion * 0x045a8e14, unsigned short 0, long 2699, unsigned char 0) line 
1706 + 24 bytes
ImpEditEngine::CreateLines(unsigned short 0, unsigned long 0) line 1138
ImpEditEngine::FormatDoc() line 365 + 61 bytes
ImpEditEngine::FormatAndUpdate(EditView * 0x045ef144) line 3049
EditEngine::PostKeyEvent(const KeyEvent & {...}, EditView * 0x045ef144) line 
1000
EditView::PostKeyEvent(const KeyEvent & {...}) line 368 + 22 bytes
SVX630MI! OutlinerView::PostKeyEvent(class KeyEvent const &) + 2993 bytes
DL630MI! SdrObjEditView::KeyInput(class KeyEvent const &,class Window *) + 226 
bytes
DL630MI! SdrView::KeyInput(class KeyEvent const &,class Window *) + 110 bytes
SC630MI! FuText::KeyInput(class KeyEvent const &) + 35 bytes
SC630MI! ScGridWindow::DrawKeyInput(class KeyEvent const &) + 158 bytes
SC630MI! ScGridWindow::KeyInput(class KeyEvent const &) + 141 bytes
ImplHandleKey(Window * 0x0017bab8, unsigned short 4, unsigned short 535, 
unsigned short 120, unsigned short 0) line 1194
ImplWindowFrameProc(void * 0x0017bab8, SalFrame * 0x001f7968, unsigned short 5, 
const void * 0x0012f810) line 1994 + 35 bytes
VCL630MI! SalFrameWndProc(struct HWND__ *,unsigned int,unsigned int,long,int &) 
+ 4690 bytes
VCL630MI! SalFrameWndProc(struct HWND__ *,unsigned int,unsigned int,long,int &) 
+ 434 bytes
VCL630MI! SalFrameWndProcW(struct HWND__ *,unsigned int,unsigned int,long) + 38 
bytes
USER32! 77e71268()
Comment 5 malte_timmermann 2001-06-12 09:20:34 UTC
Can't reproduce it, will check later...
Comment 6 malte_timmermann 2001-06-12 12:33:39 UTC
OK, now I can reproduce that too...
Comment 7 malte_timmermann 2001-06-12 14:08:45 UTC
Fixed in SRC636
Comment 8 oc 2002-01-10 09:52:16 UTC
Fixed and verified