afb3943...
by
Rafael Siejakowski <email address hidden>
Update lib2geom to fix a compilation error
Update to the latest lib2geom master where a compiltation
error affecting Inkscape on some versions of g++ has been
fixed by commit 5957e3234b40da48d50bc5f9.
As discussed with UX designer Adam, grid options icon should be changed to gear icon.
9fad440...
by
Rafael Siejakowski <email address hidden>
Fix ghost pages when deleting from XML dialog
When we delete the first (viewport) page, we must recalculate document
bounds in order to correctly decide whether the origin of the document
is contained in any of the other preexisting pages. Otherwise, the
NamedView will believe that since the origin of the document does not
lie inside any SPPage, it needs to display the "viewport" canvas item.
This canvas item was manifesting itself as a ghost page of the fixed
issue.
Implementation of UI ticket #240.
Defined grids show up in a list box as opposed to a notbook, where they can be seen at a glance.
Grid spinboutton now obey increment step determined by document units.
Fixed scrolling in a document properties dialog where some pages
would have a scrollbar next to a scrollbar.
0ef14ca...
by
Rafael Siejakowski <email address hidden>
Fix crash when adding/deleting pages from toolbar
As a part of the GTK4 migration, the addition of window-level actions
was moved to an earlier stage of InkscapeWindow constructor, at which
point the desktop widget and _desktop member has not yet been set to
point to the SPDesktop. This resulted in the capture of null pointer
by window-level actions that nonetheless queried the window before it
was fully initialized.
The fix, for now, is to capture the window pointer (since these are
window-level actions) and query the window only once the action runs,
which can only happen after the window has been fully initialized.
This fixes segfaults when pressing the buttons to create or delete a
page in the toolbar of the Pages tool.
Allow finetuning Node delete preserves shapes function
Added preference to define angle for "flat" cusp nodes to aid
in deciding when shapes should be preserved and when line segments
should be used instead.