Menu keyboard shortcuts not working anymore
Martin Fox
martinfox656 at gmail.com
Mon Apr 14 15:34:02 UTC 2025
Clemens,
Thanks for reporting this. I did some testing and I think I’ve reproduced the problem. What I’m seeing is specific to the Mac; when the focus is in a ComboBox, DatePicker, or Spinner the user can’t use Cmd+Q to quit the app. This also affects other menu items if you’re using the system menu bar. I understand what’s going on and will enter a bug report.
That’s not quite what you’re describing so perhaps there’s more than one issue. If you have further details or a reproducible test case please send them on and I’ll look into it.
Thanks again,
Martin
> On Apr 11, 2025, at 1:10 PM, Clemens Lanthaler <clemens.lanthaler at itarchitects.at> wrote:
>
> I have just updated my Photoslide App to Javafx24.
>
> What is no longer working is keyboard shortcuts defined in the main menu if the focus is inside of a control inside a pane. It seems that the pane is consumeing the event. If the focus is on the main windows than the shortcuts are working again.
> As a workaround I have now registered all shortcuts as eventfilter on the scene. But for new developers I think they are wondering why a menu shortcut is not alywas working.
>
> Clemens
>
> --
> ITArchitects
> CEO: B.Sc. Clemens Lanthaler
> Forchachstrasse 3
> A-6166 Fulpmes
> Tel.: +43 (0)650 855 2954
> email: office at itarchitects.at
> homepage: http://www.itarchitects.at
> -------------------------------------------------
> Notice: This e-mail and any attachments are confidential and may be privileged.
> If you are not the intended recipient, notify the sender immediately, destroy all
> copies from your system and do not disclose or use the information for any purpose.
> Diese E-Mail inklusive aller Anhaenge ist vertraulich und koennte bevorrechtigtem
> Schutz unterliegen. Wenn Sie nicht der beabsichtigte Adressat sind, informieren Sie
> bitte den Absender unverzueglich, loeschen Sie alle Kopien von Ihrem System und
> veroeffentlichen Sie oder nutzen Sie die Information keinesfalls, gleich zu welchem Zweck.
>
> <OpenPGP_0x94A919BE276C7EA1.asc>
More information about the openjfx-dev
mailing list