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 261527 - Bookmarks not showing up
Summary: Bookmarks not showing up
Status: CLOSED INVALID
Alias: None
Product: editor
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 8.1
Hardware: PC Windows 10 x64
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-13 09:08 UTC by antoniocs
Modified: 2020-07-05 10:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Video showing the bug (503.85 KB, video/x-ms-wmv)
2016-05-23 09:06 UTC, antoniocs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description antoniocs 2016-05-13 09:08:35 UTC
I had created several bookmarks for some file in a folder.
I then closed netbeans and when I re-opened (and opened the project) the bookmarks where not present.

The bookmarks appeared when I selected one of the files where I placed bookmarks.
This does not seem like a logical process. The bookmarks should be present as soon as I open the project.

I have also noted that the bookmarks remain even when I close the project from where they were created. Again... this does not seem like a logical approach to bookmarks.

Product Version: NetBeans IDE 8.1 (Build 201510222201)
Updates: NetBeans IDE is updated to version NetBeans 8.1 Patch 1
Java: 1.8.0_66; Java HotSpot(TM) 64-Bit Server VM 25.66-b18
Runtime: Java(TM) SE Runtime Environment 1.8.0_66-b18
System: Windows 10 version 10.0 running on amd64; Cp1252; en_GB (nb)
Comment 1 antoniocs 2016-05-13 09:18:43 UTC
I just closed and opened netbeans and the bookmarks are gone again and they don't seem to be coming back unless I specifically go to one of the files that had a bookmark.

This is ridiculous. I have created bookmarks to help me navigate the project. How can they help me in this task if I have to know the files where the bookmarks were????
Comment 2 antoniocs 2016-05-13 09:25:56 UTC
Actually I just noted that is not one of the files that has bookmarks but one file that is in the same folder as the files that have bookmarks that makes the bookmarks appear.

Apologies for my mistake.
Comment 3 antoniocs 2016-05-23 09:06:48 UTC
Created attachment 159834 [details]
Video showing the bug
Comment 4 antoniocs 2016-05-23 09:09:02 UTC
I have attached a video that I recorded when I opened my project.

You can only see the bookmarks window but you will notice that it is empty and then at second 15 a bookmarks entry appears. This was when I clicked a file from where I had a bookmark.

This does not work properly.
I loaded the project from a Group (not sure if relevant).

Product Version: NetBeans IDE 8.1 (Build 201510222201)
Updates: NetBeans IDE is updated to version NetBeans 8.1 Patch 1
Java: 1.8.0_66; Java HotSpot(TM) 64-Bit Server VM 25.66-b18
Runtime: Java(TM) SE Runtime Environment 1.8.0_66-b18
System: Windows 10 version 10.0 running on amd64; Cp1252; en_GB (nb)
Comment 5 Milutin Kristofic 2016-05-23 09:10:32 UTC
Hi, so you have still a problem with it? Sorry, I understood that it is ok now. I will look at this.
Comment 6 antoniocs 2016-05-23 09:18:57 UTC
Yes I still have a problem with this.

My post on 2016-05-13 09:25:56 UTC was just to correct how I got the bookmarks to appear. I wasn't saying that the issues was fixed.

From the video you will see that what shows are the bookmarks of the folder "PitchBundle" but I also have bookmarks in other folders which don't show up because I haven't opened a file that is in those folders.
Comment 7 Milutin Kristofic 2016-07-06 15:17:45 UTC
Ok, I tested behavior on 
Product Version: NetBeans IDE Dev (Build 20160624-7d027d89d793)
Java: 1.8.0_51; Java HotSpot(TM) 64-Bit Server VM 25.51-b03

and I cannot reproduce this behavior.

What I tested:
* have two groups : GroupWithBookmark and EmptyGroup
* I close netbeans with EmptyGroup selected
* I open netbeans - no bookmarks in bookmark view
* I select GroupWithBookmark - bookmark in bookmark view.

I also played with opening, closing projects, but it works all the cases I tried.

So can you describe better small reproducible steps? Thank you.
Comment 8 antoniocs 2016-07-06 21:34:03 UTC
I am using Build 201510222201 so that might be it. I can't use the nightly because I was getting tired of the random daily crashes.
Comment 9 riksoft 2016-07-13 14:39:47 UTC
Same problem here with PHP and JS.
Product Version: NetBeans IDE 8.1 (Build 201510222201)
Updates: NetBeans IDE is updated to version NetBeans 8.1 Patch 1

The bookmarks inside the editor are lost as soon as I close the IDE, while the bookmarks inside the bookmark panel remain in there.

If I click one by one the bookmarks from the bookmark panel they are also redrawn into the editor.

Basically it lacks a function that updates the editor bookmarks when the editor loads the files from the storage.
Comment 10 riksoft 2016-07-13 14:42:28 UTC
I forgot to say I'm running all on Linux.
Comment 11 Christian Lenz 2020-07-05 10:23:09 UTC
If you still have this problem, please create a ticket at the new Apache NetBeans JIRA board: https://issues.apache.org/jira/projects/NETBEANS