Skip to content

Conversation

@TurboGit
Copy link
Member

Allow Ctrl+Clik on canvas to switch between picker point/area.

Ensure that the point position is preserved by using a new
variable (pdrag) when dragging a box corner.

This rework also make it possible to switch between point/area for all pickers.

Also use routine to initialize the picker point/area default at a single place. Better than having
the same code duplicated in many places.

Rework the picker initialization that do not require anymore a check for some values as the
picker point/area are now always initialized at creation time.

Finally a new type dt_pickerpoint_t is introduce to store position of a
picker point (we already add dt_pickerbox_t for an area).

Closes #17887

Also introduce type dt_pickerpoint_t to store simple picker point.
Use the newly introduced routine to set the default which can
be controlled in a single routine.
Again to ensure the default is set at a single point.
Ensure that the point position is preserved by using a new
dt_pickerpoint_t variable (pdrag) when dragging a box corner.

This also make it possible to swicth between point/area for all
pickers.

Closes #17887
@TurboGit TurboGit added this to the 5.6 milestone Nov 27, 2025
@TurboGit TurboGit added priority: medium core features are degraded in a way that is still mostly usable, software stutters feature: redesign current features to rewrite scope: UI user interface and interactions documentation-pending a documentation work is required release notes: pending labels Nov 27, 2025
@TurboGit
Copy link
Member Author

@jenshannoschwalm : I finally got it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation-pending a documentation work is required feature: redesign current features to rewrite priority: medium core features are degraded in a way that is still mostly usable, software stutters release notes: pending scope: UI user interface and interactions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Global color picker UX improvment

2 participants