Preheat the oven to 350°F. Spray a 9×13-inch baking pan with nonstick cooking spray or line it with parchment paper.
Beat the softened butter and granulated sugar for two to three minutes, until light and fluffy.
Add the eggs one at a time, mixing after each addition. Mix in the vanilla and almond extracts.
In a separate bowl, whisk together the flour, baking powder, and salt.
Add the dry ingredients to the butter mixture and mix on low just until combined.
Spread about two-thirds of the batter into the prepared baking pan.
Spoon the cherry pie filling over the batter and spread it gently, leaving a small border around the edges.
Drop spoonfuls of the remaining batter evenly over the cherry filling.
Bake for 35 to 40 minutes, until the exposed batter is lightly golden and the center is set.
Cool completely in the pan.
Whisk together the powdered sugar, milk, and almond extract until smooth. Add a little more milk if needed.
Drizzle the glaze over the cooled bars and allow it to set for 15 to 20 minutes.
Cut into 16 squares and serve.