orkmode/ui/qml
Levi Neely 4c2250ba3c Fix drag start properly; lazy-load body editor; stop make reconfigure
Three fixes:

Drag: the previous attempt removed Drag.active=true before startDrag(),
but startDrag() *requires* an active drag — so it errored "startDrag()
drag must be active" and no drag began (the no-drop cursor). Use the
idiomatic automatic-drag pattern instead: bind the proxy's
Drag.active to the grip MouseArea's drag.active and set drag.target to
the proxy; with dragType Automatic, Qt starts the OS drag itself when the
threshold is crossed — no startDrag() call. Lifecycle is driven off
Drag.onActiveChanged / onReleased.

Body editor: wrap it in a Loader (active: editingBody) so the TextArea is
only instantiated when the user opens the editor, not once per row. This
avoids the per-row Breeze "Unable to assign TextArea to QQuickTextInput"
instantiation error and is lighter.

Makefile: the ui target ran `cmake -S ui -B ui/build` on every invocation,
reconfiguring the tree each time (which could leave the QML cache stale
relative to edited .qml). Configure only when ui/build/Makefile is absent;
otherwise just `cmake --build`.

GUI builds clean.
2026-10-06 11:06:07 +02:00
..
DatePickerDialog.qml Add in-place body editing with timestamp insertion 2026-10-02 15:18:08 +02:00
Main.qml Support cross-file refile via spring-loaded drag 2026-10-05 09:35:34 +02:00
OutlineView.qml Fix drag start properly; lazy-load body editor; stop make reconfigure 2026-10-06 11:06:07 +02:00
SettingsDialog.qml Make the Settings dialog content scrollable 2026-10-02 12:14:12 +02:00