This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 49334 - Output sometimes doesn't scroll down to the end
Summary: Output sometimes doesn't scroll down to the end
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Output Window (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords: RANDOM
Depends on:
Blocks: 47082
  Show dependency tree
 
Reported: 2004-09-21 10:09 UTC by Sherold Dev
Modified: 2008-12-22 21:53 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
outlog.txt (76.10 KB, text/plain)
2004-09-21 10:09 UTC, Sherold Dev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sherold Dev 2004-09-21 10:09:01 UTC
Steps to reproduce:
1. go to the runtime tab
2. start tomcat
3. open "shared context log" from the tomcat's
context menu
4. if the shared context log is empty or too
short, run the "refresh" action on the "Web
Applications" node for a couple of times
5. if there are already enough messages in the
shared context log, close its output window tab
6. open the shared context log again, if we "got
lucky" the output window didn't scroll down, if it
did, repeat the steps 5 & 6.

Attaching the outlog.txt file saved just after the
output didn't scroll down.
Comment 1 Sherold Dev 2004-09-21 10:09:58 UTC
Created attachment 17783 [details]
outlog.txt
Comment 2 Martin Krauskopf 2004-10-25 14:24:57 UTC
I'm not able to reproduce it with steps you describe (not even with
another tricks :) )
The output view stops scrolling if you click on it. In other words,
put cursor to the other position then the end of an output text. Isn't
this the case when the "bug" is happening?
Comment 3 Sherold Dev 2004-10-25 15:12:16 UTC
I do not click on the output view so this is not the case. I can still
reproduce it approximately in one out of ten retries when following
the steps to reproduce.

What system are you running? I can reproduce it on Linux, however I
think it is reproducible on Windows too.
Comment 4 Martin Krauskopf 2004-10-25 15:30:47 UTC
Thanks for the fast feedback.
I'm running Linux as well with the latest daily build and jdk5 (both
GTK and Ocean L&F). I will investigate it more deeply.
Can you write which versions are you using? Beta or latest builds,
which jdk version. Thanks
Comment 5 Martin Krauskopf 2004-10-26 09:13:42 UTC
Ok, I've just been successful with reproducing it.
Comment 6 Jaroslav Tulach 2004-10-27 15:15:39 UTC
This is a remainder to you, the owner of this bug, that this issue has P3, is
reported against 4.0 and its target milestone has not yet been set. Please set
the milestone, fix the issue or change its priority by tomorrow. Thank you for
helping NetBeans to get ready for code freeze.
Comment 7 Martin Krauskopf 2004-11-01 10:53:20 UTC
Fixed. I hope you will not be successful in reproducing it somehow :)

Checking in
core/output2/src/org/netbeans/core/output2/OutputDocument.java;
/cvs/core/output2/src/org/netbeans/core/output2/OutputDocument.java,v
 <--  OutputDocument.java
new revision: 1.10; previous revision: 1.9
done
Processing log script arguments...
More commits to come...
Checking in
core/output2/test/unit/src/org/netbeans/core/output2/OutputWindowTest.java;
/cvs/core/output2/test/unit/src/org/netbeans/core/output2/OutputWindowTest.java,v
 <--  OutputWindowTest.java
new revision: 1.4; previous revision: 1.3
done