API addition proposal -- Add Action enum and methods to javafx.application.Application

Thiago Milczarek Sayão thiago.sayao at gmail.com
Wed Oct 23 17:32:15 UTC 2024


Hi,

I'm not really sure about this feature, but  integration with linux
desktops should be done with XDG Desktop Portals
https://flatpak.github.io/xdg-desktop-portal/docs/



Em qua., 23 de out. de 2024 às 14:23, David Kopp <codebangusllc at gmail.com>
escreveu:

> That is a good question. I need to look into what Ubuntu does in that
> regard.
>
> I only really looked at the SDK code for the MacApplication.
>
> I think it would be helpful for someone to create a bug tracker issue so
> we could create a branch to start working on various approaches.
>
>
> > On Oct 23, 2024, at 11:44 AM, Michael Strauß <michaelstrau2 at gmail.com>
> wrote:
> >
> > I think we don't need separate ConditionalFeatures, because an
> > application that supports one type of app menu item will support all
> > of them. Maybe something like ConditionalFeature.APPLICATION_MENU will
> > suffice.
> >
> > In addition to that, I've looked at several other applications, and
> > most of them have custom menu items in their app menu. This leads me
> > to question the API of your proposed feature. Maybe we should allow
> > developers to add any kind of menu item to the app menu, instead of
> > hard-coding two particular items?
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20241023/d89c8562/attachment-0001.htm>


More information about the openjfx-dev mailing list