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 99313 - Live Results button is disabled after Profiling is finished
Summary: Live Results button is disabled after Profiling is finished
Status: VERIFIED INVALID
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-28 22:16 UTC by Alexander Kouznetsov
Modified: 2007-05-11 12: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 Alexander Kouznetsov 2007-03-28 22:16:57 UTC
Profiler 070327
NetBeans IDE Dev (Build 200703272330)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251

Steps to reproduce:
- Run some profiling that produces some results
- Stop it
- RESULT: Live Results button in Profiler Control Panel is disabled. However,
both Profiler > View > Live Results and Window > Profiler > Live Results are
enabled and open Live Results window which, if was opened during profiling
session (and even closed), shows the last available data.
Comment 1 Jiri Sedlacek 2007-03-28 23:14:29 UTC
This is intention, not a bug. Whereas Profiler -> View or Window -> Profiling
menus provide "shortcuts" to all Profiler windows, Control Panel provides
actions useful for managing and controlling profiling session.

If Live Results window is not opened during profiling, it's not being updated
and in fact no profiling results are being sent from agent to the tool. Thus
it's not useful to open Live Results after profiling is stopped - no data would
be shown.
Comment 2 Alexander Kouznetsov 2007-03-29 09:26:59 UTC
On the other hand, if Live Results window was opened during profiling, it was
being updated and profiling results were being sent from agent to the tool. Thus
it could be useful to open Live Results after profiling is stopped - the last
data would be shown. Therefore there is a UI inconsistency. Live Results button
is disabled while results are available.
Comment 3 Jiri Sedlacek 2007-03-29 09:38:12 UTC
If Live Results was opened during profiling for a while and then closed, data 
were not updated since then. If Live Results button was enabled after 
profiling, the user could get the feeling that he'll see the last data obtained 
before profiling session finished, not the last data before closing Live 
Results. I think that would be a real problem, IMHO current approach is perfect 
solution avoiding such problems.
Comment 4 Alexander Kouznetsov 2007-03-29 09:51:45 UTC
However, since the window could be opened using Profiler and Window menus, and
it will show some data to the user, he/she could get a feeling that this data is
up-to-date. Probably, another issue should be filed about the fact the there is
no indication whether the data in live results is up-to-date.
Comment 5 Alexander Kouznetsov 2007-05-11 12:41:58 UTC
Filed an enhancement Issue 103730.

Verified.