Fix/floating commit box title lost#13276
Fix/floating commit box title lost#13276devanandn54 wants to merge 2 commits intogitbutlerapp:masterfrom
Conversation
This is a merge commit the virtual branches in your workspace. Due to GitButler managing multiple virtual branches, you cannot switch back and forth between git branches and virtual branches easily. If you switch to another branch, GitButler will need to be reinitialized. If you commit on this branch, GitButler will throw it away. Here are the branches that are currently applied: - d-branch-1 (refs/gitbutler/d-branch-1) For more information about what we're doing here, check out our docs: https://docs.gitbutler.com/features/branch-management/integration-branch
Fixes gitbutlerapp#11968 - FloatingCommitBox was always showing the static 'Create commit' header instead of the actual typed commit title. Now falls back to floatingBoxHeader only when title is empty.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
|
Thanks a lot for contributing. Apparently, with the latest Nightly build the issue as described in the PR doesn't reproduce anymore. Screen.Recording.2026-04-12.at.21.18.36.movCould you double-check or show in a video how the issue this is fixing can be reproduced? Thanks again. |
Hi Byron, thanks for sharing the video — I now understand the actual issue better. The bug shown is that the title field gets overwritten with AI-generated content when switching between floating and docked modes. My fix only addressed the window header label. I'll investigate the correct fix for the title content corruption and update this PR. |
Fixes #11968
The FloatingCommitBox was always displaying the static


floatingBoxHeader("Create commit") instead of the actualtyped commit title. Changed to
title || floatingBoxHeaderso the typed title shows in the floating window header.