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 218458 - Old Navigator in HTML/JavaScript project and cannot be changed
Summary: Old Navigator in HTML/JavaScript project and cannot be changed
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.3
Hardware: PC Linux
: P1 normal (vote)
Assignee: Petr Jiricka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-17 09:41 UTC by Vladimir Riha
Modified: 2012-09-20 09:05 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (33.40 KB, text/x-log)
2012-09-17 09:41 UTC, Vladimir Riha
Details
Is this the new navigator? (14.07 KB, image/png)
2012-09-19 11:24 UTC, Jaroslav Tulach
Details
new navigator (20.81 KB, image/png)
2012-09-19 12:11 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2012-09-17 09:41:29 UTC
Created attachment 124437 [details]
IDE log

To reproduce:
- start today's trunk build with clean cache and userdir
- create HTML/JavaScript project, all default values (or open existing one)

=> old Navigator is used instead of the new one. So it is missing actions (modify rule, breakpoints...), you cannot select item in it to show css styles or highlight in browser, it shows CSS and JavaScript nodes.

Strange is that it worked with the same build until now but removing user/cache dir and fresh "installation" (from zip) also doesn't help.

Jirka Skrivanek has the same problem on Windows 7



  Product Version         = NetBeans IDE Dev (Build 201209170001) (#1d9cebae5bf2)
  Operating System        = Linux version 3.2.0-30-generic-pae running on i386
  Java; VM; Vendor        = 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_07-b10
Comment 1 Jiri Skrivanek 2012-09-17 09:47:27 UTC
It starts to work when you create web project and restart IDE. Cluster activation issue?
Comment 2 Marek Fukala 2012-09-17 10:05:48 UTC
I experienced the same issue, but was fixed by cleaning up the userdir. Are you really sure it works incorrectly when you start with new userdir?
Comment 3 Marek Fukala 2012-09-17 10:06:37 UTC
sorry, this is not a navigator issue
Comment 4 Marek Fukala 2012-09-17 10:21:30 UTC
1) works fine if you start the ide with new userdir and with *no ergonomics cluster build*.

=> everything works fine, html.navigator is used.

2) build alsi ergonomics and start with new userdir

=> html editor seems ok including the editor actions, the only effect I can find is the navigator problem (the default csl shows instead of the html.navigator one).

So there's really something wrong with the ergonomics itself or csl.api or some html.* related code.

As the consequence really seems to be just the navigator being affected, reassigning to Honza.
Comment 5 Marek Fukala 2012-09-17 10:23:21 UTC
just for curiosity I've changed the html.navigator not to be shown in AU recently (if it could cause such issue????)
Comment 6 Jan Becicka 2012-09-17 14:51:16 UTC
Hey. What did you do with the navigator during my vacation? :)
Comment 7 Marek Fukala 2012-09-17 18:09:33 UTC
(In reply to comment #6)
> Hey. What did you do with the navigator during my vacation? :)
That's the question: who? :-)
Comment 8 Jan Becicka 2012-09-18 08:51:42 UTC
Navigator uses: " 

<folder name="Navigator">
        <folder name="Panels">
            <folder name="text">
                <folder name="html">
                    <file name="org-netbeans-modules-csl-navigation-ClassMemberPanel.instance_hidden"/>
                </folder>
            </folder>
        </folder>
    </folder>

to hide default csl ClassMemberPanel.

Somehow this hiding now does not work with ergonomics. Reassigning for evaluation.
Comment 9 peppertech 2012-09-18 20:54:48 UTC
This is a showstopper for the usability sessions starting on Monday of next week.  We have to have this fixed before Friday at the latest.

The workaround is not acceptable to put in front of a customer.
Comment 10 Jaroslav Tulach 2012-09-19 11:24:36 UTC
Created attachment 124567 [details]
Is this the new navigator?

I have started full build with empty user dir and opened empty HTML5 application. After selecting the index.html I could see navigator which seems to be the new one. Closing as worksforme.
Comment 11 Jaroslav Tulach 2012-09-19 11:25:12 UTC
tried on 2ffb0b254787
Comment 12 Vladimir Riha 2012-09-19 12:11:05 UTC
Created attachment 124576 [details]
new navigator

This is the new one:
- it has different context menu actions (breakpoints etc.)
- icons are gray

I believe that the "combo box" switcher (with "HTML View" text) should not be there either. Honzo, is this correct?
Comment 13 Petr Jiricka 2012-09-19 12:16:38 UTC
I believe I know where the problem is, taking over.
Comment 14 Petr Jiricka 2012-09-19 13:22:12 UTC
Fixed: http://hg.netbeans.org/web-main/rev/16ab7ba3bfac

The problem was that html.navigator module was not enabled at all - this was probably after Marek's change last week. Changing module dependencies so it is activated when some web-related functionality is activated.

However, after the fix I see the navigator still displays a combo box at the top, so that remains to be a problem.
Comment 15 Quality Engineering 2012-09-20 02:25:10 UTC
Integrated into 'main-golden', will be available in build *201209200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/16ab7ba3bfac
User: Petr Jiricka <pjiricka@netbeans.org>
Log: #218458 - old HTML navigator is shown.
Comment 16 Vladimir Riha 2012-09-20 09:05:12 UTC
thanks, works fine now. I created issue 218671 for the combo box.


Product Version: NetBeans IDE Dev (Build 201209200001)
Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01
System: Linux version 3.2.0-30-generic-pae running on i386; UTF-8; en_US (nb)