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 205840 - Text display when mouse over code-fold not correct
Summary: Text display when mouse over code-fold not correct
Status: REOPENED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
: 206090 215906 216404 216768 219523 222112 (view as bug list)
Depends on:
Blocks: 216404
  Show dependency tree
 
Reported: 2011-12-02 12:08 UTC by err
Modified: 2015-10-22 20:26 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
visual example of problem (12.73 KB, image/png)
2011-12-02 12:08 UTC, err
Details
visual example of problem as png (12.73 KB, image/png)
2011-12-02 12:11 UTC, err
Details
whole workspace png (217.11 KB, image/png)
2011-12-02 13:03 UTC, err
Details
config from userdir (337.07 KB, application/octet-stream)
2011-12-02 13:09 UTC, err
Details

Note You need to log in before you can comment on or make changes to this bug.
Description err 2011-12-02 12:08:25 UTC
Created attachment 113753 [details]
visual example of problem

The .png is for a manual fold; a java method fold shows the same problem.


Product Version: NetBeans IDE 7.1 RC1 (Build 201111242103)
Java: 1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Comment 1 err 2011-12-02 12:11:33 UTC
Created attachment 113754 [details]
visual example of problem as png

Sigh, re-attach as .png content type.
Comment 2 Svata Dedic 2011-12-02 12:44:55 UTC
Cannot reproduce on some random picked files (tested on 7.1RC1). 

Please provide a screenshot of the entire workspace - possibly some custom layout of TopComponents may affect the wrapping.
It would be best if you could provide the file itself + ZIP your userdir (the config/ part) so I can check whether some specific user formatting or wrap settings cause this defect.
Comment 3 err 2011-12-02 13:02:21 UTC
Will attach png of whole workspace. Will attach config zip. I can go to any file in project, collapse anything, see the problem (so not including source file).
Comment 4 err 2011-12-02 13:03:34 UTC
Created attachment 113756 [details]
whole workspace png
Comment 5 err 2011-12-02 13:09:39 UTC
Created attachment 113758 [details]
config from userdir

line wrap words
Comment 6 err 2011-12-02 13:12:47 UTC
BTW, the expanded comment is:
    /**
     * ViManager is partially initialized; this event is fired from
     * {@link #setViFactory(com.raelity.jvi.ViFactory)} after the
     * {@link ViInitialization} methods are invoked. old/new are null */
Comment 7 Svata Dedic 2011-12-05 08:40:32 UTC
reproduced when using entire user dir; trying to narrow to the root cause
Comment 8 Svata Dedic 2011-12-06 08:47:12 UTC
The defect actually happens when Java is allowed to word wrap after words, other user settings do not seem to have effect.

After discussion with Mila, reassigning to print&paint (wordwrap implementation).
Comment 9 Svata Dedic 2011-12-09 05:40:04 UTC
*** Bug 206090 has been marked as a duplicate of this bug. ***
Comment 10 err 2011-12-09 06:05:09 UTC
Added patch-candidate to whiteboard, since the dup'd bug 206090 was set that way by jiriprox. (corrected spelling of candidate)
Comment 11 err 2011-12-14 15:26:19 UTC
FYI,

The same type of problem appears with
    Tools>Options>Fonts&Colors>Syntax
    Language: Java
in the "Preview:"
Comment 12 Miloslav Metelka 2012-06-06 13:00:38 UTC
Appears to work fine in current builds.
Comment 13 Jiri Prox 2012-08-13 07:43:22 UTC
*** Bug 216768 has been marked as a duplicate of this bug. ***
Comment 14 Svata Dedic 2012-09-07 11:16:20 UTC
Still exists in NB-7.2 release. See report #216404, the attachment from 'berniev' contains wrapping 'anywhere' and I can produce a wrong sizing of the tooltip editor component in PHP. berniev's config does not wrap for java files (all files) and the error is not visible for java content. Switch on 'wrap anywhere' for all files to produce the defect in Java editors too.

Also seen in NB-7.3 dev, custom build 20120906-e98c6fcd1598
Comment 15 Svata Dedic 2012-09-07 11:38:29 UTC
*** Bug 216404 has been marked as a duplicate of this bug. ***
Comment 16 Svata Dedic 2012-10-04 13:21:54 UTC
*** Bug 219523 has been marked as a duplicate of this bug. ***
Comment 17 Svata Dedic 2012-11-21 07:50:23 UTC
*** Bug 222112 has been marked as a duplicate of this bug. ***
Comment 18 Milutin Kristofic 2013-01-08 14:59:34 UTC
*** Bug 215906 has been marked as a duplicate of this bug. ***
Comment 19 chiliNUT 2015-10-22 20:26:37 UTC
This bug is still present in 8.0.2 and is annoying!