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 240467 - help ids confused in frameworks and tools options
Summary: help ids confused in frameworks and tools options
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Composer (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-14 17:32 UTC by Kenneth Ganfield
Modified: 2014-01-16 02:44 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Possible fix (704 bytes, patch)
2014-01-15 09:56 UTC, Jaroslav Havlin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Ganfield 2014-01-14 17:32:39 UTC
The Frameworks and Tools tab in the Options window has a number of frameworks that are displayed in the left pane depending on which plugins are installed.

The id for the help button changes according to which framework is selected.
But it seems that when there are several plugins installed that sometimes the window gets confused and will assign the wrong id to the button. Closing and opening the Options window can help, but the help id often gets stuck on one id.
Comment 1 Tomas Mysik 2014-01-14 19:39:15 UTC
I will definitely look at it, however I am not sure whether the Help ID can be "dynamic" (I mean whether it can change if I click on a different framework); I think that the Help ID is got just once when the dialog is created and then it never changes... Adding Jarda to CC, as a maintainer of the Help System - am I right? Don't you know, please?

Thanks.
Comment 2 Tomas Mysik 2014-01-15 07:10:43 UTC
I just verified (using System.out) that once the panel is switched, the Help ID is properly set so I guess this has to be issue in the Help System. Could you please evaluate? Thanks.
Comment 3 Jaroslav Havlin 2014-01-15 09:55:45 UTC
The Help System seems to work correctly. Options panel just needs to be informed when the help id is changed.
I'll attach a patch with possible fix. Please check it. Thank you.
Comment 4 Jaroslav Havlin 2014-01-15 09:56:34 UTC
Created attachment 143974 [details]
Possible fix
Comment 5 Tomas Mysik 2014-01-15 10:01:01 UTC
Patch applied, thanks a lot Jardo!

http://hg.netbeans.org/web-main/rev/d8b34324d25a
Comment 6 Quality Engineering 2014-01-16 02:44:38 UTC
Integrated into 'main-silver', will be available in build *201401160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d8b34324d25a
User: Tomas Mysik <tmysik@netbeans.org>
Log: #240467 - help ids confused in frameworks and tools options