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 245159 - "Synchronize caret, content and context" mode is switched off, but IDE synchronizes caret positions
Summary: "Synchronize caret, content and context" mode is switched off, but IDE synchr...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-20 12:54 UTC by soldatov
Modified: 2014-06-24 02:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2014-06-20 12:54:39 UTC
I investigated some random test failure and I found bug in IDE or test scenario.

Scenario:
- Create Quote
- Open quote.cc file
- Call context menu on 229th line (return (EXIT_SUCCESS);)
- Select "Navigate|View Macro Expansion" menu item
- Switch off "Synchronize caret, content and context" button
- Do mouse click in Macro Expansion view
==> current line in editor is 229
- Press Arrow Up key
==> current line in editor is 228

P.S. If NetBeans works slowly and IDE can't update current position for 500ms, then test thinks "IDE will not synchronize caret positions". Now I will wait 5000 ms.
Comment 1 Alexander Simon 2014-06-23 08:47:34 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/7682806b3b18
Comment 2 Quality Engineering 2014-06-24 02:41:42 UTC
Integrated into 'main-silver', will be available in build *201406240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/7682806b3b18
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #245159 "Synchronize caret, content and context" mode is switched off, but IDE synchronizes caret positions