Skip to content

fix(wlr/taskbar): let task titles shrink within available space#5060

Open
EzequielColungaAcha wants to merge 1 commit into
Alexays:masterfrom
EzequielColungaAcha:fix-wlr-taskbar-title-ellipsize
Open

fix(wlr/taskbar): let task titles shrink within available space#5060
EzequielColungaAcha wants to merge 1 commit into
Alexays:masterfrom
EzequielColungaAcha:fix-wlr-taskbar-title-ellipsize

Conversation

@EzequielColungaAcha
Copy link
Copy Markdown

Summary

  • Allow wlr/taskbar buttons to share the module allocation instead of each title forcing its full requested width.
  • Ellipsize title labels on a single line so taskbar items shrink when many windows are open.
  • Keeps neighboring modules visible while preserving existing taskbar click actions and format handling.

This addresses the overflow behavior discussed in #4783.

Test plan

  • Verified the PR diff is limited to src/modules/wlr/taskbar.cpp.
  • Built and tested locally through the Arch package workflow before preparing the PR branch.

Made with Cursor

The taskbar currently requests enough width for every task title, which can push right-side modules off-screen when many windows are open. Allow task buttons to share the taskbar allocation and ellipsize title labels instead of forcing the whole module to grow.

This keeps neighboring modules visible while preserving the existing taskbar click actions and formatting behavior.

Co-authored-by: Cursor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant