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 143917 - Task-list responsivness (tasklist only refreshes on save)
Summary: Task-list responsivness (tasklist only refreshes on save)
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-14 13:42 UTC by Ondrej Langr
Modified: 2016-07-07 07:18 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Langr 2008-08-14 13:42:42 UTC
When user fixes an error and does not save the file, tasklist does not reflect the new state. This can be perceived as
responsiveness issue at the beginning.
Comment 1 Jan Lahoda 2008-08-25 12:30:27 UTC
Well, although I understand the complaint, I think it is the best option we have. The problem is that we are also
"recompiling" dependencies on save, e.g. if you have a class referencing a missing method in other class/file, and you
create the method (and save the file), the file that contains the reference to the missing method will also be
recompiled. So there are three possibilities:
-the current option
-update errors for the current file without save, update the dependencies on save - this would confuse the users, as the
tasklist would be partially updated without save.
-update the current file and dependencies without save (after the user pauses for a while) - this would be quite slow,
and would very likely cause big complaints from the users, as we might in general recompile quite a few files after each
typed character.
Comment 2 jrojcek 2008-08-26 11:31:27 UTC
I also find it a bit weird that the errors don't show up in the task list as we compute them. I think it should work like this:

If the task list is in the "Current File" mode, show the errors as they appear in the file. I think this is straightforward.

In "All Projects" mode, I would say we should also show errors for the currently edited file immediately and show other errors as we compute them. I think 
users would quickly learn how it works: They make modification in a file and errors appear in task list. They fix it and save the file and new errors appear in 
the task list from the files depending on the edited one. That seems pretty slick to me.
Comment 3 David Strupl 2009-10-01 08:18:18 UTC
This is ENH request.
Comment 4 Ondrej Langr 2009-10-01 09:59:22 UTC
Actually I still think this is a defect. 

I have an error in the tasklist. I click it in tasklist (to navigate to the editor), fix it and .. nothing happens.
Sure, after some time, I figure out that I need to save the file to actually see the changes, but still .. it feels wrong.
Comment 5 Martin Balin 2016-07-07 07:18:37 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss