Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Creation of images from hub item sometimes breaks focus point dragging #32

Open
sleyer opened this issue Sep 14, 2018 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@sleyer
Copy link

sleyer commented Sep 14, 2018

Steps to reproduce:

  • Open studio, make sure that no image document is open beforehand.
  • Find an image in a studio hub entry (I tested both dropbox and cloudinary) and create a CMP-icture from it.
  • Try to drag the focus point. The picture is checked out, and the focus point moves about a pixel, but not more.

Reloading of studio with the just created picture open fixes the issue not only for the just created picture, but also for any subsequently created picture from the studio hub. I suspect something goes awry with the initialization of the image editor, and tab reuse fixes it for subsequent picture objects.

I did not see any suspicious errors in the browser console at the time of the error, but I see these when closing the picture form:

AS3: [ERROR] TypeError: Cannot read property 'getFocusArea' of null
    at constructor.computeRelativeCropFromFocusArea [as computeRelativeCropFromFocusArea$lENc] (https://studio-local.livecontext.coremedia.com/studio/packages/com.coremedia.ui.sdk__image-editor-components/com.coremedia.ui.sdk__image-editor-components.js:379:448)
    at constructor.getValue (https://studio-local.livecontext.coremedia.com/studio/packages/com.coremedia.ui.toolkit__client-core/com.coremedia.ui.toolkit__client-core.js:79:63)
    at constructor.compute [as compute$nJmn] (https://studio-local.livecontext.coremedia.com/studio/packages/com.coremedia.ui.toolkit__client-core/com.coremedia.ui.toolkit__client-core.js:81:9)
    at constructor.getValueNoDependencies (https://studio-local.livecontext.coremedia.com/studio/packages/com.coremedia.ui.toolkit__client-core/com.coremedia.ui.toolkit__client-core.js:86:288)
    at constructor.getValue (https://studio-local.livecontext.coremedia.com/studio/packages/com.coremedia.ui.toolkit__client-core/com.coremedia.ui.toolkit__client-core.js:23:163)
    at constructor.computeRectangle (https://studio-local.livecontext.coremedia.com/studio/packages/com.coremedia.ui.sdk__image-editor-components/com.coremedia.ui.sdk__image-editor-components.js:165:39)
    at constructor.compute [as compute$nJmn] (https://studio-local.livecontext.coremedia.com/studio/packages/com.coremedia.ui.toolkit__client-core/com.coremedia.ui.toolkit__client-core.js:80:902)
    at constructor.getValueNoDependencies (https://studio-local.livecontext.coremedia.com/studio/packages/com.coremedia.ui.toolkit__client-core/com.coremedia.ui.toolkit__client-core.js:86:288)
    at constructor.getValue (https://studio-local.livecontext.coremedia.com/studio/packages/com.coremedia.ui.toolkit__client-core/com.coremedia.ui.toolkit__client-core.js:23:163)
    at constructor.updateImageAreaBounds (https://studio-local.livecontext.coremedia.com/studio/packages/com.coremedia.ui.sdk__image-editor-components/com.coremedia.ui.sdk__image-editor-components.js:166:83)
hybris-14136-15.js:1 [CoreMedia] Video started with duration of 29.8ms.

Might not be related, but I thought it is worth mentioning.

@mfaust mfaust self-assigned this Sep 17, 2018
@mfaust mfaust added the bug Something isn't working label Sep 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants