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.
Summary: | Preview of code folding blocks | ||
---|---|---|---|
Product: | editor | Reporter: | rednaxela <rednaxela> |
Component: | Code folding | Assignee: | Miloslav Metelka <mmetelka> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | aleforla, hmichel, ppis |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Screenshot for code folding block popUp
/var/log/messages.log /var/log/messages.log Wrong preview of collapsed code in JS editor in 6.9.1 IDE under Windows Wrong preview of collapsed code in PHP editor in 6.9.1 IDE under Windows |
Bug also exists in Netbeans6.9.1 after initial installation on Linux platform Could you please attach messages.log ? It is located in <nb_user_directory>/var/log Created attachment 101313 [details]
/var/log/messages.log
messages.log attached
From attached "messages.log" it seems that NB is missing some resources of installed modules and it could be (code content) a consequence of that. Could you please try to start NB with another fresh NB user directory? http://wiki.netbeans.org/FaqAlternateUserdir What is the result then? Created attachment 101404 [details]
/var/log/messages.log
Same effect after starting the IDE with a new/clean user directory. /var/log/messages.log attached (In reply to comment #0) My 6.9.1 IDE has the same defect (on Windows) Created attachment 102525 [details]
Wrong preview of collapsed code in JS editor in 6.9.1 IDE under Windows
I have same problem in any editor in 6.9.1 IDE under Windows XP Pro!
I attach couple of screenshots. First is JavaScript editor.
Created attachment 102526 [details]
Wrong preview of collapsed code in PHP editor in 6.9.1 IDE under Windows
... and second screenshot taken in PHP editor.
In all other languages same error. :(
I think that problem in inaccurate detection (or setting) of popup box width. As we can see, on left side of popup block exists first letters of collapsed code ("fu" from "function", "p" from "private" et cetera...) So, my version of problem: preview of collapsed block created correctly, but have incorrect box width.
I hope this helps.
*** This bug has been marked as a duplicate of bug 189233 *** |
Created attachment 101295 [details] Screenshot for code folding block popUp Since several IDE-Updates the preview for code folding blocks is broken. Instead of the code content in the popUp i only get to see the line numbers of this block, screenshot enclosed. Error occurs in all editors (Java, JSP, XML, PHP, ...) The code folding preview did fine after the initial installation.