Bug 207410 - [logview] Error Log view does not refresh when new errors are logged
Summary: [logview] Error Log view does not refresh when new errors are logged
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 3.4 M3   Edit
Assignee: Jacek Pospychala CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-25 03:40 EDT by Markus Keller CLA
Modified: 2007-10-29 10:22 EDT (History)
3 users (show)

See Also:


Attachments
patch (826 bytes, text/richtext)
2007-10-29 05:00 EDT, Jacek Pospychala CLA
no flags Details
error generator (5.10 KB, application/zip)
2007-10-29 05:01 EDT, Jacek Pospychala CLA
no flags Details
mylyn/context/zip (831 bytes, application/octet-stream)
2007-10-29 10:22 EDT, Chris Aniszczyk CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2007-10-25 03:40:44 EDT
I20071023-0800

The Error Log view does not refresh when new errors are logged.

I have "Activate on new events" (should be called "Activate on New Events") enabled and the Error Log view does come to front on new events (but does not show them).

Workaround: click "Restore Log".
Comment 1 Chris Aniszczyk CLA 2007-10-25 10:10:55 EDT
can't reproduce from HEAD... damn log view...

yes, it should be "Activate on New Events"
Comment 2 Chris Aniszczyk CLA 2007-10-25 10:11:25 EDT
keeping you in the loop here Jacek 
Comment 3 Markus Keller CLA 2007-10-25 11:55:52 EDT
- Markus Keller: Try it with a big log file.
I pasted
:pserver:bogus@nada.eclipse.org:/cvsroot/eclipse
into the CVS Repositories view, and then refreshed a few times. Then I duplicated the .log's content a few times (blew it up to about 800KB). After a restart, I'm seeing the effect constantly.

- Chris Aniszczyk: ok, I see it now also
Comment 4 Chris Aniszczyk CLA 2007-10-25 12:26:41 EDT
Let's look at this one for M3 Jacek.

With this log error bugs, you're getting to 50 bugs in no time ;)
Comment 5 Jacek Pospychala CLA 2007-10-25 13:27:43 EDT
yes i'm looking into it
Comment 6 Jacek Pospychala CLA 2007-10-29 05:00:39 EDT
Created attachment 81426 [details]
patch

I think there is a different problem - entries are added to wrong session.
Attached is patch.

I'll also attach an example plugin that I've used to create error events.
Comment 7 Jacek Pospychala CLA 2007-10-29 05:01:27 EDT
Created attachment 81427 [details]
error generator

adds a button, that generates some NPE.
Comment 8 Chris Aniszczyk CLA 2007-10-29 10:22:41 EDT
excellent, looks like we found a culprit here.
Comment 9 Chris Aniszczyk CLA 2007-10-29 10:22:43 EDT
Created attachment 81455 [details]
mylyn/context/zip