When resampling data and using the option 'by pixel resolution (in m)' the result is shifted by half a pixel.
The coordinate of the upper left pixel is not correctly calculated.
An example is on the testdata server (in UTM coordinates):
The centre of the upper-left pixel is in the original 20m product (S2-20m.tif) at:
After resampling to 10m (S2-10mGDAL.tif) the coordinate should be at:
But it still is