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

[Bug]: Transform Tool Erase is not saving to history. #281

Open
Delerium opened this issue Jan 23, 2024 · 1 comment
Open

[Bug]: Transform Tool Erase is not saving to history. #281

Delerium opened this issue Jan 23, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Delerium
Copy link

What happened?

Transform Tool Erase is not saving to history when selecting portions of an image and deleting them with the delete button.

Steps to reproduce the problem

  1. With an image loaded, go to (S) Select Image.
  2. Drag over an area of the image and press the Delete key.
  3. Portion of image is deleted, but nothing appears in history.
  4. Click on "Save Workspace", notice that the area you have deleted comes back.
  5. To test how it should work, drag over an area and move it somewhere else.
  6. Notice that in the history, "Transform Tool Erase" and "Transform Tool Apply" shows up.

What should have happened?

The "Transform Tool Erase" should be showing up when deleting as well as when moving selections.

Commit where the problem happens

7de3a26, zero01101/openOutpaint-webUI-extension@522c187

What platforms do you use to access openOutpaint?

Windows

What browsers do you use to access the UI ?

Mozilla Firefox

Browser Extensions/Addons

none

AUTOMATIC1111 webUI Commandline Arguments

--medvram --opt-sdp-attention --api

Additional information

No response

@Delerium Delerium added the bug Something isn't working label Jan 23, 2024
@zero01101
Copy link
Owner

zero01101 commented Jan 27, 2024

sorry for the delay - so you've definitely come across a bug, but not the one you think lol

so the selection tool isn't exactly like photoshop's, i.e. you don't need to select a region to delete first - to remove pixels, you'd simply right-click over the region you want to erase using the dream (txt2img) or img2img tool directly.

the (DEL) key shortcut is for removing any drawn masks you've put over the image, not any actual image content... however, the fact that (DEL) does remove image content should not be happening, so i'm definitely going to have to figure out what happened there... guessing the wrong canvas is being used for selection operation...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants