Smooth Bridge refused a selected group with "select two or more circles
to bridge", even when every object in the group was a circle, so
grouping circles first and selecting the group did nothing. The command
now takes the objects inside each selected group (at any depth; a
clipping group stays one object), so a group of circles is bridged in
place, inside the group. A group that holds anything other than a circle
is still refused, as before.
The dialog's Reach field counts a selected group's objects too, so it is
available when a selected group holds three or more circles; a circle
selected together with its group counts once.
dialog_lengths_show_in_the_general_unit confirmed the Move dialog and
opened the Rectangle dialog in the same frame. Move holds its OK, so it
stays on the stack until the next frame, and Rectangle is laid out once
over it and once more, unseen, after Move leaves. The test drew two
frames and passed only because the frame after the selection change ran
a second pass for the Properties panel. With that panel drawn in one
pass, the second frame showed nothing and the assertion failed.
The test now draws a frame after OK, so Move has closed before the
selection change and the Rectangle dialog. Its assertions are unchanged.
Part of #5622. On a Wayland session winit 0.30 receives no input from a
pen, so the app opens its window through XWayland when a pen is attached
(#4967). When it did not, the log said nothing, and a report could not
tell a pen that was not found from a session with no X display.
- On a Wayland session the log now says why the window opens on Wayland:
no pen in /proc/bus/input/devices, the device list could not be read,
VECTORCRAFT_NATIVE_WAYLAND is set, or there is no X display (DISPLAY is
unset, as in the Flatpak, which has --socket=fallback-x11). The
pen-found line names the pen, and the missing-libraries warning no
longer says Linux Display Server is X11 when a pen chose XWayland.
- Under X11 the tablet reader logs the pens the X server lists (for
example XWayland's "xwayland-tablet stylus:16"), again when that list
changes, and the first event from each pen.
- docs/development.md lists the new log lines, the Flatpak override that
gives it an X display, and that GDK_BACKEND=x11 does not move the
window to XWayland.
Make set the wrap option on every selected object, the area type
included, and the wrap resolver never wraps an object that has the
option, so selecting the object and the type together and choosing Make
left the type as it was.
- Make leaves a selected type object with another selected object above
it in its layer out of the wrap objects, and takes the option off it
if an earlier Make set it there. Text Wrap Options leaves it out too.
- Make warns in the status bar when no area type lies below any of its
wrap objects (the object is below the type, or the type is point
type).
- Make and Options record no undo step when nothing changes.
Docs: docs/mcp.md, the text_wrap tool description and the command
params text.
After the graphics device is lost, a frame the device could not present
stays acquired by the window's surface. When the window closed, eframe
released the surface, and wgpu's Vulkan backend panicked with "Trying to
destroy a SwapchainAcquireSemaphore that is still in use by a
SurfaceTexture" (gfx-rs/wgpu#9277), so the app stopped with an error.
GraphicsLoss now remembers that a loss happened after the frame handled
the report. When the window closes after a loss, the process ends in
on_exit once the app has saved what it keeps on quitting, before the
window's graphics are torn down, on every platform. This is the exit the
macOS accessibility quit already takes (#661); a loss during start-up
still goes to the adapter restart (#651).
Fixes#6374
Dragging a point of a selected path with the Curvature tool gave the
point the handles of the circle through it and its neighbors, while the
neighbors kept their own tangents. Stretching a circle's top point far up
made those handles reach well past the circle's sides, so the shape swung
out wider than the circle before it narrowed toward the point.
Each handle of the moved point is now no longer than the handle of the
circular arc tangent to it and to the neighbor's handle on that segment.
Where the neighbor is on the circle the tool follows, that arc is the
circle and the handles do not change. The shortening fades out as the
two handle lines meet near the neighbor or turn parallel, so the handles
change continuously during a drag.
On some Wayland compositors the system file dialog can open as its own
window out of sight. Pressing Open again on the Home screen then queued
a second picker behind the first and showed nothing, so Open seemed to
do nothing at all (#6160).
- File > Open, Open With and Install Plug-in refuse a new picker while a
file dialog is still open and say so in the status bar.
- The Home screen's New, Open, template and Clear Recent buttons report a
failed command in the status bar instead of dropping it.
- An open picker that fails (the browser could not read the file) says
why instead of being taken for a cancel.
Part of #6160
Part of #2654. On Linux and the BSDs, when no graphics adapter could
show the window (no wgpu backend started, or the restarts left no
adapter), the app ended. It now starts once more with
LIBGL_ALWAYS_SOFTWARE=1 and VECTORCRAFT_GPU_SOFTWARE=1 and says in the
status bar that it draws on the CPU. When that start also fails, or on
Windows and macOS, or with WGPU_BACKEND, WGPU_ADAPTER_NAME or
LIBGL_ALWAYS_SOFTWARE set, the error names the backends the driver
needs.
wgpu draws with Vulkan, OpenGL 3.3 or OpenGL ES 3.0. Intel's Ironlake
graphics (8086:0046) has OpenGL 2.1 alone, so the window's surface
failed with "Failed to create surface for any enabled backend: {}"
before any adapter was listed, and gpu::finish restarted only without
an adapter that had been picked.