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 199872 - Previous/Next/Toggle bookmark toolbar buttons always disabled
Summary: Previous/Next/Toggle bookmark toolbar buttons always disabled
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P1 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords: REGRESSION
Depends on: 200131
Blocks:
  Show dependency tree
 
Reported: 2011-07-04 10:48 UTC by Jiri Skrivanek
Modified: 2011-08-01 12:56 UTC (History)
1 user (show)

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 Jiri Skrivanek 2011-07-04 10:48:41 UTC
Previous/Next/Toggle bookmark toolbar buttons are always disabled. To reproduce:

- create java project
- move cursor anywhere in editor but the Toggle bookmark toolbar button is always disabled.

Product Version: NetBeans IDE Dev (Build 201107030600)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb)
Comment 1 Marian Mirilovic 2011-07-04 11:15:41 UTC
expect it's not reproducible in 7.0.1 - right ?
Comment 2 Jiri Skrivanek 2011-07-04 14:16:20 UTC
It is only in 7.1 and cut, copy and paste actions are also affected.
Comment 3 Miloslav Metelka 2011-07-11 09:02:04 UTC
Reproduced.
Comment 4 Petr Pisl 2011-07-11 12:39:21 UTC
*** Bug 200015 has been marked as a duplicate of this bug. ***
Comment 5 Milutin Kristofic 2011-07-14 08:52:17 UTC
Bookmark Actions and Buttons are now more connected to changes in editors by listening changes in editor. Buttons become enable when they receive a focus in document. 

Here is its implementation: http://hg.netbeans.org/jet-main/rev/ae13a7b2024d

Buttons are enabled in Navigate menu, since there is a following defect http://netbeans.org/bugzilla/show_bug.cgi?id=200131

Disabling Cut, Copy & Paste is a different component and it is declared here: https://netbeans.org/bugzilla/show_bug.cgi?id=200071
Comment 6 Quality Engineering 2011-07-14 14:26:11 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/ae13a7b2024d
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #199872 - Previous/Next/Toggle bookmark toolbar buttons always disabled
Comment 7 Jiri Skrivanek 2011-08-01 12:56:53 UTC
Verified in build 201107310600.