Commit Graph
7 Commits
Author SHA1 Message Date
aiongg 2f228f71ce fwb2-fix: finish the pending jobs (workspace preview queue)
(cherry picked from commit f5356d632e5ccb5822b97270f051dd23e0915878)
2026-11-15 12:06:39 +00:00
aiongg 11567a8de2 dialogs-w39: net change of 3 commits
- dialogs-w39: written from its sheet
- dialogs-w39: repair 1
- dialogs-w39: review fixes (review-1)
2026-11-15 12:06:38 +00:00
aiongg a17171af48 Lints: drop the workspace missing_docs lint and warn on it in the framework crates that document every public item 2026-11-14 00:15:29 +00:00
aiongg 0067fe7b3c Cursor service: painted pointers reach the window as cursor images
A painted pointer is drawn once as a list of marks around its hotspot (ghost/art.rs) and either painted on the ghost
layer or rasterised with tiny-skia into the cursor image the window shows, where the window takes one at its size:
the root viewport of a native build, not Wayland off scale 1, within 255 px on Linux and 2048 elsewhere. The image is
in points on macOS. A brush tip too large for an image hands its centre cross and badge to the window and paints its
ring. The cursor service clears egui's sticky image every pass and keeps the last image while the art and scale are
unchanged, so the integration uploads it once. The brush cursor's own distance-field rasteriser goes.
2026-11-13 01:27:37 +00:00
aiongg c19abe8663 Dock a native window by dragging its title row
A floating dock group in its own OS window now moves through a window move
gesture the app runs, which reports Begin, Update, Commit and Cancel like a
layer's move, so the dock marks the target under the pointer and docks the
whole window on release.

- macOS (Caps::OS_MOVES_TRACKED): the OS moves the window (StartMove), and the
  app follows the system pointer, button and Cmd through SystemWindows, the
  running platform's WindowSystem in craft-window. The hand-off ends when the
  system reports the button up.
- X11 and Windows: the app moves the window with SetOuterPosition so the
  pressed point stays under the pointer; Escape puts it back.
- A drag started by a container shown in its own OS window follows that
  window's pointer, not its parent's.
- The runtime's end hook sets NSWindow.movable for every window; a window
  whose move the app runs is never moved by AppKit from its band.
2026-11-12 14:32:39 +00:00
aiongg 0799bc7588 Open floating dock windows as OS windows where the host reports window positions
DockConfig::native_windows is on by default. A float opens native where the
window host opens OS windows and reports their positions (ShellInfo::window_positions,
WindowHost::positions_reported: not on Wayland); a float never shown native opens
over its place in the main window. AppSpec::new takes the backend winit opens on.

The OS close of a native float is its Close action, taken when every panel in the
window may close; the group's open state belongs to the dock model. The gallery's
mock editor keeps its floats inside its preview.
2026-11-12 14:32:39 +00:00
aiongg e59460135e Base crates on the framework: theme, behaviour, keymap, platform, window, settings, i18n, fonts 2026-11-12 14:09:48 +00:00