Bug 236049 - [console] 'Clear' context menu item enable when no text is available to be cleared
Summary: [console] 'Clear' context menu item enable when no text is available to be cl...
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M1   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday, contributed
Depends on:
Blocks:
 
Reported: 2008-06-06 10:15 EDT by Joe Luebker CLA
Modified: 2008-07-28 11:12 EDT (History)
3 users (show)

See Also:


Attachments
Patch to solve this bug (1.09 KB, patch)
2008-07-24 20:39 EDT, Livar Cunha CLA
Michael_Rennie: iplog+
Michael_Rennie: review+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Luebker CLA 2008-06-06 10:15:32 EDT
Build ID: M20071023-1652

Steps To Reproduce:
1.Open the Console View.
2.When there is no text displayed in the view right-click in the view to display the context menu.
3.Notice that that 'Clear' menu item is enabled even though there is nothing to clear. The 'Find/Replace' item is disabled and only becomes enabled when text is added to the view. It seems that the Clear menu item should behave in a similar manner.


More information:
Comment 1 Livar Cunha CLA 2008-07-24 20:39:59 EDT
Created attachment 108408 [details]
Patch to solve this bug
Comment 2 Michael Rennie CLA 2008-07-28 11:11:20 EDT
Applied patch, with additional NPE check and updated copyrights.

Thanks for the patch Livar.
Comment 3 Michael Rennie CLA 2008-07-28 11:12:51 EDT
verified.