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 191289 - [70cat] switching between files doesn't change navigator content
Summary: [70cat] switching between files doesn't change navigator content
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 7.0
Hardware: PC Mac OS X
: P1 normal with 3 votes (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 191054 191467 191563 191761 191772 191838 191852 191876 192023 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-24 13:52 UTC by Filip Zamboj
Modified: 2010-11-25 06:19 UTC (History)
14 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 Filip Zamboj 2010-10-24 13:52:21 UTC
Product Version: NetBeans IDE Dev (Build 101020-7d51775f8647)
Java: 1.6.0_20; Java HotSpot(TM) 64-Bit Server VM 16.3-b01-279

I opened two files, both having class declarations with class methods only. I have list of methods in navigator from the first file. If I switch between files the content stays the same.
Comment 1 tufan 2010-11-02 08:58:32 UTC
...same Problem on Ubuntu 10.04
Comment 2 pgebauer 2010-11-02 14:59:36 UTC
*** Bug 191467 has been marked as a duplicate of this bug. ***
Comment 3 schkovich 2010-11-05 09:23:28 UTC
Only PHP files are affected.

Product Version: NetBeans IDE Dev (Build 201011050000)
Java: 1.6.0_22; Java HotSpot(TM) 64-Bit Server VM 17.1-b03
System: Linux version 2.6.35-22-generic running on amd64; UTF-8; en_US (nb)
Comment 4 pgebauer 2010-11-05 09:36:15 UTC
Not only PHP files are affected but HTML as well. The problem appears when an user switches between files of the same type which use csl.api. For example if an user switch between two PHP files or two HTML files the navigator content will remain the same. However if the user switch between one PHP and one HTML file, the navigator will work. Besides, navigator title works fine in any case.
Comment 5 Filip Zamboj 2010-11-05 12:19:40 UTC
@pgebauer: It looks like BUG 191563 is a duplicate. Peter, could you evaluate, please?
Comment 6 nbphpuser 2010-11-08 19:02:45 UTC
same problem in latest dev build on Windows7 with PHP Project. Please, fix this. Makes IDE useless
Comment 7 Filip Zamboj 2010-11-09 16:08:46 UTC
*** Bug 191563 has been marked as a duplicate of this bug. ***
Comment 9 Filip Zamboj 2010-11-09 21:30:23 UTC
*** Bug 191761 has been marked as a duplicate of this bug. ***
Comment 10 Quality Engineering 2010-11-10 06:10:26 UTC
Integrated into 'main-golden', will be available in build *201011100000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/2267cedc4208
User: PGebauer <pgebauer@netbeans.org>
Log: #191289 - switching between files doesn't change navigator content
Comment 11 schkovich 2010-11-10 08:47:00 UTC
Verified. Switching between files (PHP -> PHP; HTML -> HTML) change navigator content correctly.
______

Product Version: NetBeans IDE Dev (Build 201011100000)
Java: 1.6.0_22; Java HotSpot(TM) 64-Bit Server VM 17.1-b03
System: Linux version 2.6.35-22-generic running on amd64; UTF-8; en_US (nb)
Comment 12 pgebauer 2010-11-10 10:05:13 UTC
*** Bug 191054 has been marked as a duplicate of this bug. ***
Comment 13 Marian Mirilovic 2010-11-10 10:18:31 UTC
pgebauer, 
please do not forget to set Target Milestone, once you FIX issue ;) Thanks in advance.

filip, 
what about backporting this into Beta ? 4 duplicates & 3 votes support this and we can leave it retested by broader community.
Comment 14 Marian Mirilovic 2010-11-10 10:44:00 UTC
*** Bug 191772 has been marked as a duplicate of this bug. ***
Comment 15 Filip Zamboj 2010-11-10 17:20:52 UTC
(In reply to comment #13)
> pgebauer, 
> please do not forget to set Target Milestone, once you FIX issue ;) Thanks in
> advance.
> 
> filip, 
> what about backporting this into Beta ? 4 duplicates & 3 votes support this and
> we can leave it retested by broader community.

Uff, sorry I missed your question between other messages. Well, there was no such a rush about this bug till yesterday so I kept is as P2. Yesterday, the same issue was filled on javascript. So, I think we should backport to beta. 

@pqebauer: would you backport? thanks.
Comment 16 Filip Zamboj 2010-11-10 17:23:14 UTC
@fordfrog: would you test your case for javascript, please? thanks a lot. 

verified for php/html based on user input
Comment 17 fordfrog 2010-11-10 17:25:16 UTC
already tested on web-main repo and works fine, thx for fix :-)
Comment 18 Filip Zamboj 2010-11-10 17:26:37 UTC
great work guys ;). thanks to netcat participants for help on this!
Comment 19 maghiel 2010-11-10 17:29:00 UTC
Yup it's working again :)
Comment 20 Petr Jiricka 2010-11-10 17:53:40 UTC
transplanted to the beta branch: http://hg.netbeans.org/releases/rev/1929cc6898ae
Comment 21 Filip Zamboj 2010-11-11 15:14:59 UTC
(In reply to comment #20)
> transplanted to the beta branch:
> http://hg.netbeans.org/releases/rev/1929cc6898ae

verified in 70Beta
Comment 22 Petr Pisl 2010-11-11 15:28:11 UTC
I found that it doesn't work correctly still. It looks like if you have bigger files from a library like Doctrine or Zend, and switch among files and you will not wait for counting the result in navigator, then the navigator displays randomly a structure from previous displayed files. 

Also I have noticed that the "Please wait ..." node is not displayed always.
Comment 23 Filip Zamboj 2010-11-11 15:32:20 UTC
confirmed.

even if this issue has been reopened, fix we have makes it better so I don't consider this as showstopper for 70Beta. It should be definitely fixed in 70RC.
Comment 24 Filip Zamboj 2010-11-11 15:33:51 UTC
@pqebauer: do you need files/case to reproduce this or you have everything you need (as we talked about this couple of minutes ago)?
Comment 25 Filip Zamboj 2010-11-11 15:49:29 UTC
*** Bug 191852 has been marked as a duplicate of this bug. ***
Comment 26 Sc0tTyXL 2010-11-15 13:33:28 UTC
*** Bug 191876 has been marked as a duplicate of this bug. ***
Comment 27 pgebauer 2010-11-16 09:08:52 UTC
Since the problem seems to be deeply in the cls.api module in the synchronization of scheduler requests, I'm reassigning the issue to Editor/CSL.
Comment 28 David Strupl 2010-11-18 12:17:48 UTC
Tomasi, can you please have a look?

CSLNavigatorScheduler.schedule is called when it should but its tasks are not started.

The way to reproduce is to quickly click on editor tabs between several big e.g. html files.

Thanks a lot, David
Comment 29 Marian Mirilovic 2010-11-19 13:03:11 UTC
*** Bug 191838 has been marked as a duplicate of this bug. ***
Comment 30 Marian Mirilovic 2010-11-19 13:06:01 UTC
Rising to P1, number of duplicates is rising ... so this should be fixed definitely ASAP.
Comment 31 Marian Mirilovic 2010-11-19 13:06:53 UTC
*** Bug 192023 has been marked as a duplicate of this bug. ***
Comment 32 Tomas Zezula 2010-11-24 14:30:01 UTC
Fixed jet-main d93ebab1bd5e
Comment 33 Quality Engineering 2010-11-25 06:19:44 UTC
Integrated into 'main-golden', will be available in build *201011250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/5263487e5f9f
User: Tomas Zezula <tzezula@netbeans.org>
Log: #191289:[70cat] switching between files doesn't change navigator content