Skip to content

v0.8.2-alpha — edit connections in the sidebar, customizable toolbar, the seventh tab connects

Choose a tag to compare

@cremenescu cremenescu released this 02 Aug 18:57
· 31 commits to main since this release
b81aa98

Edit a connection without opening anything

The panel at the bottom of the sidebar showed host, user and password read-only, so
changing any of them meant opening the full editor. Those fields are now editable in
place and write as you type: host, port, user, domain, password.

It follows the connection selected in the tree — the same model mRemoteNG uses for its
docked property grid, which is likewise fed only from the tree selection and writes on
change with no OK button. Inheritance behaves the way it does in the editor: an
inherited field shows the folder's value, greyed and read-only, and typing in a field
clears its own inherit flag rather than the folder's value.

The editor sheet is untouched and still holds everything else. The toolbar button that
opens it now says what it acts on, since the tab bar has a selection of its own.

Domain only appears when the connection carries one. Naming an account as
DOMAIN\user in the username field leaves it empty on nearly every connection, and an
always-blank row in a panel this small is a waste.

The toolbar is customizable

Every item carries a stable identity, so View > Customize Toolbar works and the
arrangement is remembered. The default layout is the one that was hardcoded before, so
nothing moves until it is moved on purpose. The panel switcher is pinned: it says where
you are rather than doing something, and a window that lost it would have no way
between its panels and no hint that it ever had one.

Fixed: connections beyond the sixth would not open

Opening a seventh RDP tab — or restoring a session list with that many — left it black
and dead. Two separate faults, one hiding the other.

Connecting is gated on the view having a real size, and that was only re-checked while
the window laid itself out. Restoring a list appends tabs one at a time, so each one
lays out the tabs already there and they connect, but the last is laid out once at zero
size and nothing after it ever lays it out again.

Underneath that, macOS gives an app 256 open file descriptors, and an RDP session is
expensive in them — every event, message queue and channel is a pipe. Seven sessions
plus a few terminals sit exactly on that ceiling, and the one that crosses it dies deep
inside the connect, reporting itself as a failure to connect. The limit is now raised at
launch, well below what the system allows.

Fixed: the file name had vanished from the title bar

It was being written onto the window directly while SwiftUI also set an empty title, and
whichever landed last won. Harmless while a window updated rarely; once windows began
redrawing on every shared setting change, the empty title started winning. There is one
owner now.