Fill bitmap layer and keep transparency can't be recorded as action

  • 1
  • Problem
  • Updated 8 months ago
Fill bitmap layer and keep transparency can't be recorded as action

Alt + Shift + Backspace

It ignores transparency instead.
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 763 Posts
  • 157 Reply Likes

Posted 8 months ago

  • 1
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 763 Posts
  • 157 Reply Likes
Recorded action data with this shortcut should be in this format:

{
    "mode": {
        "_enum": "blendMode",
        "_value": "normal"
    },
    "opacity": {
        "_unit": "percentUnit",
        "_value": 100
    },
    "preserveTransparency": true,
    "using": {
        "_enum": "fillContents",
        "_value": "foregroundColor"
    }
}

Instead
{    
"using": {
        "_enum": "fillContents",
        "_value": "foregroundColor"
    }
}
Photo of Cristen Gillespie

Cristen Gillespie

  • 1177 Posts
  • 315 Reply Likes
You say "action," but you're really scripting, aren't you? Because if I record an action whereby I record manually locking the layer first using the icon in the layers panel, the action to fill preserving transparency does work. I should think the command you're using should work—it only records filling here, too— but this is one way to get it to work. 

Still a bug, imo.
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 763 Posts
  • 157 Reply Likes
I said "action" for two reasons.
1) Script listener generated and listened events code are exactly same as action.
2) Action is more used by users so it is more likely that somebody will care. This could short fixing time from 4 years to 3 years.
Photo of Cristen Gillespie

Cristen Gillespie

  • 1177 Posts
  • 315 Reply Likes
> This could short fixing time from 4 years to 3 years.>

ROFL.  I can't agree with you. It's possible as an action to work around it, so perhaps it will reset the time to fix from never to maybe in 6-7 years.  '-}
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 763 Posts
  • 157 Reply Likes
I pointed to wrong behavior last year and now it is fixed even if there are workarounds: https://feedback.photoshop.com/photoshop_family/topics/unlock_lock_all_including_child_layers?topic-...

And generaly some of my bugs reported 2 years ago are now fixed. It is only small part of them but better than nothing. I am looking forward for next fixes.
Photo of Cristen Gillespie

Cristen Gillespie

  • 1177 Posts
  • 315 Reply Likes
I was joking, but yours is obviously the magic touch. '-}