Issue Bug Resolved

#97535Focus area with wrong coordinates

Philipp Idler 05/02/22, 16:21 updated 09/17/26, 20:00

Description

Focus area fails calculating proper coordinates if
a) cropped area is used
b) image is wider than max width defined in styles.content.textmedia.maxW

Steps to reproduce:
  • set constant styles.content.textmedia.maxW = 500
  • add a big picture to textmedia e.g. 3000×3000 px
  • move focus area to bottom right corner
  • save and view in frontend

result in FE: coordinates will be outside of image’s boundaries.

Reviews 2

History 15

  1. Gerrit Code Review pushed patch set 1 for main to change 95887 status New Under Review 09/16/26, 18:28

  2. Gerrit Code Review pushed patch set 2 for main to change 95887 09/16/26, 18:29

  3. Gerrit Code Review pushed patch set 1 for 14.3 to change 95901 09/17/26, 19:02

  4. Gerrit Code Review pushed patch set 2 for 14.3 to change 95901 09/17/26, 19:20

  5. Georg Ringer commented and changed status Under Review Resolved done 0 % 100 % 09/17/26, 20:00

    Applied in changeset commit:4c3370ee88d01c6c80d5d4ddcd10a3a14659542c.