View Issue Details

IDProjectCategoryView StatusLast Update
0015427LazarusLCLpublic2009-12-28 18:43
ReporterVladimir Zhirov Assigned ToPaul Ishenin  
Status closedResolutionfixed 
Product Version0.9.29 (SVN) 
Target Version0.9.30Fixed in Version0.9.29 (SVN) 
Summary0015427: Standard Edit Actions are not properly updated
DescriptionTest application attached. Steps to reproduce:

1) Compile and run test application.
2) Do not touch the main menu.
3) Try to use Ctrl+X/Ctrl+C/Ctrl+V in Edit and Memo.

Everything works just fine

4) Ensure active control (Edit/Memo) does not have text selection, just blinking caret
5) Open main menu. Since no selection available in the active control, Cut, Copy and Delete actions become disabled.
6) Close the menu and repeat (3)

Wrong behavior: Ctrl+X/Ctrl+C/Ctrl+V does not work anymore in Edit/Memo

7) Ensure active Edit/Memo has text selection
8) Open main menu once more. Cut, Copy and Delete actions become enabled.
9) Close the menu and repeat (3)

Everything works as expected again.

It seems edit actions with their corresponding hotkeys are updated not when active control selection changes, but when the menu opens. So once you opened menu with no text selection, hotkeys become broken until you select some text and open the menu once again.
Additional InformationTested on Win32 with r23265
TagsNo tags attached.
Fixed in Revision23311
Attached Files


2009-12-26 07:53 (3,340 bytes)

Paul Ishenin

2009-12-28 11:49

manager   ~0033367

Please test and close if ok.

Vladimir Zhirov

2009-12-28 18:43

reporter   ~0033372

It works now, thanks Paul.

Issue History

Date Modified Username Field Change
2009-12-26 07:53 Vladimir Zhirov New Issue
2009-12-26 07:53 Vladimir Zhirov File Added:
2009-12-26 07:53 Vladimir Zhirov Widgetset => Win32/Win64
2009-12-28 11:49 Paul Ishenin Fixed in Revision => 23311
2009-12-28 11:49 Paul Ishenin LazTarget => 0.9.30
2009-12-28 11:49 Paul Ishenin Status new => resolved
2009-12-28 11:49 Paul Ishenin Fixed in Version => 0.9.29 (SVN)
2009-12-28 11:49 Paul Ishenin Resolution open => fixed
2009-12-28 11:49 Paul Ishenin Assigned To => Paul Ishenin
2009-12-28 11:49 Paul Ishenin Note Added: 0033367
2009-12-28 11:49 Paul Ishenin Target Version => 0.9.30
2009-12-28 18:43 Vladimir Zhirov Status resolved => closed
2009-12-28 18:43 Vladimir Zhirov Note Added: 0033372