Skip to content

Fix/floating commit box title lost#13276

Open
devanandn54 wants to merge 2 commits intogitbutlerapp:masterfrom
devanandn54:fix/floating-commit-box-title-lost
Open

Fix/floating commit box title lost#13276
devanandn54 wants to merge 2 commits intogitbutlerapp:masterfrom
devanandn54:fix/floating-commit-box-title-lost

Conversation

@devanandn54
Copy link
Copy Markdown

Fixes #11968

The FloatingCommitBox was always displaying the static
floatingBoxHeader ("Create commit") instead of the actual
typed commit title. Changed to title || floatingBoxHeader
so the typed title shows in the floating window header.
Screenshot 2026-04-11 at 9 25 38 PM
Screenshot 2026-04-11 at 9 25 45 PM

gitbutler-client and others added 2 commits April 11, 2026 21:21
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.
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
gitbutler-web Skipped Skipped Apr 12, 2026 1:32am

Request Review

@Byron
Copy link
Copy Markdown
Collaborator

Byron commented Apr 12, 2026

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.mov

Could you double-check or show in a video how the issue this is fixing can be reproduced?

Thanks again.

@Byron Byron added the feedback requested Feedback was requested to help resolve the issue label Apr 12, 2026
@devanandn54
Copy link
Copy Markdown
Author

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.mov
Could 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feedback requested Feedback was requested to help resolve the issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Edits to commit message header are lost when switching between floating and docked mode

3 participants