You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Patrik Karlström <pa...@trixon.se> on 2024/08/04 17:57:00 UTC
[flatlaf] Wrong icon in window title bar for Dark mode
I noticed that using any of the two dark flatlaf lafs in a platform
application results in the default netbeans icon in the window title bar
instead of the branded one.
The following LAFs produce the correct icon:
- FlatLaf Light
- FlatLaf Cupertino Light
- Metal
- Nimbus
- CDE
- GTK+
I get this on Fedora 40 Plasma Wayland and Kubuntu 24.04 xorg.
Can anyone confirm this? ... and/or explain :)
/Patrik
Re: [flatlaf] Wrong icon in window title bar for Dark mode
Posted by Patrik Karlström <pa...@trixon.se>.
Thanks,
adding the dark file worked. I didn't know about that.
/Patrik
Den sön 4 aug. 2024 kl 20:06 skrev Neil C Smith <ne...@apache.org>:
> On Sun, 4 Aug 2024 at 18:58, Patrik Karlström <pa...@trixon.se> wrote:
> >
> > I noticed that using any of the two dark flatlaf lafs in a platform
> > application results in the default netbeans icon in the window title bar
> > instead of the branded one.
> >
> > The following LAFs produce the correct icon:
> > - FlatLaf Light
> > - FlatLaf Cupertino Light
> > - Metal
> > - Nimbus
> > - CDE
> > - GTK+
> >
> > I get this on Fedora 40 Plasma Wayland and Kubuntu 24.04 xorg.
> >
> > Can anyone confirm this? ... and/or explain :)
> >
>
> You're probably missing a branded _dark icon? For some reason, the
> icon loading was written in a completely broken fashion that loads an
> unbranded _dark icon rather than the existing branded icon.
>
> Assuming we're talking one of the frame icons, then copy eg.
> frame48.gif to frame48_dark.gif.
>
> Best wishes,
>
> Neil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>
Re: [flatlaf] Wrong icon in window title bar for Dark mode
Posted by Neil C Smith <ne...@apache.org>.
On Sun, 4 Aug 2024 at 18:58, Patrik Karlström <pa...@trixon.se> wrote:
>
> I noticed that using any of the two dark flatlaf lafs in a platform
> application results in the default netbeans icon in the window title bar
> instead of the branded one.
>
> The following LAFs produce the correct icon:
> - FlatLaf Light
> - FlatLaf Cupertino Light
> - Metal
> - Nimbus
> - CDE
> - GTK+
>
> I get this on Fedora 40 Plasma Wayland and Kubuntu 24.04 xorg.
>
> Can anyone confirm this? ... and/or explain :)
>
You're probably missing a branded _dark icon? For some reason, the
icon loading was written in a completely broken fashion that loads an
unbranded _dark icon rather than the existing branded icon.
Assuming we're talking one of the frame icons, then copy eg.
frame48.gif to frame48_dark.gif.
Best wishes,
Neil
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists