Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 367184

Summary: [patch] [error log] The action "Clear Log Viewer" remains available even if the log is void of data
Product: [Eclipse Project] PDE Reporter: Helmut J. Haigermoser <helmut.haigermoser>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: trivial    
Priority: P3 CC: pragya.g, Vikas.Chandra
Version: 3.7.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug
Attachments:
Description Flags
Error log with enabled action
none
The action "Clear Log Viewer" and "Restore log" do not remain available if the log is void of data. none

Description Helmut J. Haigermoser CLA 2011-12-20 08:06:05 EST
Build Identifier: 

The error log has an action "Clear Log Viewer", that action remains active even if the view does not contain any issues. Other entries like "Delete log" do behave differently, if no log is present (say we deleted the log before) the action is disabled...

Reproducible: Always

Steps to Reproduce:
1. Open Error Log
2. Right-Click: Delete Log
3. Right-Click: "Clear Log Viewer" still active
Comment 1 Helmut J. Haigermoser CLA 2011-12-20 08:06:41 EST
CQ:WIND00084477

*setting version to 3.7.1*

Please let me know if you need any further input! :)
Helmut
Comment 2 Helmut J. Haigermoser CLA 2011-12-20 08:06:59 EST
Created attachment 208609 [details]
Error log with enabled action
Comment 3 Helmut J. Haigermoser CLA 2011-12-20 08:11:11 EST
CQ:WIND00084415

Update: The same is true for the "Restore Log" action, even more drastically here since the UI seems to restore logs, but in fact this action only restores logs that have been removed via the "Clear Log Viewer" action, so if there really are no logs (say because the log was deleted previously) the action does not make sense and should be disabled to avoid ambiguity ...
Helmut
Comment 4 pragya gaur CLA 2015-01-15 08:48:36 EST
Created attachment 249971 [details]
The action "Clear Log Viewer" and "Restore log" do not remain available if the log is void of data.

Kindly review my changes and please provide feedback if any modification is required.
Comment 5 pragya gaur CLA 2015-03-18 08:38:41 EDT
Kindly review my changes.
Comment 6 Eclipse Genie CLA 2019-03-11 03:44:21 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 7 Lars Vogel CLA 2019-10-08 10:46:30 EDT
This bug was marked as stalebug a while ago. Marking as wontfix.

If this report is still relevant for the current release, please
reopen and remove the stalebug whiteboard tag.