ListArc » English » Miscellaneous » Awt-dev » +Linux:+tray+icon+improvements+planned?


+Linux:+tra...


06-06-2012 12:40 AM
1


Hi,

Are there any plans for improving tray icon support in Java 7?

Current problems in Java7u4:
1) PNG icon with alpha channel has gray/opaque background
2) system tray icon size not correctly detected.
Example: OpenSuse 12.1, KDE - reported 24x24 should be 22x22 pixels
I think that 24px is hard coded in sources. Due to 1) can be used smaller icon that is not centered when scaled

Thank you

Martin
)



06-06-2012 04:32 PM
2


Hi Janda,

Do you want to propose fixes for these issues? If so, you're welcome to
develop, test, and send them for a review on this mailing list.

If you're simply reporting bugs, please do so at http://bugs.sun.com/

Thank you.

--
best regards,
Anthony

On 6/6/2012 12:40 AM, Janda Martin wrote:
> Hi,
>
> Are there any plans for improving tray icon support in Java 7?
>
> Current problems in Java7u4:
> 1) PNG icon with alpha channel has gray/opaque background
> 2) system tray icon size not correctly detected.
> Example: OpenSuse 12.1, KDE - reported 24x24 should be 22x22 pixels
> I think that 24px is hard coded in sources. Due to 1) can be used smaller icon that is not centered when scaled
>
> Thank you
>
> Martin
)



07-06-2012 11:43 PM
3


Hi,

I'm sorry I don't have experience with linux development. I'm Java developer with some C/C++ knowledge on Windows.

Bugs are already reported
6453521 - TrayIcon should support transparency - created: 27-JUL-2006
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6453521

!!!VOTES!!! - 124

Thank you
Martin


----- Original Message -----
From: "Anthony Petrov" <>
To: "Janda Martin" <>
Cc: "awt-dev"
Sent: Wednesday, June 6, 2012 2:32:46 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: Re: Linux: tray icon improvements planned?

Hi Janda,

Do you want to propose fixes for these issues? If so, you're welcome to
develop, test, and send them for a review on this mailing list.

If you're simply reporting bugs, please do so at http://bugs.sun.com/

Thank you.

--
best regards,
Anthony

On 6/6/2012 12:40 AM, Janda Martin wrote:
> Hi,
>
> Are there any plans for improving tray icon support in Java 7?
>
> Current problems in Java7u4:
> 1) PNG icon with alpha channel has gray/opaque background
> 2) system tray icon size not correctly detected.
> Example: OpenSuse 12.1, KDE - reported 24x24 should be 22x22 pixels
> I think that 24px is hard coded in sources. Due to 1) can be used smaller icon that is not centered when scaled
>
> Thank you
>
> Martin
)



08-06-2012 01:55 PM
4



124 votes! It does look like a good reason to fix it... I have changed
the bug priority to P3 and targeted it to JDK8. If the fix is safe,
we'll then backport it to 7uX.

Thanks,

Artem

On 6/7/2012 9:43 PM, Janda Martin wrote:
> Hi,
>
> I'm sorry I don't have experience with linux development. I'm Java developer with some C/C++ knowledge on Windows.
>
> Bugs are already reported
> 6453521 - TrayIcon should support transparency - created: 27-JUL-2006
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6453521
>
> !!!VOTES!!! - 124
>
> Thank you
> Martin
>
>
> ----- Original Message -----
> From: "Anthony Petrov"<>
> To: "Janda Martin"<>
> Cc: "awt-dev"
> Sent: Wednesday, June 6, 2012 2:32:46 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
> Subject: Re: Linux: tray icon improvements planned?
>
> Hi Janda,
>
> Do you want to propose fixes for these issues? If so, you're welcome to
> develop, test, and send them for a review on this mailing list.
>
> If you're simply reporting bugs, please do so at http://bugs.sun.com/
>
> Thank you.
>
> --
> best regards,
> Anthony
>
> On 6/6/2012 12:40 AM, Janda Martin wrote:
>> Hi,
>>
>> Are there any plans for improving tray icon support in Java 7?
>>
>> Current problems in Java7u4:
>> 1) PNG icon with alpha channel has gray/opaque background
>> 2) system tray icon size not correctly detected.
>> Example: OpenSuse 12.1, KDE - reported 24x24 should be 22x22 pixels
>> I think that 24px is hard coded in sources. Due to 1) can be used smaller icon that is not centered when scaled
>>
>> Thank you
>>
>> Martin
)