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

Transition copy fails with clipboard access denied #103

Open
EdK-z opened this issue Aug 15, 2023 · 5 comments
Open

Transition copy fails with clipboard access denied #103

EdK-z opened this issue Aug 15, 2023 · 5 comments
Labels
bug Something isn't working need steps to reproduce

Comments

@EdK-z
Copy link

EdK-z commented Aug 15, 2023

ScxmlEditor v2.5.1.1749, Windows 10
In certain cases, when attempting to copy a transition, get error:
ERROR> Aug 15 15:46:49 COPY> Cannot open clipboard: Access is denied

Steps to invoke the problem:

  1. Copy non-visual child from any state (eg. onEntry)
  2. Paste into other state
  3. Attempt to copy transition
  • error is printed

The paste is required. If I just copy the child, then copy the transition, it still works.

This only applies to copying transitions. State and all other types of copies continue working normally.

@alexzhornyak
Copy link
Owner

Could not reproduce either with usage of menus or with usage of hotkeys

copy_transition.mp4

P.S. Maybe there is an issue of a specific complex scxml

@EdK-z
Copy link
Author

EdK-z commented Aug 30, 2023

It fails on an entirely fresh instance of editor, new unit (no project) ...
Looks like I don't even need to use copy at all, there's some sequence of events... maybe its just timing?...
My video capture doesn't capture menus... so you won't see this... I used menus to add the OnEntry and Log.
Then I used CTL-Click to create the transition.
Then I created the third state
Then I select the transition and pressed CTL-C.
Then you see the error at the bottom...

copy-error.mp4

@alexzhornyak
Copy link
Owner

alexzhornyak commented Aug 30, 2023

copy_transition_2.mp4

Still can not catch. Ok, I will not close it and will check on other devices

@EdK-z
Copy link
Author

EdK-z commented Aug 30, 2023

It does seem to be related to timing somehow. Sometimes, if I just do CTL-C a few times, it'll finally work. Sometimes I have to use CTL-C on something else, then try the transition again and it works.
Here's my PC info...
Processor Intel(R) Xeon(R) W-10885M CPU @ 2.40GHz 2.40 GHz
Installed RAM 64.0 GB (63.6 GB usable)
System type 64-bit operating system, x64-based processor
Edition Windows 10 Pro for Workstations
Version 22H2
OS build 19045.3324
Experience Windows Feature Experience Pack 1000.19041.1000.0

@alexzhornyak
Copy link
Owner

alexzhornyak commented Aug 30, 2023

Your PC is much more powerful than mine, maybe you are right about timings. I will try to test on such configuration

@alexzhornyak alexzhornyak added the bug Something isn't working label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need steps to reproduce
Projects
None yet
Development

No branches or pull requests

2 participants