Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • inkscape inkscape
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,525
    • Issues 1,525
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 137
    • Merge requests 137
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Inkscape
  • inkscapeinkscape
  • Merge requests
  • !3870

Improve the appearance and usability of guide handles

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Rafał Siejakowski requested to merge S-Rafael/inkscape:guide-handle into master Jan 23, 2022
  • Overview 62
  • Commits 2
  • Pipelines 25
  • Changes 6

This MR changes the behaviour and appearance of guide handles (the little dots that mark the origin point of a guide).

new-guide-handles

Summary of changes

  • The size of the handles is now adjustable in the Preferences via the existing setting Interface → Handle size. Nonetheless, the guide handles react to this setting at half the rate of other handles; at large settings, the effective size of a guide handle is about half the size of an auto-smooth node. At the same time, a minimum size is enforced, equal to the previously hard-coded size. As a result of this mechanism, the handle is only enlarged when the Handle size preference is set to a value of 7 or larger. Since the default value is 3, the size of guide handles does not change on new installs or for users on default settings.

  • The handle now has a hitbox and reacts to mouse events in the same way as the guide line itself. This makes it easier to interact with the guide. Taken together, these two changes address #3111 (closed).

  • The colour of the handle is now the same as the colour of the guide, except when the guide is locked.

  • When a guide is locked, its handle turns gray (and changes the shape to an "x", as before).

  • The handle is always correctly centered on the guide line. This change also fixes a similar positioning error that affected node handles.

Fixes #2022 (closed); Fixes #2604; Fixes #3111 (closed);

Edited Jan 28, 2022 by Rafał Siejakowski
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: guide-handle