BUG: "Copy to Clipboard" button only copies the last column when there are duplicate column names

Author: whiteandgoldCreated Sep 29, 2026Updated Sep 29, 2026

Describe the bug

All three modes (TSV/Excel, JSON, and Markdown) are affected.

To Reproduce

  1. SELECT 1 num, 2 num, 3 num
  2. Download -> Copy to Clipboard (any mode)

Expected behavior

All columns should be copied.

Screenshots / Gifs

Image

Version Information (please complete the following information):

  • OS: Mac
  • App Version: 6.1.4
  • Database type and version: Confirmed on SQLite 3.51.2

Source: beekeeper-studio/beekeeper-studio