View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0032056 | Lazarus | LCL | public | 2017-06-23 02:22 | 2017-06-26 21:10 |
Reporter | Daniel Pereira Guimarães | Assigned To | Ondrej Pokorny | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
OS | Windows | ||||
Product Version | 1.6.4 | ||||
Summary | 0032056: Repeated OnClick call by ENTER key and raise exception | ||||
Description | If you press the ENTER key on a button that raises an exception in the OnClick event and then press the ENTER key again to close the exception dialog, the OnClick event of the button is fired again. | ||||
Steps To Reproduce | 1. Create a new application. 2. Add a Button to Form. 3. Write Button1.OnClick as: procedure TForm1.Button1Click(Sender: TObject); begin raise Exception.Create( 'Press RETURN / ENTER key to close this dialog.'0000013 + 'Note that the OnClick event will fire again.'); end; 4. Run the application. 5. Set focus to Button1. 6. Press ENTER key to perform Button1.OnClick. 7. Press ENTER key to close exception dialog. 8. Note that the Button1.OnClick event will fire again. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 55398 | ||||
LazTarget | - | ||||
Widgetset | Win32/Win64, QT, QT5 | ||||
Attached Files |
|
|
|
|
It happens also with QT. This time GTK2 works right. |
|
Juha, please retest on Qt. I tested only win32. |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-06-23 02:22 | Daniel Pereira Guimarães | New Issue | |
2017-06-23 02:22 | Daniel Pereira Guimarães | File Added: EnterKeyOnClickExceptionBug.zip | |
2017-06-26 15:23 | Juha Manninen | LazTarget | => - |
2017-06-26 15:23 | Juha Manninen | Widgetset | Win32/Win64 => Win32/Win64, QT, QT5 |
2017-06-26 15:24 | Juha Manninen | Note Added: 0101356 | |
2017-06-26 21:06 | Ondrej Pokorny | Assigned To | => Ondrej Pokorny |
2017-06-26 21:06 | Ondrej Pokorny | Status | new => assigned |
2017-06-26 21:10 | Ondrej Pokorny | Fixed in Revision | => 55398 |
2017-06-26 21:10 | Ondrej Pokorny | Note Added: 0101357 | |
2017-06-26 21:10 | Ondrej Pokorny | Status | assigned => resolved |
2017-06-26 21:10 | Ondrej Pokorny | Resolution | open => fixed |