helge17 / tuxguitar

Improve TuxGuitar and provide builds
Other
296 stars 28 forks source link

macosx jfx cocoa dropdown menu broken #213

Open belfie13 opened 5 months ago

belfie13 commented 5 months ago

iMac macOS Monterey v12.7.2

tuxguitar-2024-01-13-snapshot-macosx-jfx-cocoa-x86_64.app

talking about the main app menu (file, edit,...) menu drops down in the middle of the screen and dissappears on mouse up.

it's impossible to use,

  1. you have to hold the mouse down to show the menu.

  2. the menu is in the middle of the screen (not at the top like where the dropdown should be) so i can't hold the mouse down and drag to the menu item.

belfie13 commented 5 months ago

also the app icon doesn't load in the macos dock, app is running in a window by itself

G-eos commented 3 months ago

Hi there, tuxguitar-1.6.1-macosx-swt-cocoa-x86_64 on Ventura 13.6.1 seems to not have this trouble. App icon seem son too.

image

guiv42 commented 3 months ago

Yep, that's a JFX-specific issue, as mentioned in original description ;) TuxGuitar desktop snapshot versions are delivered with both SWT and JFX ui frameworks. However, the status of JFX variant is not crystal clear now. It has several issues, but since only the SWT variant is delivered in releases these issues are managed with lowest possible priority. So if you would like to work with latest snapshot I recommend using SWT variant.

guiv42 commented 3 months ago

my interpretation: I don't think menu integration is broken in JFX configuration, it just seems it has not been developed yet. SWT configuration includes a dedicated module "TuxGuitar-cocoa-integration-swt", implementing a MacMenuPlugin. But there's no such thing available in JFX config.