Skip to content

Conversation

* Adjust the CI script to test building from the release tarball

Although it previously tested generating the release tarball, running `make install` was done from the original git checkout so this didn't catch missing files (as in the referenced bug report)

* Add missing files for the release tarball

Fixes: #1905
(cherry picked from commit a1abde5)
…ges (#1912)

* Avoid rebuilding the flattened canvas texture when the selection changes

This improves performance significantly with larger images, especially for tools like Lasso Select which marked the entire canvas as being modified, and also with the animated selection outline which caused many continuous updates

Instead of having the select tools use the canvas invalidation events, the canvas widget can just listen for selection change events from the document and update accordingly

* Cache the selection path for some minor performance improvement

Bug: #1909
(cherry picked from commit 89a58be)
This happened to be revealed by b156b6b, but the proper fix is to update the handle positions after fixing the inverted rectangle

Fixes: #1917
(cherry picked from commit f9b8efc)
* Attach canvas event handlers to the outer grid.

This fixes a regression from 079c086 where starting a drag outside the canvas was ignored. This happened because the new canvas widget configures the H/Valign properties to avoid expansion (simplifying a lot of other code), so the drag was outside the canvas widget itself - therefore, we need to attach it to a parent widget which contains the empty space.

The changes are just relocating the gesture controllers, with a couple notes
- We now need to translate the gesture coordinates to the canvas widget's space
- The WindowMousePosition property is no longer needed since this was only for communicating between the two widgets

The key press event handlers were also moved for consistency

* Update the canvas position in the statusbar while dragging

This was a regression with the new canvas widget in Pinta 3.1

Fixes: #1908
(cherry picked from commit fa6482f)
@cameronwhite cameronwhite changed the base branch from master to release-3.1 January 10, 2026 04:18
@cameronwhite cameronwhite merged commit 7727783 into release-3.1 Jan 10, 2026
6 of 12 checks passed
@cameronwhite cameronwhite deleted the backport/3.1.1 branch January 10, 2026 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants