Skip to content

Fix - Hide Text Selection Handles when text presenter visibility changes. - #22348

Merged
Gillibald merged 2 commits into
mainfrom
fix/text_selector_visibility
Oct 5, 2026
Merged

Gillibald merged 2 commits into
mainfrom
fix/text_selector_visibility

Conversation

@emmauss

@emmauss emmauss commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

What does the pull request do?

When a TextPresenter effective visibility changes, either by its own or a parent's IsVisible property is set, the text selector's visible state is reset, i.e. hidden. This prevents floating handles when a textbox is hidden due to it being removed or its hosting control being hidden.

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

Breaking changes

Obsoletions / Deprecations

Fixed issues

@emmauss
emmauss requested a review from MrJul September 29, 2026 13:09
@emmauss emmauss added bug area-textprocessing backport-candidate-12.1.x Consider this PR for backporting to 12.1 branch labels Sep 29, 2026
@github-actions

Copy link
Copy Markdown

NuGet packages

The packages for this pull request have been published (workflow run):

@Gillibald Gillibald self-assigned this Sep 29, 2026
@Gillibald
Gillibald added this pull request to the merge queue Oct 5, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 5, 2026
@Gillibald
Gillibald added this pull request to the merge queue Oct 5, 2026
Merged via the queue into main with commit aa91009 Oct 5, 2026
11 checks passed
@Gillibald
Gillibald deleted the fix/text_selector_visibility branch October 5, 2026 08:46
grokys pushed a commit to Evan260/Avalonia that referenced this pull request Oct 7, 2026
…ges. (AvaloniaUI#22348)

* add failing test

* Hide text selection handles if visibility of textpresenter changes.
MrJul pushed a commit that referenced this pull request Oct 9, 2026
…ges. (#22348)

* add failing test

* Hide text selection handles if visibility of textpresenter changes.
@MrJul MrJul added backported-12.1.x and removed backport-candidate-12.1.x Consider this PR for backporting to 12.1 branch labels Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants