Ticket #630 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

Menubar in Image Windows

Reported by: gharris Owned by: curtis
Priority: major Milestone: imagej2-b1-initial
Component: UI Framework Version:
Severity: serious Keywords:
Cc: Blocked By:


Image window comes up with out menu appearing, but when updated or resized, the menu appears.

Is this only on Windows?

(the menu is added in SwingUI, onEvent(DisplayCreatedEvent event))

Do we want a copy of the JMenuBar to each new display?

Change History

comment:1 Changed 9 years ago by curtis

  • Milestone changed from biweekly-2011: Jul-18 to Jul-29 to imagej-2.0-beta1

IIRC, ImageJ1 does not put a menu bar on each image window, but only the main application window, right? So I guess we should emulate that behavior. This can be fixed by having the menu bar syncing only take place in the MacOSXPlatform code.

comment:2 Changed 9 years ago by gharris

I assume that PlatformService.isTargetPlatform(final Platform p) could be used to determine the OS for deciding whether to add the menubar, but its use is not clear. Right now, the only @Platform is Mac OSX.

comment:3 Changed 9 years ago by curtis

  • Status changed from new to closed
  • Resolution set to fixed

Fixed for a while now: 6f3d15187ee573871b15d0f23f7969808b50bc22 or thereabouts.

Note: See TracTickets for help on using tickets.