JDK-6267955 : PIT: Tooltip text for TrayIcon gets truncated
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2005-05-10
  • Updated: 2011-01-19
  • Resolved: 2005-05-17
Related Reports
Duplicate :  
Description
The API specification does not say anything about the length of the tooltip text that is allowed for a tray icon. When I specify a lengthy tooltip, some portion of the tooltip is getting truncated. It would be better to clarify the spec that the length of the tooltip is limited and any value exceeding the max length would be automatically truncated. This would help the developer frame the tooltip accordingly.

This is noticed on Win32 as well as Sol10-JDS. 

Run the attached test to reproduce this bug.
###@###.### 2005-05-10 14:53:51 GMT

Comments
EVALUATION The tooltip on Windows is trancated according to the MSDN. On Linux this bound is based on some private considerations. Probably we should coordinate them. ###@###.### 2005-05-11 09:19:58 GMT
11-05-2005