Integrate trayicon support
Since 1.6 java offers trayicon support. As ripping streams may take hours, it is likely that Streamtastic is running for a long span of time. Thus it is quite usefull to have trayicon support. A trayicon won't block space in the taskbar.
The use of the trayicon schould be optional. If enabled the main window will minimize to tray - instead of to the taskbar.
Blueprint information
- Status:
- Complete
- Approver:
- Andreas Kühntopf
- Priority:
- Undefined
- Drafter:
- Streamtastic-Contrib-Dev-Team
- Direction:
- Needs approval
- Assignee:
- Joachim Lippold
- Definition:
- Approved
- Series goal:
- Accepted for 0.4
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Joachim Lippold
- Completed by
- Joachim Lippold
Whiteboard
examplary implementation available, see revision 53 of linked branch:
It is possible to minimize Streamtastic to tray/notifaction area now. The feature is enabled by default, but may be disabled in the user configuration file by setting the parameter MINIMIZE_TO_TRAY to DISABLED. A popup menu is also available from the trayicon, currently offering the possibilities to restore, show the "About..." dialog or to close Streamtastic. However the java trayicon support has some disadvantages because it is AWT based. It is not possible to use Swing JPopupMenu and thus menu item icons are not available. On WinXP the trayicon is looking acceptable but the popupmenu is not using the native font size. On Linux with KDE the java trayicon seems to support no transparency, so there is an ugly grey background. Here the popup menu is far out of looking native, it is very outmoded. However the feature is functional and if you don't like how it is looking, you are still free to disable it.