Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image changes the layer to top after scaling actions #5148

Closed
ivanmaslow opened this issue Jul 22, 2024 · 2 comments · Fixed by #5647 or #5756
Closed

Image changes the layer to top after scaling actions #5148

ivanmaslow opened this issue Jul 22, 2024 · 2 comments · Fixed by #5647 or #5756
Assignees
Labels
bug Images Images support MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes Priority: High

Comments

@ivanmaslow
Copy link
Collaborator

ivanmaslow commented Jul 22, 2024

Steps to Reproduce:

  1. Click on "Add Image"
  2. Select the image and add the first image to the canvas
  3. Click on "Add Image" again and add the second image to canvas to overlap the first image - the second image is on top layer
    image
  4. Select the first image and change the scale

Actual behavior:
The first image is displayed on the top layer:
image

Expected behavior

  • The first image is displayed on the bottom layer, scaling doesn't change the image layer

Desktop (please complete the following information):

  • OS: Windows 11 Enterprise
  • Browser: Chrome 126.0.6478.128 (Official Build) (64-bit)

Ketcher version:

  • [Version 2.23.0-rc.1] Build at 2024-07-18; 15:00:20 - nightly env SA 20images-lowest-render-z

Additional context

scale.mp4
@ivanmaslow ivanmaslow added bug Priority: High Images Images support MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes labels Jul 22, 2024
@ivanmaslow ivanmaslow added this to the Refined Backlog milestone Jul 22, 2024
@ivanmaslow
Copy link
Collaborator Author

ivanmaslow commented Aug 6, 2024

Discussed with DM: It would be nice to consider the possible ability to change z-order during implementation

@AlexeyGirin
Copy link
Collaborator

Verified.
image

  • Ketcher Version 2.26.0-rc.2 Build at 2024-10-14; 19:59:03
  • Indigo Toolkit Version 1.25.0-rc.2.0-g867ae250b-wasm32-wasm-clang-19.0.0
  • Chrome Version 129.0.6668.101 (Official Build) (64-bit)
  • Win10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Images Images support MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes Priority: High
Projects
None yet
4 participants