Bug 111856 - Strange comment loading in Customizer Dialog
Strange comment loading in Customizer Dialog
Status: NEW
Product: utilities
Classification: Unclassified
Component: Properties
5.x
All Linux
: P4 (vote)
: TBD
Assigned To: Jan Peska
issues@utilities
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-03 09:18 UTC by Jiri Vagner
Modified: 2011-09-01 16:00 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments
properties-comment-loading.png (62.95 KB, image/png)
2007-08-03 09:18 UTC, Jiri Vagner
Details
properties-comment-loading2.png (51.37 KB, image/png)
2007-08-03 09:19 UTC, Jiri Vagner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Vagner 2007-08-03 09:18:29 UTC
Customizer Dialog load a lot of comments into comment textfield. In my opinion only comment from previous line should be
loaded. See the screenshots. (Also editor invoked after opening file via popup menu item "Open" shows strange comments
for edited keys.)

Steps to reproduce:
 - create new properties file
 - open it in plain text mode and copypaste there : 

# main menu prop file

a=Lancia
f=Fiat
fd=Iveco

# menus

#menu 1 comment
d=Lybra
#menu 2 comment
e=Phedra

 - click popup menu item "Customize..."  on key "d" or "a" in project tree
 - open file using popup menu item "Open" and also check "d" and "a" key

NB 6: 200708010320
Java: 1.6.0_02-b05
OS: Ubuntu Linux

NB 5.5.1: 200704122300
Java: 1.5.0_12-b04
OS: Ubuntu Linux
Comment 1 Jiri Vagner 2007-08-03 09:18:59 UTC
Created attachment 46109 [details]
properties-comment-loading.png
Comment 2 Jiri Vagner 2007-08-03 09:19:41 UTC
Created attachment 46110 [details]
properties-comment-loading2.png
Comment 3 Tomas Stupka 2007-09-10 14:21:46 UTC
agree that to much text may be annoying in a textfiel, but on the other hand - if somebody has multiline comments in his
file he's going to see only the last line and such a behavior i would see as a bigger problem because there might be
some missing information. 

We should reconsider a more fitting UI - e.g. a textarea instead of a textfield, ... ?

however - i don't think that some part of the feature wouldn't work or that we would Highly visible usability problem ->
P4. Enhancement maybe.


> Also editor invoked after opening file via popup menu item "Open" shows strange comments
> for edited keys
describe please
Comment 4 Alexey Butenko 2008-12-03 08:42:16 UTC
--> Enhancement


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo