Skip to content

KAN-208: Fix Shift+Y branch copy crash on Linux/Wayland#167

Merged
fulsomenko merged 8 commits intodevelopfrom
KAN-208/fix-shift-y-branch-copy-crash-on-linux-nixos-wayland
Feb 17, 2026
Merged

KAN-208: Fix Shift+Y branch copy crash on Linux/Wayland#167
fulsomenko merged 8 commits intodevelopfrom
KAN-208/fix-shift-y-branch-copy-crash-on-linux-nixos-wayland

Conversation

@fulsomenko
Copy link
Owner

@fulsomenko fulsomenko commented Feb 17, 2026

Summary

  • Enable Wayland clipboard support in arboard with wayland-data-control feature
  • Add SetExtLinux::wait_until() to give clipboard managers time to take ownership
  • Add reusable Banner component for success/error notifications
  • Show toast feedback when copying branch name or git checkout command
  • Add Nix build dependencies for Wayland/X11 clipboard support

Changes

  • crates/kanban-tui/Cargo.toml: Enable wayland-data-control feature
  • crates/kanban-tui/src/clipboard.rs: Use wait_until() for clipboard manager handoff
  • crates/kanban-tui/src/components/banner.rs: New reusable Banner component
  • crates/kanban-tui/src/app.rs: Replace last_error with unified banner system
  • crates/kanban-tui/src/ui.rs: Use Banner component for rendering
  • default.nix / shell.nix: Add wayland, libxcb, wl-clipboard, xclip deps
  • README.md: Document clipboard manager requirement

Note

On Linux, clipboard content is owned by the running process. A clipboard manager (wl-clip-persist, cliphist, clipman, etc.) is required for content to persist after the app exits.

@fulsomenko fulsomenko self-assigned this Feb 17, 2026
@fulsomenko fulsomenko changed the title Kan 208/fix shift y branch copy crash on linux nixos wayland KAN-208: Fix Shift+Y branch copy crash on Linux/Wayland Feb 17, 2026
@fulsomenko fulsomenko merged commit 61c02d8 into develop Feb 17, 2026
7 checks passed
@fulsomenko fulsomenko deleted the KAN-208/fix-shift-y-branch-copy-crash-on-linux-nixos-wayland branch February 17, 2026 22:57
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.

1 participant