Opening the find window 4 times causes an exception in the IDE
Original Reporter info from Mantis: jonas@freepascal.org
-
Reporter name: Jonas Maebe
Original Reporter info from Mantis: jonas@freepascal.org
- Reporter name: Jonas Maebe
Description:
Place the cursor in an editor window.
Press ctrl-f -> the find window appears -> press escape to close it
Press ctrl-f -> the find window appears -> press escape to close it
Press ctrl-f -> the find window does not appear
Press ctrl-f again -> an exception happens:
TCustomForm.ShowModal Visible=True Enabled=True fsModal=True MDIChild=False
TApplication.HandleException TCustomForm.ShowModal for LazFindReplaceDialog:TLazFindReplaceDialog impossible, because already visible (hint for designer forms: set Visible property to false) already modal
Stack trace:
$080A00E8 RAISESHOWMODALIMPOSSIBLE, line 2831 of ./include/customform.inc
$0809F819 TCUSTOMFORM__SHOWMODAL, line 2862 of ./include/customform.inc
$08524CBF TSOURCEEDITOR__STARTFINDANDREPLACE, line 1311 of sourceeditor.pp
$08526399 TSOURCEEDITOR__PROCESSUSERCOMMAND, line 3109 of sourceeditor.pp
$086EBABB TCUSTOMSYNEDIT__DOONPROCESSCOMMAND, line 6533 of synedit.pp
$086E8D03 TCUSTOMSYNEDIT__COMMANDPROCESSOR, line 5930 of synedit.pp
$086DD3A3 TCUSTOMSYNEDIT__KEYDOWN, line 2714 of synedit.pp
$08229D86 TWINCONTROL__KEYDOWNBEFOREINTERFACE, line 5564 of ./include/wincontrol.inc
$0822A033 TWINCONTROL__DOKEYDOWNBEFOREINTERFACE, line 5695 of ./include/wincontrol.inc
$0822C779 TWINCONTROL__CNKEYDOWN, line 6986 of ./include/wincontrol.inc
$0806D636
$082290CF TWINCONTROL__WNDPROC, line 5322 of ./include/wincontrol.inc
$086E7596 TCUSTOMSYNEDIT__WNDPROC, line 3837 of synedit.pp
$082E570B DELIVERMESSAGE, line 117 of lclmessageglue.pas
$082ABEB5 DELIVERMESSAGE, line 3591 of ./gtk2/gtk2proc.inc
$082AA01A DELIVERKEYMESSAGE, line 1958 of ./gtk2/gtk2proc.inc
$082A93C3 HANDLEGTKKEYUPDOWN, line 2342 of ./gtk2/gtk2proc.inc
Mantis conversion info:
- Mantis ID: 24351
- OS: Ubuntu
- OS Build: 10.04
- Build: 40889
- Platform: Linux
- Version: 1.0.9 (SVN)
- Monitored by: » jonas@freepascal.org (Jonas Maebe)