Skip to content

Conversation

@trancexpress
Copy link
Contributor

When calling Control.setParent() during a perspective switch, focus is lost on GTK3. This change restores the focus to the last control that had it, after the reparenting operation.

Fixes: #1915

@github-actions
Copy link
Contributor

github-actions bot commented Mar 18, 2025

Test Results

   510 files  + 1     510 suites  +1   9m 29s ⏱️ +29s
 4 345 tests +37   4 331 ✅ +35   14 💤 +3  0 ❌  - 1 
16 613 runs  +37  16 502 ✅ +35  111 💤 +3  0 ❌  - 1 

Results for commit 6b5ed11. ± Comparison against base commit 4184369.

♻️ This comment has been updated with latest results.

When calling Control.setParent() during a perspective switch, focus is
lost on GTK3. This change restores the focus to the last control that
had it, after the reparenting operation.

Fixes: eclipse-platform#1915
Signed-off-by: Simeon Andreev <[email protected]>
@iloveeclipse iloveeclipse merged commit d817936 into eclipse-platform:master Mar 18, 2025
14 checks passed
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.

[GTK3] Reparenting a widget results in losing focus

2 participants