linuxmint / pix

Image management application
GNU General Public License v2.0
210 stars 43 forks source link

"Enhance Focus" preview window triggers assertion #135

Closed ion201 closed 2 years ago

ion201 commented 3 years ago
 * Pix version - 2.6.4
 * Distribution - Arch Linux

Issue When using the "Enhance Focus" tool, pix segfaults:

In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

** (pix:78442): CRITICAL **: 14:01:09.214: _cairo_image_surface_copy_subsurface: assertion 'src_x + width <= cairo_image_surface_get_width (source)' failed
Segmentation fault (core dumped)

Steps to reproduce

  1. Open any image
  2. Click "Enhance Focus"
  3. Ensure "Preview" option is checked
  4. Scroll the mouse wheel up to zoom into the preview image as much as possible.
  5. Pix crashes with the above error