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 182187 - [69cat] Code folds not triggered
Summary: [69cat] Code folds not triggered
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: Code folding (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal with 2 votes (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on: 166668
Blocks:
  Show dependency tree
 
Reported: 2010-03-17 11:10 UTC by ulfzibis
Modified: 2012-03-15 13:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (17.01 KB, image/png)
2010-03-17 11:12 UTC, ulfzibis
Details
Screenshot 2 (50.70 KB, image/png)
2010-03-18 15:37 UTC, ulfzibis
Details
Screenshot 3 (92.32 KB, image/png)
2010-03-18 17:06 UTC, ulfzibis
Details
Screenshot 4 (87.77 KB, image/png)
2010-03-18 17:07 UTC, ulfzibis
Details
Screenshot 5 (69.38 KB, image/png)
2010-03-18 17:07 UTC, ulfzibis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ulfzibis 2010-03-17 11:10:56 UTC
[ BUILD # : 6.8, sorry ]
[ JDK VERSION : 1.6.* ]

Often after some editing the '+' icons are gone, sometimes partly, sometimes
for the whole document, more frequently, is changes come from diff tool or
exterior.
Comment 1 ulfzibis 2010-03-17 11:12:56 UTC
Created attachment 95277 [details]
Screenshot
Comment 2 ulfzibis 2010-03-17 12:33:19 UTC
Maybe include fix for bug 166668 here.
Comment 3 Vitezslav Stejskal 2010-03-17 14:52:31 UTC
Any reproducible testcase or at least an approx. pattern that could be used to reproduce it? Thanks
Comment 4 ulfzibis 2010-03-17 16:51:30 UTC
This mostly happened, when I was doing many things at same time and my brain was steaming or memory usage was near limit.
That's the reason, why I hadn't the patience to find reproducible steps.

I think, if you play around with half-baken javadoc blocks in the sense of copying/moving/breaking things between "/**", "/*" and "//" blocks, you have best chances to hit it, maybe on a slow machine.
Comment 5 ulfzibis 2010-03-18 15:37:26 UTC
Created attachment 95385 [details]
Screenshot 2

Another case: Valid code was fold into javadoc.
Comment 6 ulfzibis 2010-03-18 15:54:59 UTC
After, to reproduce the bug, I did SVN Revert Modifications. Result:
--> All '+'/'-' were gone. Collapse from menu has now effect.
Comment 7 ulfzibis 2010-03-18 17:04:28 UTC
Steps to reproduce:
checkout:
https://java-nio-charset-enhanced.dev.java.net/source/browse/java-nio-charset-enhanced/branches/j7_EUC_TW/?rev=1001
https://java-nio-charset-enhanced.dev.java.net/source/browse/java-nio-charset-enhanced/branches/JDK-7/j_l_Character_charCount/?rev=1001

- solve missing reference against additionally installed JDK-7 fastdebug platform.
- open java.lang.Character from both projects in above order
- 2nd should be visible on screen
- diff 1st against 2nd
- overwrite line 31 to right
- scroll down to big red block on the left [Screenshot 3]
- copy it to the right
- scroll down to ~ line 3270 [Screenshot 4]
- cursor on right pane
- overwrite blue -> right
- delete green on the right
- scroll down to line 3440 [Screenshot 5]
- overwrite blue -> right
-> recognize, that screen jumps back to old cursor position, very annoying
- again scroll to line 3440
- wait for red error underlining
- delete green on the right
- close diff view (automatically saves changes of document 2)
- in document 2 scroll down to line 2941 (last of big comment block)
- open '+' below and --> wonder what you see
- SVN Revert Modifications
--> wonder once more
Comment 8 ulfzibis 2010-03-18 17:06:04 UTC
Created attachment 95391 [details]
Screenshot 3
Comment 9 ulfzibis 2010-03-18 17:07:00 UTC
Created attachment 95392 [details]
Screenshot 4
Comment 10 ulfzibis 2010-03-18 17:07:30 UTC
Created attachment 95393 [details]
Screenshot 5
Comment 11 alied 2010-03-19 07:35:53 UTC
one more simptom:
I had some XML nodes collapsed, and put the cursor over a collapsed node to see its content. Then the tooltip with the node's content was kept for over a minute, even after switch to another program.
Comment 12 Svata Dedic 2012-03-15 13:38:12 UTC
Cannot reproduce in dev build; please provide up-to-date scenario, thanks.