Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Donut: the small caption line is cut off in every language

Open
#361 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
1/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
csharp
Domain
design, frontend

Research direction

The issue describes the Donut toolbar caption and preset chip clipping, and names DonutMenu.MakeCaption, ToolbarPage.axaml, DonutLabelPlacementTests, and the RenderTests screenshots. Start by reviewing the ready branch's three-file change and the named tests. Done when captions wrap where there is room, preset chips show an ellipsis at the palette edge, and the relevant tests pass; a fix is already prepared on a branch.

Written by the indexing model from the issue text.

Description

On the image donut (Settings → Donut toolbar, profile "Images"), the slice "Half size" shows its caption as
"Same for…" instead of "Same format". The same happens in Spanish ("Mismo for…") and Portuguese
("Mesmo fo…"): the caption line gets the slice's width and a single line, about 8 characters on that small donut.

Expected: the caption wraps to a second line where the slice is deep enough, like the slice name does.

Seen in the page-toolbar-*.png screenshots of RenderTests (en, es, pt-BR).

Related: in the "Available presets" list on the same page, a chip wider than the palette is cut at its edge
(with the French translation of #359: "Retourner horizontalement · Inch…").

A fix is ready

Branch devohmycode:fix/donut-caption-wrap, one commit, 3 files:

  • DonutMenu.MakeCaption: the caption takes two lines when label.Height + 28 < maxHeight, otherwise one as before.
    After the change "Same format", "Mismo formato", "Mesmo formato" and "Ten sam format" all show in full on the
    Donut toolbar page.
  • ToolbarPage.axaml: the palette chip is a DockPanel with TextTrimming="CharacterEllipsis", so a chip wider
    than the palette ends in "…" instead of being cut at the edge. This part is not checked on a screenshot: the
    English chips are not wide enough to show it.
  • DonutLabelPlacementTests: a test that a wide caption wraps where there is room and stays on one line otherwise.

RenderTests, DonutFlipTests, DonutLabelPlacementTests and the toolbar tests pass locally (329 tests).

I can open a pull request from this branch if you'd like.

Dominant language
C#
Stars
3.6k
Forks
192
Avg merge
4h 6m
Merged PRs (30d)
158

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from KnifeLemon/Filee

All issues in KnifeLemon/Filee

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.