Skip to content

[Enhancement] Separate TrayApp from the core Compose Tray #418

Description

@amir1376

Summary

In v2.0.0, I noticed that the tray module now pulls in dependencies such as nucleus-application and window-decoration-tao. These are relatively large dependencies, but they're only needed when using the optional TrayApp functionality.

Would it be possible to split the current module into something like:

  • tray-core – contains the basic tray API and implementation.
  • tray-app – contains TrayApp and depends on nucleus-application, window-decoration-tao, and any other application-specific functionality.

Motivation

Many applications only need basic system tray support and don't use TrayApp. Splitting the module would:

  • Reduce the dependency footprint for users who only need tray functionality.
  • Avoid pulling in unnecessary transitive dependencies.
  • Make the tray API more lightweight and modular.
  • Allow users to opt into TrayApp only when they need its additional features.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions