Ticket #1960 (new defect)

Opened 6 years ago

Last modified 6 years ago

Title of HistogramPlot dialog does not update

Reported by: bdezonia Owned by: bdezonia
Priority: major Milestone: imagej2-b10-compatibility
Component: Analysis Plugins Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1342

Description

Recently the HistogramPlot plugin was changed from a Swing plugin to a generic IJ2 plugin. In the process one nice feature was lost. For a multichannel image you used to be able to select the channel button at the bottom of the dialog and the title of the dialog would be updated to reflect which channel was being displayed. This no longer works in the new version. There is code in place to do it but it is ineffectual. Determine why and fix.

Change History

comment:1 Changed 6 years ago by bdezonia

  • Blocking 1342 added; 1457 removed
  • Milestone changed from imagej2-b8-analysis to imagej2-b10-compatibility

This is an issue where the SwingInputHarvester assumes you'll never update any attributes of an existing dialog. The SwingInputHarvester could be modified so that it tied together the Module and the SwingDialog. Thus a Module would be able to update the SwingDialog when its title changes (for example). Deferring this ticket to a later beta. In the meantime I have disabled title setting code in HistogramPlot with a note explaining why.

Note: See TracTickets for help on using tickets.