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 219561 - Selecting in browser must synchronize everything
Summary: Selecting in browser must synchronize everything
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-04 22:21 UTC by lxlyons
Modified: 2012-11-01 02:44 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 lxlyons 2012-10-04 22:21:04 UTC
This was one of our top usability issues in the September Easel usability test.

Users expected that selecting an element in the browser would cause all of the following to synchronize:

- Navigator
- HTML Source
- CSS Styles
- Properties

They did not want to have to double-click in the Navigator to synchronize the source.  Furthermore, if a.html is currently visible in the editor and the user selects an element in b.html in the browser, a.html should display with the element selected.
Comment 1 lxlyons 2012-10-19 16:09:30 UTC
Note that we discussed this in our recent team meetings including Petr, John, JB, Marek, David and me, and have agreed that this should be implemented in V1.

When the user makes a selection in either of the NB browsers, we will synchronize all the way through to the corresponding HTML file.  The user will not be forced to interact with the Navigator to get to the HTML.
Comment 2 Marek Fukala 2012-10-31 18:18:18 UTC
changeset:   237871:468d3c9ce8a5
summary:     fixing livecycle of the CssStylesPanelProviders' component; propagating the panel's lookups to the CssStyles TopComponent

This changes fixes regressions in the browser selection synchronization to Css Styles content and navigator made during merging the CssStyles with RuleEditor.

However is doesn't address synchronization of the Properties and the source editor.

This will be addressed post beta.
Comment 3 Marek Fukala 2012-10-31 18:40:58 UTC
The properties window is properly synchronized, so the only missing part is the  editor synchronization.
Comment 4 Marek Fukala 2012-10-31 20:22:25 UTC
editor synchronization implemented in web-main#0341f6c43843

When an element is selected in the browser, if a corresponding html file is opened in the editor, the caret is set according to the position of the source element.
Comment 5 Quality Engineering 2012-11-01 02:44:56 UTC
Integrated into 'main-golden', will be available in build *201211010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0341f6c43843
User: Marek Fukala <mfukala@netbeans.org>
Log: #219561 - Selecting in browser must synchronize everything