# macOS 27.2: ALL ListBox drags hang the app permanently — including the Xojo IDE itself

**URL:** <https://forum.xojo.com/t/macos-27-2-all-listbox-drags-hang-the-app-permanently-including-the-xojo-ide-itself/89016>\
**Category:** macOS\
**Created:** [October 20, 2026, 1:10am UTC](https://forum.xojo.com/t/macos-27-2-all-listbox-drags-hang-the-app-permanently-including-the-xojo-ide-itself/89016 "2026-10-20T01:10:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Perry\_Fjellman](https://forum.xojo.com/letter_avatar_proxy/v4/letter/p/a587f6/32.png) [@Perry\_Fjellman](https://forum.xojo.com/u/Perry_Fjellman)\
**Post date:** [October 20, 2026, 1:10am UTC](https://forum.xojo.com/t/macos-27-2-all-listbox-drags-hang-the-app-permanently-including-the-xojo-ide-itself/89016/1 "2026-10-20T01:10:47Z")

</div>

Posting this because I think it affects every one of us and I can’t find a single report of it yet.

**On macOS 27.2, any Xojo ListBox drag hangs the application forever.** This includes drag-reordering rows, and it includes the Xojo IDE: on 27.2 I cannot drag a control from the Library onto a window in the layout editor without hanging the IDE.

What I have ruled out, in case it saves anyone the time:

- **Not hardware.** M5 Max, M3 Air and M1 Pro, all on 27.2, all hang.
- **Not the OS in general.** An M1 Air on macOS 27.0 public release works perfectly.
- **Not my environment.** Reproduced in a brand-new clean user account.
- **Not a stale state.** A reboot does not clear it.
- **Not my Xojo version.** Reproduced on 2025r2.1 and on 2026r2.1.
- **Not new to the RC.** It has been this way since the very first 27.2 beta, through every seed, and is still present in 27.2 (26B118).
- **Not my app.** Reproduced in several unrelated apps I’ve built, and in the IDE.
- **Not the drag picture.** Removing the custom `DragItem.DragPicture` changes nothing.

**Where it hangs, and it is a SPIN, not a deadlock.** A stackshot shows the main thread inside Xojo’s own nested run loop, burning ~93% of a core:

```none
NuListbox::HandleClick
  RuntimeListbox::HandleRowClick
    RuntimeListbox::HandleRowDrag
      RuntimeListbox::PerformDragOperation
        CocoaPerformDrag(DragItemObject*)
          _CFRunLoopRunSpecificWithOptions (CoreFoundation) <-- spinning

```

Main thread CPU was 1.300s over 1.40s of sampling. Across 14 samples it sits at 11 different offsets inside `__CFRunLoopRun`, and `_kernelrpc_mach_port_insert_member_trap` shows up in 4 of them, so the loop is re-adding sources to its port set every iteration. Meanwhile `com.apple.NSEventThread` used 0.005s over the same window: it is alive but has nothing to deliver.

Read: on 27.2 the drag session is never created, so `CocoaPerformDrag`’s nested `CFRunLoop` has no exit condition and churns at full CPU forever. `CocoaPerformDrag` spinning its own nested loop rather than handing the drag to AppKit and awaiting a callback is what turns an OS-side failure into a permanent beachball.

**The only mitigation I’ve found** is to never let a drag start on an affected OS: return `False` from `DragRow`, and set `AllowRowReordering = False` / `AllowRowDragging = False`, gated on the macOS version. That obviously costs you the feature, so it’s a stopgap, not a fix.

**Questions for the room:** 1. Can anyone else on 27.2 confirm? I’m on the RC, 27.2 (26B118). It has been broken since the first 27.2 beta, so the whole beta cycle went by without this being caught. 2. Has anyone got a working drag via declares to `beginDraggingSessionWithItems:event:source:` on 2025r2.x, passing the ListBox’s own view as the dragging source? That’s the only route I can see to keeping real system drags without a framework change. 3. [@Xojo](https://forum.xojo.com/groups/xojo) — your IDE is affected on 27.2. I’ve filed with Apple; happy to share the full sample.

I ship a billing application to law firms. When 27.2 goes public my entire install base loses drag, and from what I can tell so does everyone else’s.

---

<div class="post-metadata">

**Author:** ![Beatrix\_Willius](https://forum.xojo.com/user_avatar/forum.xojo.com/beatrix_willius/32/282_2.png) [@Beatrix\_Willius](https://forum.xojo.com/u/Beatrix_Willius)\
**Post date:** [October 20, 2026, 1:28am UTC](https://forum.xojo.com/t/macos-27-2-all-listbox-drags-hang-the-app-permanently-including-the-xojo-ide-itself/89016/2 "2026-10-20T01:28:33Z")

</div>

Bug is already fixed: [https://tracker.xojo.com/xojoinc/xojo/-/work\_items/82078](https://tracker.xojo.com/xojoinc/xojo/-/work_items/82078)

Xojo urgently needs to release the new version.

---

<div class="post-metadata">

**Author:** ![Perry\_Fjellman](https://forum.xojo.com/letter_avatar_proxy/v4/letter/p/a587f6/32.png) [@Perry\_Fjellman](https://forum.xojo.com/u/Perry_Fjellman)\
**Post date:** [October 20, 2026, 1:29am UTC](https://forum.xojo.com/t/macos-27-2-all-listbox-drags-hang-the-app-permanently-including-the-xojo-ide-itself/89016/3 "2026-10-20T01:29:07Z")

</div>

Following up with the part I hadn’t worked out when I posted.

**Finder’s own list-view drags work perfectly on this machine.** No other drag anywhere in the OS misbehaves. So I pulled the drag selectors out of XojoFramework expecting to find the deprecated modal API. It isn’t there:

```none
beginDraggingSessionWithItems:event:source: 2 refs
draggingSession:sourceOperationMaskForDraggingContext: 2 refs
draggingSession:endedAtPoint:operation: 2 refs
dragImage:at:offset:event:pasteboard:source:slideBack: 0 refs

```

Xojo is doing it the modern, correct way. This is not a deprecated-API problem, which is what I assumed at first.

Both Finder and Xojo call `beginDraggingSessionWithItems:event:source:`. That call is **asynchronous** — AppKit drives the drag and calls the source back at `draggingSession:endedAtPoint:operation:`. Finder returns to the main run loop and lets that happen. Xojo cannot, because `DragRow` has to behave synchronously for us, so `CocoaPerformDrag` starts the session and then spins a nested `CFRunLoop` waiting for its own end callback.

On 27.0 the callback arrives and the loop exits. On 27.2 it never arrives, and the loop churns at ~93% of a core forever.

So my read is that **on 27.2 a dragging session does not progress while the initiating thread is inside a nested run loop on the main thread.** That explains why every Xojo app breaks while the rest of the system is fine.

If that is right, the fix on the framework side is to stop blocking: start the session, return from the event, and report completion through the existing drag events rather than spinning a nested loop to fake synchronous behaviour. That is a real change to how `DragRow` behaves, but it is the shape of the problem.

Filed with Apple as **FB25255092** , with a full stackshot and sysdiagnose attached.

So, 1. Anyone else on 27.2 (26B118) who can confirm — ideally someone not on my hardware. 2. [@Xojo](https://forum.xojo.com/groups/xojo) — the IDE reproduces this on 27.2. Dragging a control from the Library onto a window hangs it. I’m happy to send anything useful.

---

<div class="post-metadata">

**Author:** ![Andreas\_Michelk](https://forum.xojo.com/letter_avatar_proxy/v4/letter/a/b9bd4f/32.png) [@Andreas\_Michelk](https://forum.xojo.com/u/Andreas_Michelk)\
**Post date:** [October 20, 2026, 9:12am UTC](https://forum.xojo.com/t/macos-27-2-all-listbox-drags-hang-the-app-permanently-including-the-xojo-ide-itself/89016/4 "2026-10-20T09:12:55Z")

</div>

I really wonder why not releasing an XOJO update! 12. August last ☹

I would like XOJO to update also between major updates - with bug fixes - not only all 3 Months.  
New features can wait 3 or 4 Months - but bug fixes only?! I think not!

---

<div class="post-metadata">

**Author:** ![Emile\_Schwarz](https://forum.xojo.com/letter_avatar_proxy/v4/letter/e/90ced4/32.png) [@Emile\_Schwarz](https://forum.xojo.com/u/Emile_Schwarz)\
**Post date:** [October 20, 2026, 11:14am UTC](https://forum.xojo.com/t/macos-27-2-all-listbox-drags-hang-the-app-permanently-including-the-xojo-ide-itself/89016/5 "2026-10-20T11:14:33Z")

</div>

> [@Beatrix\_Willius](#):
>
> Xojo urgently needs to release the new version.

Seems to be for today, unless…

---

<div class="post-metadata">

**Author:** ![Jürg\_Otter](https://forum.xojo.com/user_avatar/forum.xojo.com/j%C3%BCrg_otter/32/584_2.png) [@Jürg\_Otter](https://forum.xojo.com/u/J%C3%BCrg_Otter)\
**Post date:** [October 20, 2026, 1:12pm UTC](https://forum.xojo.com/t/macos-27-2-all-listbox-drags-hang-the-app-permanently-including-the-xojo-ide-itself/89016/6 "2026-10-20T13:12:59Z")

</div>

> [@Perry\_Fjellman](#):
>
> Filed with Apple as **FB25255092** , with a full stackshot and sysdiagnose attached.

Thanks!

First priority should be that Apple fixes regressions of existing applications that crash with a newer macOS release.  
Using a newer Xojo Version to build a new version of an app is just a workaround _(with potentially much more regressions for an existing app 😉 )_
