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 234548 - "Loading, please wait..." never ends in History view.
Summary: "Loading, please wait..." never ends in History view.
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-18 02:04 UTC by MackSix
Modified: 2015-09-02 17:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (61.69 KB, image/png)
2013-08-18 02:04 UTC, MackSix
Details
Screenshot #2 (82.50 KB, image/png)
2013-08-19 01:33 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2013-08-18 02:04:37 UTC
Created attachment 138827 [details]
Screenshot

1. Open up Mercurial project with some local history and some recent commits (newer than the 30 day filter threshold).
2. Open up a source file and view History.
3. Set the Filter: Mercurial.
4. Click the Refresh History button.

"Loading, please wait..." shows and never ends. See attached screenshot

Workaround: click on the table anywhere and it goes away.

If there are commits older than 30 days or whatever threshold you have set in Options >> Miscellaneous >> Versioning >> History, the return of the older commits causes the message to change.

Product Version: NetBeans IDE Dev (Build 201308152300)
Java: 1.7.0_40-ea; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b38
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 MackSix 2013-08-19 01:33:30 UTC
Created attachment 138844 [details]
Screenshot #2

Note: If repaint occurs, move the divider line between the list and the visual diff window a bit and you will see the repaint failure afterwards. See second attached screenshot.

Also, highlighting on the line does not repaint if another line is selected and the tool-tip erases it in it's area. See second attached screenshot.
Comment 2 MackSix 2013-08-28 10:08:38 UTC
I am guessing the fix for Issue 234549 solved this.
Comment 3 MackSix 2013-08-28 10:09:50 UTC
Fixed in:

Product Version: NetBeans IDE Dev (Build 201308270854)
Updates: Updates available
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b40
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 4 MackSix 2013-09-08 18:48:44 UTC
It it better, but I guess it is not fixed. It is a bit more difficult to reproduce now, but here is a video that shows how to do it.

http://youtu.be/rtXfRkmJU0E
Comment 5 Tomas Stupka 2013-12-03 14:18:16 UTC
thanks for the video, but tried a couple of times without success to reproduce. does this problem still prevail?

anyway, seems to be problem in the outline view - reassigning to outline for further evaluation (please see the video from the previous post)
Comment 6 Ondrej Vrabec 2013-12-16 11:16:07 UTC
repainting the table forcefully should help (at least for me it made a difference). The issue may be related to the fact that HistoryRootNode adds subnodes directly via children.add/remove - according to the javadoc this is not the best way to do it (setKeys should be used instead)

fix: http://hg.netbeans.org/core-main/rev/6320a65a2a47
Comment 7 alianos- 2015-09-02 16:35:19 UTC
This bug is still there for me, windows 8.1, Netbeans 8.0.2.

I recreated it by accident exactly as the video shows, but once it happens then, you cannot load any history at all on new files, or even on the same file if you close and reopen it.

(Should I submit it as a new bug?)
Comment 8 Ondrej Vrabec 2015-09-02 17:10:49 UTC
Please file a new issue and attach the IDE log there once it happens again. I am pretty sure it's a different issue, because this one affected just a single file and once you clicked into the table the Loading... line disappeared.