NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #630 (closed defect: fixed)

Opened 2011-06-22T10:02:19-05:00

Last modified 2011-09-25T20:56:04-05:00

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:
Blocking:

Description

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 2011-07-27T15:06:26-05:00 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 2011-07-31T12:03:23-05:00 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 2011-09-25T20:56:04-05:00 by curtis

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

Fixed for a while now: 6f3d15187ee573871b15d0f23f7969808b50bc22 or thereabouts.