aurelienpierreeng / ansel

A darktable fork minus the bloat plus some design vision.
https://ansel.photos
GNU General Public License v3.0
679 stars 21 forks source link

Horizon and perspective breaks when crop is applied prior #308

Open trougnouf opened 9 months ago

trougnouf commented 9 months ago

Description of the bug

To Reproduce

Crop an image

Rotate the image in Horizon and perspective

Expected behavior

Image should remain consistent

Context

Screenshot from 2024-01-03 03-24-26 Screenshot from 2024-01-03 03-23-55 Screenshot from 2024-01-03 03-23-11

I have to disable the perspective module and restart ansel to get the correct image back.

Which commit introduced the error

?

System

Additional context

AlynxZhou commented 9 months ago

I also reproduced this.

cflags : https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ansel-git

When you are building AUR packages, cflags are actually set in /etc/makepkg.conf.

lukadh commented 6 months ago

I ran into the same problem before. There are quite a few issues with the image display at the moment. Most of the time you can work around them using Run > Clear all pipeline caches. In this particular case I also had to collapse the Horizon and perspective module.

DNedic commented 6 months ago

I ran into the same issue without using OpenCL at all, I added march=native to my CFLAGS though if that's relevant. Other CFLAGS should be the same as Arch defaults.