scijava / scijava-common

A plugin framework and application container with built-in extensibility mechanism :electric_plug:
BSD 2-Clause "Simplified" License
89 stars 52 forks source link

Remove shadow menu warning #262

Open hadim opened 7 years ago

hadim commented 7 years ago

See here https://github.com/scijava/scijava-common/blob/master/src/main/java/org/scijava/menu/ShadowMenu.java#L551

The number of warning can very high because of the File, Open Recent menu. Would it be possible to remove this warning ? or use debug for it ?

I can make a PR if needed.

ctrueden commented 7 years ago

I totally agree we need to get rid of the Open Recent warnings. The proper fix is not to stop warning here, but rather to figure out why the Open Recent feature (which has always been half-baked, BTW) causes these warnings.

stelfrich commented 7 years ago

The proper fix is not to stop warning here, but rather to figure out why the Open Recent feature (which has always been half-baked, BTW) causes these warnings.

I have the feeling (not verified) that this has to do with multi-point files which open multiple images with only one filename.