Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

The Generative fill doesn’t respect a selection.

New Here ,
Mar 14, 2025 Mar 14, 2025

The Generative fill doesn’t respect a selection. It used to but it doesn't anymore. I tried on diferent computers and versions, also updated to the latest version ( 26.4.1 ). When an area is selected without any feathering the Generative Fiil generatation goes beyond the selected area. Is there an option to stop this behaviour so it works like it used to do?

Thanks

TOPICS
macOS
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Adobe Employee ,
Mar 14, 2025 Mar 14, 2025

Hey, @Pawel Robert34001579rl80. Welcome to the Photoshop Community. I'll need more info to help you figure this out. 

 

While the little extension beyond the selection is expected, does it extend drastically, or in uneven places? As a quick test, try this:

1 - CTRT/CMD + J to duplicate a layer. (A & B)

2 - Create a selection on layer A & click on the Layer mask button in the Layers panel. 

3 - Click on the Eye/Visibility button.

4 - Create the same selection on Layer B & use Generative Fill. 

Now, you can press the ALT/OPT key and click on the mask icons for both layers and compare the spill. 

 

Let me know how it goes. Thanks! 

Sameer K

(Type '@' and type my name to mention me when you reply)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 25, 2025 Mar 25, 2025

@Sameer K 

It's completely unusable for me, it reaches far beyond selection and destroys unselected object.
A small example:

Model is selected in cloud, selection inverted to replace background.
Empy generative fill requested (no matter if I ask for something specific like "dark brown studio backdrop"
What came back is totaly destroyed head, hands and feets in all examples (I tried more sets)

Tried beta, tried 25.6 version - all the same so I conclude it's on the server side

generative.JPGselected.JPG

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Mar 28, 2025 Mar 28, 2025

Thanks for sharing an example shot. I'll share this as feedback. Additionally, after making the first selection, try Expanding, or contracting (when inverted) the selection by 4-8px to give some buffer area for Generative Fill. 

 

You can use the Modify selection menu in the Contextual taskbar or go to Select > Modify > Expand or Contract and check if the results are different. 

 

Thanks!
Sameer K

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 28, 2025 Mar 28, 2025

@Sameer K 

thanks!

some additional info I've tested after my reply:

I've tried expanding subject selection, then inverting and generative fill - 20px was not enough, even 40.
Deformation stopped at 60pixels.

But more interesting is that simple "remove background" and then "generate background" was OK !!

Hope this will help to isolate problem easier.

regards!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Apr 01, 2025 Apr 01, 2025

Thanks for sharing the details. I've shared this with the team for review & suggest further. 

 

Regards!
Sameer K

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 01, 2025 Apr 01, 2025

Generative fill seems to be malfunctioning, the results are always messy, unrealistic, and very off-track. What is happening? For example, when a cat is erased from the background and then a grass prompt is added, before the update, just one generation would produce a good result. But after the last update (beta version), the result is very chaotic. You can see the difference in the two images below.

Sample GF.jpg

I am using the latest beta version of PS, and usually, this issue can be fixed with the older version of PS, but it’s not working; even the older version produces messy results.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 02, 2025 Apr 02, 2025

generative fill results are still scary, is there an idea to overcome it?

How can there be a comb there? Only for fix the suits, without prompt

Screenshot 2025-04-02 173807.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 24, 2025 May 24, 2025

Generate Background and Generative Fill do not work the same.
If you want to replace the background perfectly you need to use Generate Background and it follows more precisely the selection mask.
Generative Fill will fuse the background with the foreground and creates undesireable artifacts when trying to generate a complete new background.  It works great to fill gaps.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 03, 2025 Jul 03, 2025

Hi, Still happening in version 26.8. Counterintuitively the workaround was not expand selection but contract 1 pixel and only then expand 1 pixel that worked for me. No idea why but please try and let me know if it fixed it for you. Good Luck, Leonard

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 03, 2025 Jul 03, 2025

Please explain what your exact problem is and post screenshots to clarify. 

 

To me it seems that Generative Fill simply needs to create a transition zone when creating a new »object« based on a Selection in an image so the new content will extend beyond the original Selection. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 03, 2025 Jul 03, 2025

Hi, Thanks for reacting.

 

It is not a small transitioning zone unfortunately it is a bug.

It is somehow related to how the selection is made.

 

If I just automatically make a selection of the transparant pixels to be used as the area I want to fill it sometimes ignores the selection and creates a version of the whole image plus the extended area resulting in a blurry extension as it is larger then the 1024px.

If I manually do the selection or contract and expand the selection by a pixel it does honor the selection and creates only a slightly larger than the selection part as a new extension.

Resulting in a sharper new extension as it stays below 1024.

 

See example of correctly extended image and where one of the two selections was ignored. This was done with an action just with the difference of the contract and expand selection addition so the rest is all the same image and way of processing.

 

So modify a selection with contract and expand a pixel and for now it should miraculously work until it is fixed.

At least that worked for me.

Also, I tried in 3 versions of Photoshop so the problem seems to be version independend.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 13, 2025 Sep 13, 2025
LATEST

This happens periodically. Am I doing something wrong? Did I hit some key without realizing it? I want to remove table legs from the background but generative fill keeps changing the table legs. I have tried typing "remove" into the prompt.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines