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 220437 - CSS Styles Window should be hidden when editing other file than HTML or CSS
Summary: CSS Styles Window should be hidden when editing other file than HTML or CSS
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-19 15:46 UTC by Petr Jiricka
Modified: 2012-10-25 01:32 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 Petr Jiricka 2012-10-19 15:46:31 UTC
The CSS Styles window should only be shown when editing (X)HTML or CSS files, not when editing JavaScript, Java, XML, ... etc.

Though we may want to relax this and show the CSS Styles window for additional files like PHP, JSP, ..., once styling in other project types is supported (see e.g. issue 219542).
Comment 1 lxlyons 2012-10-19 15:50:21 UTC
To add to this:

It's essential that we show the CSS Styles window (+ Rule Editor until we get these combined into 1 window) by default as soon as these file types are opened/get focus in the editor.  It's a tool that should be available the moment the user wants to start working with these file types.

If the user closes the window, we'll respect that and not try to keep automatically reopening it (not that we would, mentioning it just to be thorough :-) ).
Comment 2 Marek Fukala 2012-10-19 16:46:36 UTC
I'm afraid this is mine as the merged component will be in css.visual once I merge RE+CSSStyles
Comment 3 Marek Fukala 2012-10-24 12:45:28 UTC
fixed in web-main#9cf75a690cb3
Comment 4 Quality Engineering 2012-10-25 01:32:42 UTC
Integrated into 'main-golden', will be available in build *201210250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/9cf75a690cb3
User: Marek Fukala <mfukala@netbeans.org>
Log: #220193 - the CSS Styles + Rule Editor window should be merged into 1, #220437 - CSS Styles Window should be hidden when editing other file than HTML or CSS