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

Deselecting item, by clicking on locked layer area #1348

Closed
2 tasks done
r3538987 opened this issue Jun 16, 2023 · 3 comments
Closed
2 tasks done

Deselecting item, by clicking on locked layer area #1348

r3538987 opened this issue Jun 16, 2023 · 3 comments
Assignees

Comments

@r3538987
Copy link

r3538987 commented Jun 16, 2023

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

Describe the bug
Unable to deselect item, if performing click on locked layer.

To Reproduce

  1. Create 2 layers with items, lock one of them (making it as somehow background layer)
  2. Select item on non-locked layer, which appears on top of your background.
  3. Try do deselect selected item, by click somewhere where background layer area is.
  4. Item remains selected.
    To deselect : you need no click on entirely empty spot, or try to "draw" tiny selection zone with cursor, or click RMB

Expected behavior
Not sure if this is expected behavior, but when was using version 20.3.0 this was not the case. Back then you could deselect item, by click even on locked layer.

draw.io version:

  • draw.io version 21.4.0

Desktop:

  • OS: Windows 11, 22H2

Additional context
When working on big graph, this can be issue, in example if you are used to navigate drawing with arrow buttons.

  • previously, you deselect item, and move around
  • now deselection behavior is changed, you try to move around, and now your are moving your item.
@mararad
Copy link
Collaborator

mararad commented Jun 23, 2023

Hi,
I repeated the behaviour in desktop app 21.5.0 and also in Chrome/FF and Win 10.
Looks like a shape within non-licked layer can't be deselected when the content within locked layer is clicked.

shape.deselect.mp4

@r3538987
Copy link
Author

Checked bunch of older windows-no-installer builds to find when this issue started to occur.
20.8.16 - no such problem,
21.1.2 - issue is present.

@alderg alderg self-assigned this Sep 14, 2023
@davidjgraph
Copy link
Contributor

Fixed in desktop 21.7.5 release. Was fixed in previous core release, desktop just wasn't updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants