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 211494 - Progress message sometimes not correctly updated
Summary: Progress message sometimes not correctly updated
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Progress (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jan Peska
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2012-04-20 06:42 UTC by Tomas Mysik
Modified: 2013-08-20 11:53 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 Tomas Mysik 2012-04-20 06:42:52 UTC
Steps:
- create a progress handle
- add detailed component [1] to your panel
- start the progress handle
- set N different messages to your progress handle [2]
- finish the progress handle

-> result: sometimes, [N - 1]-th message is displayed instead of the last (N-th) message

Not 100% reproducible but it happens to me quite often. Also please notice that if I wanted to verify my code using a debugger, the correct message is _always_ displayed.

Thanks.
[1] ProgressHandleFactory.createDetailLabelComponent()
[2] called outside of AWT in my case; calling in AWT did not make any difference

Product Version: NetBeans IDE Dev (Build 20120420-e557e578968b)
Java: 1.6.0_31; Java HotSpot(TM) 64-Bit Server VM 20.6-b01
System: Linux version 3.0.0-17-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 1 Jan Peska 2012-12-06 13:37:38 UTC
Unfortunately I'm not able to reproduce it on my "dummy" app. Is it reproducible (at least sometimes) somewhere in NetBeans so I can evaluate it on a real code?
Comment 2 Tomas Mysik 2012-12-06 13:39:47 UTC
Yes, in PHP area, in remote synchronization (the Summary dialog shown during the synchronization itself).
Comment 3 Tomas Mysik 2012-12-06 13:40:28 UTC
Let me know if you need exact steps.

Thanks.
Comment 4 Jan Peska 2012-12-10 16:04:46 UTC
(In reply to comment #3)
> Let me know if you need exact steps.
> 
> Thanks.

Unfortunately I'm not familiar with this part of the PHP support so it would be great if you can describe exact reproduction scenario.

Thanks
Comment 5 Tomas Mysik 2012-12-11 06:04:27 UTC
Steps:
- create PHP project
- Project Properties > Run Configuration > Run As: Remote WebSite (FTP, SFTP)
- Manage Remote Connections - add any (S)FTP where you can upload files, e.g. localhost -> OK
- verify the upload path (under Upload Directory field)
-> OK

Now, right click Source Files and choose Synchronize... Ensure that there are files to be uploaded/downloaded and run it. Dialog with a summary appears - the progress bar is in it, it should end with no message.

Thanks.
Comment 6 Jan Peska 2013-08-20 11:53:20 UTC
fix: http://hg.netbeans.org/core-main/rev/f8e3b3b4dafe