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 228532 - Xhtml file misses properties after file modification
Summary: Xhtml file misses properties after file modification
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-12 20:37 UTC by Maksim Khramov
Modified: 2013-06-08 01:09 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Just created file properties windo (29.13 KB, image/png)
2013-04-12 20:37 UTC, Maksim Khramov
Details
Modified file properties (32.86 KB, image/png)
2013-04-12 20:37 UTC, Maksim Khramov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2013-04-12 20:37:05 UTC
Created attachment 133481 [details]
Just created file properties windo

Product Version: NetBeans IDE Dev (Build 201304112301)
Java: 1.7.0_15; Java HotSpot(TM) 64-Bit Server VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_15-b03


Steps to reproduce:
Create JSF Web project. (I create Java EE6 + JSF 2.1 on GF 3 server project)
See default index.xhtml file properties (E.g click Context menu on filein Project window). 
Properties window contain next properties: Name, Extension, All Files, File Size, Modification Time and Encoding values.

Do some modifications, save file and see that properties command misses from file context menu...

Reload IDE...
Try to see file properties again. I see file properties for about a second. Then it disappears and replaced with next properties: xmlns, xmlns:h, dir, id, lang and xml:lang.
Comment 1 Maksim Khramov 2013-04-12 20:37:31 UTC
Created attachment 133482 [details]
Modified file properties
Comment 2 Maksim Khramov 2013-04-13 10:24:36 UTC
Actual set of properties and visibility of Properties command depends of current selected dom node in file -> Select any html tag - command available and shows tag attributes. Select jsf <h:head> tag - no command.
Comment 3 David Konecny 2013-04-14 23:00:14 UTC
Honza, I'm not sure this issue is for you or Marek. Please reassign if necessary. Thanks.
Comment 4 Jan Stola 2013-04-15 09:29:23 UTC
This issue is not related to page inspection. It is about properties of a node representing XHTML file/data object. I am reassigning this issue to HTML Editor (as I don't see a better component) for evaluation.
Comment 5 Marek Fukala 2013-06-06 14:37:28 UTC
Once html or xhtml file is opened in editor the node's properties are used for the tag editor. As designed.

What is a bug is that once the file is closed in the editor, the properties are not set back to the original ones.

Happens for html and xhtml files.
Comment 6 Marek Fukala 2013-06-07 07:45:40 UTC
fixed in web-main#d509feaaf6a2
Comment 7 Quality Engineering 2013-06-08 01:09:02 UTC
Integrated into 'main-golden', will be available in build *201306072301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d509feaaf6a2
User: Marek Fukala <mfukala@netbeans.org>
Log: #228532 - Xhtml file misses properties after file modification