github selkies-project/selkies 89df425

pre-release42 minutes ago

fix(pelorus): Pair shell windows by opening order and describe every bar popup

A shell window was found by its title alone, so two file managers on one
folder both read the first one's description, and one that had just
navigated was looked up by a title the window manager had not been given
yet. Each described window now carries the shell's number for it, which
counts up as windows open, as the window manager's ids do on both
backends: windows of one title are paired in that order, under the title
the window manager was last given.

The shell's description was read under a timeout per read on a blocking
connect, so a shell that stopped accepting held every read once its
backlog filled, and a peer trickling bytes held one open without end. The
connect no longer blocks and the whole answer is read against one
deadline; the shell's own reply is written against one deadline too.

Every popup of the bar is described now: the volume slider, the calendar,
the notification center, and the menus of a taskbar button, the bar, the
desktop icons, and a tray item, so none is left uncounted over the windows
beneath it. A bar a fullscreen window covers is left out with its popup,
since the compositor draws the window over it. Surface keys come from a
bar's slot rather than its output's number and stay under a limit the
server enforces. On X11 a bar whose monitor is not known yet has no
origin. Settings text under the open color picker is left out like the
controls there, placed moves a tree's rectangles in place rather than
copying each subtree, and the names the description gives are translated.

Don't miss a new selkies release

NewReleases is sending notifications on new releases.