-
Bug
-
Resolution: Duplicate
-
P3
-
8, 11, 17, 20, 21, 22
-
x86_64
-
linux
ADDITIONAL SYSTEM INFORMATION :
Debian 11 Cinnamon Desktop Java 8/11/17
A DESCRIPTION OF THE PROBLEM :
The XTrayIconPeer defines a hardcoded value 24px for WIDTH and HEIGHT. Even if the SystemTray has a size of 50px, getTrayIconSize() still returns those hardcoded values. The Icon is always painted into this hardcoded area. No matter which size the SystemTray has.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create and add a systemtray icon on linux, and configure the systemtray to be bigger then 24px.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The returned size should match the real size, and the painting code should fill the real size.
ACTUAL -
The Size is always returned as 24x24px, and only this area is filled with the icon.
FREQUENCY : always
Debian 11 Cinnamon Desktop Java 8/11/17
A DESCRIPTION OF THE PROBLEM :
The XTrayIconPeer defines a hardcoded value 24px for WIDTH and HEIGHT. Even if the SystemTray has a size of 50px, getTrayIconSize() still returns those hardcoded values. The Icon is always painted into this hardcoded area. No matter which size the SystemTray has.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Create and add a systemtray icon on linux, and configure the systemtray to be bigger then 24px.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The returned size should match the real size, and the painting code should fill the real size.
ACTUAL -
The Size is always returned as 24x24px, and only this area is filled with the icon.
FREQUENCY : always
- duplicates
-
JDK-8300280 Clarify SystemTray.getTrayIconSize returns size in logical pixels
-
- Open
-
- relates to
-
JDK-8300280 Clarify SystemTray.getTrayIconSize returns size in logical pixels
-
- Open
-