Circuitverse: Trying to use clipboard in menubar results in chaos.

Created on 30 Oct 2019  路  10Comments  路  Source: CircuitVerse/CircuitVerse

Describe the bug
When you try to paste stuff in menubar's text input fields you accidentally end up pasting it on the simulator.
To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
Should paste stuff in the input text field and not in the menubar.

Screenshots
8

Additional context
The copy-pasting isn't working even if we don't have any simulator element in the clipboard.

Are you working on this issue? (Yes/No)
No

no issue activity

All 10 comments

As you can see in the screenshot I tried pasting some text in the input text filed but ended up pasting the recent simulator element onto the simulator just below the field.

I would like to work on this Bug!

No activity on this issue for a prolonged duration, will be closed if no further activities in next 7 days

@Shivansh2407 are you still working on this?

Yes @shubhankarsharma00 I am working on it. I will be creating two different Listeners for canvas and elements area.

@nitin10s can you reopen this?

I have a ready solution for that,
@satu0king @nitin10s can I make a PR?

@mahmodHammad I think you should go ahead with the PR as you have already shared screen recording of you working solution on slack and it was working as intended.

@shubhankarsharma00
I'm using a different implementation for copy, paste, and cut to make this works.
so I would prefer to discuss that with @satu0king before opening the PR
it was fixed at #1313 but it included much work that will be done during GSOC so I closed it for now

if @satu0king agree i will extract the implementation from #1313 to a separate PR

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eKuG picture eKuG  路  7Comments

jbox144 picture jbox144  路  7Comments

MrBartusek picture MrBartusek  路  8Comments

tachyons picture tachyons  路  6Comments

ankitkataria picture ankitkataria  路  4Comments