macvim-dev / macvim

Vim - the text editor - for macOS
https://macvim.org
Vim License
7.47k stars 680 forks source link

Dragging MacVim tab overlapping the title bar results in a crash [UI] #1473

Open salvosq opened 5 months ago

salvosq commented 5 months ago

Steps to reproduce

  1. Create multiple editor tabs (cmd+t)
  2. Drag one of them overlapping the title bar.

Expected behaviour

I need to move tabs for reordering purposes.

Version of Vim and architecture

9.1.0 (179)

Environment

Process: MacVim [28974] Path: /Applications/MacVim.app/Contents/MacOS/MacVim Identifier: org.vim.MacVim Version: 9.1.0 (179) Code Type: X86-64 (Native) Parent Process: Vim [28973] Date/Time: 2024-01-08 14:55:40.3414 +0100 OS Version: macOS 14.2.1 (23C71) Report Version: 12

How MacVim was installed

From https://macvim.org/

Logs and stack traces

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x000042f2965f177e
Exception Codes:       0x0000000000000001, 0x000042f2965f177e
Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [28974]

Vim configuration where issue is reproducable

No response

Issue has been tested with given configuration

Issue has been tested with no configuration

Other conditions

ychin commented 5 months ago

I could reproduce this issue. Looking into it. Will try to push out an update soon after investigation and fix.

dennisjbell commented 2 weeks ago

Any update on this?

ychin commented 2 weeks ago

Sorry I have not been able to spend enough time on MacVim last few months due to travels and whatnot. Currently trying to go through backlog and merge from Vim upstream and then fix issues like this. Sorry for the delay.

felix021 commented 1 week ago

Been experiencing similar issue: dragging a tab results in weird UI responses, and even freezes MacOS's Dock which can only be solved by killing the MacVim process manually.