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 270252 - Output window looses filter when contents is reset
Summary: Output window looses filter when contents is reset
Status: NEW
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-30 13:12 UTC by ArieDoelman
Modified: 2017-03-30 13:12 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ArieDoelman 2017-03-30 13:12:01 UTC
Problem: When you clear the output window by calling org.openide.windows.OutputWriter.reset(), any filter that was set is lost.

Background information: our application is built on the netbeans platform. The application produces lots of output lines. Due to large amount of output lines we clear the output window after a certain threshold of chararacters written is surpassed. We use the .reset() method for this (the only available option). However, our endusers want to use filter (using standard contextmenu filter option on outputwindow) to show only certain lines. Once we have called .reset() this filter is also reset automatically, and all lines are shown again. 
We cannot find any possibility in the API to intercept or get the current filter values, nor the possibility to set the filter values through the API.

Wanted solution: we would like the filter to remain, or have the ability to read the current filter values, and set these values again after a reset().