Skip to content

Crash when dragging the window #13755

Description

@jbh-1994

Version

0.19.10

Operating System

Linux

Distribution Method

deb (Linux)

Describe the issue

I'm on Linux Mint and everything seems to work fine, as long as the window stays where is was opened.
The window freezes as soon as you drag it.

Image

How to reproduce (Optional)

  1. Open GitButler GUI
  2. Drag across screen
  3. Now you can't do anything within the window

Expected behavior (Optional)

  1. It should not freeze/crash

Relevant log output (Optional)

These are the logs i get (the ui logs are empty)

2026-05-12T05:08:23.692785Z  INFO extract_interactive_login_shell_environment: crates/but-core/src/cmd.rs:25: new
2026-05-12T05:08:23.725212Z  INFO extract_interactive_login_shell_environment: crates/but-core/src/cmd.rs:25: close time.busy=32.1ms time.idle=356µs
2026-05-12T05:08:23.725242Z  INFO crates/gitbutler-tauri/src/main.rs:619: Inheriting static interactive shell environment, valid for the entire runtime of the application
2026-05-12T05:08:23.727124Z  INFO crates/gitbutler-tauri/src/main.rs:160: system git executable for fetch/push: "git"
2026-05-12T05:08:23.727130Z  INFO crates/gitbutler-tauri/src/main.rs:167: SHELL env: Some("/bin/bash")
2026-05-12T05:08:23.727277Z  INFO crates/gitbutler-tauri/src/main.rs:180: starting app version=0.19.10 name=GitButler
2026-05-12T05:08:23.980644Z  INFO get_app_settings: crates/gitbutler-tauri/src/settings.rs:114: new
2026-05-12T05:08:23.980658Z  INFO get_app_settings: crates/gitbutler-tauri/src/settings.rs:114: close time.busy=1.17µs time.idle=14.7µs
2026-05-12T05:08:24.011579Z  INFO list_projects: crates/gitbutler-tauri/src/projects.rs:17: new
2026-05-12T05:08:24.011784Z  INFO list_projects:list_projects: crates/but-api/src/legacy/projects.rs:84: new opened_projects=[]
2026-05-12T05:08:24.015015Z  INFO list_projects:list_projects: crates/but-api/src/legacy/projects.rs:84: close time.busy=3.23ms time.idle=5.26µs opened_projects=[]
2026-05-12T05:08:24.015038Z  INFO list_projects: crates/gitbutler-tauri/src/projects.rs:17: close time.busy=3.45ms time.idle=10.3µs
2026-05-12T05:08:24.018664Z  INFO get_user: crates/but-api/src/legacy/users.rs:76: new
2026-05-12T05:08:24.018717Z  INFO get_user: crates/but-api/src/legacy/users.rs:76: close time.busy=37.2µs time.idle=17.7µs
2026-05-12T05:08:24.049224Z  INFO list_known_gitlab_accounts: crates/but-api/src/gitlab.rs:120: new
2026-05-12T05:08:24.049268Z  INFO list_known_gitlab_accounts: crates/but-api/src/gitlab.rs:120: close time.busy=28.7µs time.idle=17.5µs
2026-05-12T05:08:24.049323Z  INFO list_known_github_accounts: crates/but-api/src/github.rs:161: new
2026-05-12T05:08:24.049367Z  INFO list_known_github_accounts: crates/but-api/src/github.rs:161: close time.busy=24.9µs time.idle=19.5µs
2026-05-12T05:08:24.050143Z  INFO operating_mode: crates/but-api/src/legacy/modes.rs:23: new ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.050177Z  INFO get_base_branch_data: crates/but-api/src/legacy/virtual_branches.rs:288: new ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.050198Z  INFO get_base_branch_data:get_base_branch_data: crates/gitbutler-branch-actions/src/base.rs:96: new ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.051028Z  INFO get_app_settings: crates/gitbutler-tauri/src/settings.rs:114: new
2026-05-12T05:08:24.051038Z  INFO get_app_settings: crates/gitbutler-tauri/src/settings.rs:114: close time.busy=1.14µs time.idle=9.94µs
2026-05-12T05:08:24.051437Z  INFO secret_get_global: crates/but-api/src/legacy/secret.rs:9: new handle="git-lab-token:L2hvbWUvam9hY2hpbS9Eb2N1bWVudHMvRGV2L21vbm9yZXBvLy5naXQ"
2026-05-12T05:08:24.056729Z  INFO fetch_from_remotes: crates/but-api/src/legacy/virtual_branches.rs:616: new ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" } action=Some("auto")
2026-05-12T05:08:24.057033Z  INFO set_project_active: crates/gitbutler-tauri/src/projects.rs:52: new id=ProjectHandle(ProjectHandle("L2hvbWUvam9hY2hpbS9Eb2N1bWVudHMvRGV2L21vbm9yZXBvLy5naXQ"))
2026-05-12T05:08:24.057872Z  INFO secret_get_global: crates/but-api/src/legacy/secret.rs:9: close time.busy=6.43ms time.idle=5.46µs handle="git-lab-token:L2hvbWUvam9hY2hpbS9Eb2N1bWVudHMvRGV2L21vbm9yZXBvLy5naXQ"
2026-05-12T05:08:24.060415Z  INFO head_sha: crates/but-api/src/legacy/modes.rs:47: new ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.060913Z  INFO changes_in_worktree: crates/but-api/src/diff.rs:105: new ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.061359Z  INFO head_sha: crates/but-api/src/legacy/modes.rs:47: close time.busy=930µs time.idle=15.0µs ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.063320Z  WARN operating_mode: crates/but-graph/src/init/walk/mod.rs:790: Ignoring stale workspace ref 'refs/heads/gitbutler/workspace', which didn't exist in Git but still had workspace data ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.065265Z ERROR get_base_branch_data:get_base_branch_data: crates/gitbutler-branch-actions/src/base.rs:96: error=The reference 'refs/heads/gitbutler/workspace' did not exist ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.065297Z  INFO get_base_branch_data:get_base_branch_data: crates/gitbutler-branch-actions/src/base.rs:96: close time.busy=15.1ms time.idle=4.51µs ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.065308Z  INFO get_base_branch_data: crates/but-api/src/legacy/virtual_branches.rs:288: close time.busy=15.1ms time.idle=6.85µs ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.106440Z  INFO set_project_active:bootstrap_default_target_if_missing: crates/gitbutler-branch-actions/src/base.rs:119: new id=ProjectHandle(ProjectHandle("L2hvbWUvam9hY2hpbS9Eb2N1bWVudHMvRGV2L21vbm9yZXBvLy5naXQ"))
2026-05-12T05:08:24.106504Z  INFO set_project_active:bootstrap_default_target_if_missing: crates/gitbutler-branch-actions/src/base.rs:119: close time.busy=45.3µs time.idle=19.8µs id=ProjectHandle(ProjectHandle("L2hvbWUvam9hY2hpbS9Eb2N1bWVudHMvRGV2L21vbm9yZXBvLy5naXQ"))
2026-05-12T05:08:24.106522Z  INFO operating_mode: crates/but-api/src/legacy/modes.rs:23: close time.busy=56.4ms time.idle=13.4µs ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.109387Z  INFO changes_in_worktree:changes_in_worktree_with_perm: crates/but-api/src/diff.rs:126: new ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.112704Z  WARN changes_in_worktree:changes_in_worktree_with_perm: crates/but-graph/src/init/walk/mod.rs:790: Ignoring stale workspace ref 'refs/heads/gitbutler/workspace', which didn't exist in Git but still had workspace data ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.115213Z  INFO changes_in_worktree:changes_in_worktree_with_perm:worktree_changes: crates/but-core/src/diff/worktree.rs:37: new ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.124129Z  INFO git_remote_branches: crates/but-api/src/legacy/git.rs:13: new ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.125467Z  INFO git_remote_branches: crates/but-api/src/legacy/git.rs:13: close time.busy=1.32ms time.idle=18.3µs ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.145940Z  INFO get_project: crates/but-api/src/legacy/projects.rs:35: new project_id=ProjectHandle(ProjectHandle("L2hvbWUvam9hY2hpbS9Eb2N1bWVudHMvRGV2L21vbm9yZXBvLy5naXQ")) no_validation=None
2026-05-12T05:08:24.147376Z  INFO get_project: crates/but-api/src/legacy/projects.rs:35: close time.busy=1.42ms time.idle=13.4µs project_id=ProjectHandle(ProjectHandle("L2hvbWUvam9hY2hpbS9Eb2N1bWVudHMvRGV2L21vbm9yZXBvLy5naXQ")) no_validation=None
2026-05-12T05:08:24.153676Z  INFO set_project_active:set_project_to_window: crates/gitbutler-tauri/src/window.rs:142: new id=ProjectHandle(ProjectHandle("L2hvbWUvam9hY2hpbS9Eb2N1bWVudHMvRGV2L21vbm9yZXBvLy5naXQ"))
2026-05-12T05:08:24.178141Z  INFO changes_in_worktree:changes_in_worktree_with_perm:worktree_changes: crates/but-core/src/diff/worktree.rs:37: close time.busy=62.9ms time.idle=9.19µs ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.178184Z  INFO changes_in_worktree:changes_in_worktree_with_perm:new_stacks_to_input_stacks: crates/but-hunk-dependency/src/lib.rs:146: new ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.178194Z  INFO changes_in_worktree:changes_in_worktree_with_perm:new_stacks_to_input_stacks: crates/but-hunk-dependency/src/lib.rs:146: close time.busy=959ns time.idle=9.58µs ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.179067Z  INFO is_gerrit: crates/but-api/src/legacy/projects.rs:173: new ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.179153Z  INFO get_project: crates/but-api/src/legacy/projects.rs:35: new project_id=ProjectHandle(ProjectHandle("L2hvbWUvam9hY2hpbS9Eb2N1bWVudHMvRGV2L21vbm9yZXBvLy5naXQ")) no_validation=Some(true)
2026-05-12T05:08:24.179280Z  INFO changes_in_worktree:changes_in_worktree_with_perm:reconcile_with_worktree: crates/but-hunk-assignment/src/lib.rs:514: new ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.179329Z  INFO changes_in_worktree:changes_in_worktree_with_perm:reconcile_with_worktree: crates/but-hunk-assignment/src/lib.rs:514: close time.busy=43.8µs time.idle=5.02µs ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.179718Z  INFO get_project: crates/but-api/src/legacy/projects.rs:35: close time.busy=562µs time.idle=2.56µs project_id=ProjectHandle(ProjectHandle("L2hvbWUvam9hY2hpbS9Eb2N1bWVudHMvRGV2L21vbm9yZXBvLy5naXQ")) no_validation=Some(true)
2026-05-12T05:08:24.183053Z  INFO changes_in_worktree:changes_in_worktree_with_perm: crates/but-api/src/diff.rs:126: close time.busy=73.7ms time.idle=14.2µs ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.183101Z  INFO changes_in_worktree: crates/but-api/src/diff.rs:105: close time.busy=122ms time.idle=14.0µs ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.922868Z  INFO is_gerrit: crates/but-api/src/legacy/projects.rs:173: close time.busy=744ms time.idle=9.14µs ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" }
2026-05-12T05:08:24.930096Z  INFO fetch_from_remotes:get_base_branch_data: crates/gitbutler-branch-actions/src/base.rs:96: new ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" } action=Some("auto")
2026-05-12T05:08:24.932209Z ERROR fetch_from_remotes:get_base_branch_data: crates/gitbutler-branch-actions/src/base.rs:96: error=The reference 'refs/heads/gitbutler/workspace' did not exist ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" } action=Some("auto")
2026-05-12T05:08:24.932230Z  INFO fetch_from_remotes:get_base_branch_data: crates/gitbutler-branch-actions/src/base.rs:96: close time.busy=2.12ms time.idle=18.5µs ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" } action=Some("auto")
2026-05-12T05:08:24.932587Z ERROR fetch_from_remotes: crates/but-api/src/legacy/virtual_branches.rs:616: error=The reference 'refs/heads/gitbutler/workspace' did not exist ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" } action=Some("auto")
2026-05-12T05:08:24.932596Z  INFO fetch_from_remotes: crates/but-api/src/legacy/virtual_branches.rs:616: close time.busy=876ms time.idle=9.90µs ctx=Context { git_dir: "/home/joachim/Documents/Dev/monorepo/.git" } action=Some("auto")

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfeedback requestedFeedback was requested to help resolve the issueos:linuxThe Linux platform

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions