Bug 17005 - [ExternalTools] Log Console does not completely draw
Summary: [ExternalTools] Log Console does not completely draw
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 critical (vote)
Target Milestone: 2.0 F2   Edit
Assignee: Ryan Cooper CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui
: 17051 17148 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-05-22 15:20 EDT by Adam Schlegel CLA
Modified: 2002-09-18 13:59 EDT (History)
3 users (show)

See Also:


Attachments
Attached log file (3.78 KB, text/plain)
2002-05-22 15:20 EDT, Adam Schlegel CLA
no flags Details
Attached log file (3.78 KB, text/plain)
2002-05-22 15:21 EDT, Adam Schlegel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Schlegel CLA 2002-05-22 15:20:15 EDT
It is possible to get the Log Console view to open, without drawing the 
contents of the view.

1) From new Eclipse install, create a new External Tool using Run->External 
Tools->Configure. Make sure to check the option "Show execution log on console".
2) Run the external tool. This will open the Log Cosole view in the default 
location.
3) Move the log console view so that it is on top of some other view. I can 
reproduce the behaviour with the Tasks view and the Navigator view.
4) Close the Log Console View.
5) Re-run the external tool. The log console view tries to open where it was 
put, but the contents of the view will not be drawn.

If you don't see the expected behaviour, repeat steps 4) and 5) a few times. 
Try moving the Log Console over top of other views (I could not reproduce the 
behaviour over the Outline view for example).

Running F1.
Comment 1 Adam Schlegel CLA 2002-05-22 15:20:36 EDT
Created attachment 964 [details]
Attached log file
Comment 2 Adam Schlegel CLA 2002-05-22 15:21:26 EDT
Created attachment 965 [details]
Attached log file
Comment 3 Nick Edgar CLA 2002-05-27 16:52:58 EDT
Sounds like a reproduceable case of the one I saw with you last week.
Comment 4 Ryan Cooper CLA 2002-05-29 09:22:23 EDT
*** Bug 17148 has been marked as a duplicate of this bug. ***
Comment 5 Ryan Cooper CLA 2002-05-29 09:22:55 EDT
The StyleRanges used by the LogConsoleDocument to keep track of the colors of 
output to the console hold on to Colors which are disposed when the last open 
LogConsoleView is closed. When a new LogConsoleView is opened, it tries to draw 
using these disposed colors.
Comment 6 Simon Arsenault CLA 2002-05-29 13:49:57 EDT
Color management has been updated to not dispose of colors until not needed 
anymore. Fix in build > 2002-05-29
Comment 7 Simon Arsenault CLA 2002-05-29 14:12:31 EDT
*** Bug 17051 has been marked as a duplicate of this bug. ***
Comment 8 Adam Schlegel CLA 2002-06-12 10:03:35 EDT
Verified in 20020611