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 238568 - Brace Matching Tooltip incorrectly shown when no brace match
Summary: Brace Matching Tooltip incorrectly shown when no brace match
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Code folding (show other bugs)
Version: 7.4
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-19 17:39 UTC by err
Modified: 2014-01-31 02:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
tooltip displayed as expected (11.26 KB, image/png)
2013-11-19 17:42 UTC, err
Details
the tooltip should not be displayed in this case (9.45 KB, image/png)
2013-11-19 17:48 UTC, err
Details

Note You need to log in before you can comment on or make changes to this bug.
Description err 2013-11-19 17:39:53 UTC
(what component for brace matching infrastructure?)
To reproduce
- clean install of 7.4
- open project, open file with several hundred lines
- position view so that a method end brace is near the top
- position cursor before that end brace
  start of method displayed in tooltip
  see first attachment
- hit page up, pause
- hit page down twice, not too fast, not too slow
observe
    the previous tooltip is displayed, but the cursor is not on
    a brace (you may have to set up the initial position differently
    so this final resting place is not on a brace)
    see second attachment (you can't see cursor because my screen 
    capture takes it away, but note highlighted line)
Comment 1 err 2013-11-19 17:42:33 UTC
Created attachment 142369 [details]
tooltip displayed as expected
Comment 2 err 2013-11-19 17:48:36 UTC
Created attachment 142370 [details]
the tooltip should not be displayed in this case
Comment 3 err 2013-11-19 18:24:34 UTC
Product Version: NetBeans IDE 7.4 (Build 201310111528)
Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Comment 4 Svata Dedic 2014-01-28 14:30:01 UTC
Fixed in jet-main#2e1568ee9933
Comment 5 Quality Engineering 2014-01-31 02:39:55 UTC
Integrated into 'main-silver', will be available in build *201401310001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2e1568ee9933
User: Svata Dedic <sdedic@netbeans.org>
Log: #238568: removed testing delay code