Git Product home page Git Product logo

Comments (15)

seijihariki avatar seijihariki commented on July 16, 2024 1

There already is, with the marquee tool (select and transform tool). Give it a look and report back if there is any more functionality that you would like to add to it!

It does not work with firefox, as the API is locked behind a 'about:config' setting. In this case, copy pasting still works but uses internal state to achieve the same.

from openoutpaint.

seijihariki avatar seijihariki commented on July 16, 2024 1

Ctrl v should also work... If it is not, we can look into what is happening.

from openoutpaint.

seijihariki avatar seijihariki commented on July 16, 2024 1

Okay, so select.js has an error there, and from what I see, it is definitely something that is an issue. Will send a fix today. For now, disable clipboard from the select tool, that it should work flawlessly (though it will not interact with the system clipboard)

from openoutpaint.

toyxyz avatar toyxyz commented on July 16, 2024 1

image here's what line 599 should be on the current testing branch; did you refresh the page without cache? (ctrl+f5)

Oh, I checked, and when I typed git checkout origin/testing, it was 1008292, but when I restarted webui, it was returning to main. When I changed the branch and tested it without exiting the webui, ctrl+v worked well. thanks!

image
image

from openoutpaint.

toyxyz avatar toyxyz commented on July 16, 2024

There already is, with the marquee tool (select and transform tool). Give it a look and report back if there is any more functionality that you would like to add to it!

It does not work with firefox, as the API is locked behind a 'about:config' setting. In this case, copy pasting still works but uses internal state to achieve the same.

Thanks for the quick reply! Copying to the Clipboard using 'Use clipboard' of Select Image(S) as you explained works fine. How to paste from clipboard to canvas?
20221226220047602

from openoutpaint.

toyxyz avatar toyxyz commented on July 16, 2024

Ctrl v should also work... If it is not, we can look into what is happening.

I tried ctrl+v in all tools but nothing worked. Could I be missing something?

from openoutpaint.

seijihariki avatar seijihariki commented on July 16, 2024

Can you open devtools and check if there are any errors there when copy-pasting?

from openoutpaint.

toyxyz avatar toyxyz commented on July 16, 2024

Can you open devtools and check if there are any errors there when copy-pasting?

Here is the Devtool console log:
image

from openoutpaint.

seijihariki avatar seijihariki commented on July 16, 2024

Will also be moving this issue to the main openOutpaint repo.

from openoutpaint.

seijihariki avatar seijihariki commented on July 16, 2024

If you could test the fix deployed to the testing branch (go to webui/extensions/<webui-openOutpaint-ext>/app and run git checkout origin/testing)

@toyxyz

from openoutpaint.

toyxyz avatar toyxyz commented on July 16, 2024

If you could test the fix deployed to the testing branch (go to webui/extensions/<webui-openOutpaint-ext>/app and run git checkout origin/testing)

@toyxyz

I tested it by changing the branch. The Devtools log is:

image

image

from openoutpaint.

seijihariki avatar seijihariki commented on July 16, 2024

Can you clean site data and reload? file variable shouldn't exist anymore in line 599.

from openoutpaint.

toyxyz avatar toyxyz commented on July 16, 2024

Can you clean site data and reload? test variable shouldn't exist anymore in line 599.

I cleared the site data and tested again. Here's the Devtools log:

image

from openoutpaint.

seijihariki avatar seijihariki commented on July 16, 2024

Are you in commit 1008292?

from openoutpaint.

zero01101 avatar zero01101 commented on July 16, 2024

image
here's what line 599 should be on the current testing branch; did you refresh the page without cache? (ctrl+f5)

from openoutpaint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.