Skip to content

tabpanel: can only drag the active tab #17986

@char101

Description

@char101

Steps to reproduce

  1. enable tabpanel, open several tabs
  2. try to drag inactive tab
  3. the tab is selected, but cannot be dragged
  4. the mouse need to be released and then dragged to move the tab

This is not a dealbreaker, the tab can still be dragged after selected. But from an UX perspective, in my opinion, it is pretty weird that only the active tab can be dragged. If my memory is not wrong, in the initial tabpanel implementation, inactive tab can be dragged.

There is also another weird behavior where left clicking in the empty tabpanel area randomly selects tab 1 to 4 and then suddenly jumps to the last tab (when there is >= 5 tabs).

Expected behaviour

Inactive tab can be dragged.

Version of Vim

9.1.1627

Environment

GVim
Windows 10

Logs and stack traces

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions