Skip to content

Releases

BoxedIn 0.8.0

Choose a tag to compare

@beetlebugorg beetlebugorg released this 24 Nov 22:21

Add a setting for macOS's window-open animation

macOS zooms each new window in as it opens: on this Mac the bounds went
from 492x382 to 500x388 over about 50 ms, and to 947x975 before
settling at 945x973 after BoxedIn gave it a tile. With the global
NSAutomaticWindowAnimationsEnabled false, the window appeared once at
500x388 with no steps, measured with the same 2 ms poll.

Settings → Layout → "macOS window-open animation" turns it off by
writing false to the global domain, and on by removing the key, which
is the macOS default. Apps read it when they start. The Features page
of the docs describes it.

BoxedIn 0.7.0

Choose a tag to compare

@beetlebugorg beetlebugorg released this 24 Nov 22:06

Put a new window in its tile before the layout animation starts

A new window showed at the size its app chose until the animation had
captured the windows, about 106 ms on this Mac, and then jumped to its
tile. Measured by polling the window list every 2 ms.

  • A window that appears gets its frame at once, with screen updates
    paused until it has both size and position. It reaches its tile about
    30 to 40 ms after it shows, inside macOS's own open animation.
  • One new window stays a real window above the animation cover, as a
    dragged window does, so it needs no picture.
  • The ScreenCaptureKit window list is fetched half a second after each
    animation, and used when it still has every moving window at its
    current frame. The backdrop is captured at standard resolution; it
    shows only in the gaps. The capture went from about 140 ms to 97 ms.

BOXEDIN_TIMING=1 prints the capture times. The test host's term
command opens a terminal-like window.

BoxedIn 0.6.0

Choose a tag to compare

@beetlebugorg beetlebugorg released this 24 Nov 21:53

Never scale window content during animations

0.4.0 kept each picture's proportions, but a window that grew still
showed its old picture scaled up until the new one faded in, so text
zoomed for a moment.

Now the pictures are always at their real size, pinned to the top left
and clipped by the outline, the way a window resizes in macOS. Where a
window grows, the outline shows the window's background color, taken
from near the bottom-left corner of its picture (the right side has the
scroll bars), until the new picture is in.

The test host has a term command: a dark window with monospaced text,
for checking text during layout animations.

BoxedIn 0.5.0

Choose a tag to compare

@beetlebugorg beetlebugorg released this 24 Nov 21:19

Slide between desktops again, with an option for instant switches

The Dock swipe code from InstantSpaceSwitcher posts a fling of 9999 on
macOS 27, which switches desktops with no animation. That is its
purpose, but BoxedIn lost the system slide with it.

iss_set_fling_velocity sets the fling. 50 lets the Dock play its slide;
9999 keeps the instant switch. Measured on macOS 27.0 by recording the
screen: with 50 the screen changes over about half a second, with 9999
in one frame. Both end on the right desktop for a jump of three
desktops and for four switches in quick succession.

The new option boxedin:desktop_animation is slide (default) or instant,
also in Settings → Layout → Desktop switch. With animations:enabled
false, switches are instant.

BoxedIn 0.4.0

Choose a tag to compare

@beetlebugorg beetlebugorg released this 24 Nov 21:11

Split the docs into pages with a sidebar and search

The docs were one long page, and the only list of what BoxedIn does was
a flat table of 110 keys. Now there are six pages: Get started,
Features, Keys, Configure, Reference, and Help. Features has a section
for each feature with its keys. Keys lists the default binds by group,
with numbered runs folded into one row.

tools/make-docs.py builds the pages from docs/src with one template:
the sidebar lists the pages and the sections of the page on screen, and
a search box (press /) finds any heading or the text under it.
docs.html sends old links to the page that has the section now.

BoxedIn 0.3.0

Choose a tag to compare

@beetlebugorg beetlebugorg released this 24 Nov 20:49

Handle cmd+H, end gestures on mouse-up, and ask for Screen Recording later

  • A hidden app's windows leave the layout and come back when the app
    shows again, from the AX hidden and shown notifications. Before, a
    hidden app left empty tiles. An end-to-end test covers it.
  • A title bar or edge drag ends on the mouse-up event from the event
    tap. The 0.25 second check is the fallback without the tap.
  • BoxedIn no longer asks for Screen Recording at launch. Settings asks
    when smooth animations are wanted; without the permission, layout
    changes apply at once.

BoxedIn 0.2.0

Choose a tag to compare

@beetlebugorg beetlebugorg released this 24 Nov 20:16

Handle every bound key in BoxedIn

The previous change passed the user's own Switch to Desktop N keys
(cmd+1 to cmd+4 here) to macOS, and macOS did not switch with them, so
those keys did nothing. BoxedIn now handles every key it binds. A
Mission Control or Spaces shortcut on a bound key is off while BoxedIn
runs, so a key is not handled twice, and quitting restores the saved
settings. Desktop switching uses Move left/right a space.

Checked on this Mac with synthetic presses of cmd+4, cmd+2, and cmd+1.