3 Replies Latest reply on Jan 2, 2014 6:56 PM by hawkcon

    Bug report: [layer mask] editing colors


      Sometimes it appears that the white/black color combination that is automatically selected in layer mask editing may override the selected color combination outside of layer mask editing.



      1) Open Photoshop.

      2) Select two colors: white/white.

      3) Create two blank documents, each with an empty Layer 1.

      4) In one document, add a layer mask to Layer 1. The colors should have been automatically switched to black/white as the layer mask is selected.

      5) In this document, use the gradient tool to fill the layer mask with black/white.

      6) Switch to the other document, and notice that the color selection is again white/white.

      7) In this other document, use the gradient tool to fill Layer 1. Notice that the layer is filled with black/white instead of white/white as selected.


      Tested on: PS CS6, Windows 7, 64-bit.

        • 1. Re: Bug report: [layer mask] editing colors
          Chuck Uebele Adobe Community Professional & MVP

          Not seeing this on CS6 or CC.  Are you sure you have your gradient selected as foreground and background and not on the preset of black and white?

          • 2. Re: Bug report: [layer mask] editing colors
            JJMack Most Valuable Participant

            I do not think you even need two document open to see that Swatches swap when Layer Mask is targeted.

            I do not think its a bug it is more like its working as designed. The swatch Colors inverse shades of gray when Layer mask is targeted. When layer content is targeted the swatches colors will be what the user set.  When layer mask is targeted the swatch colors will be shades of gray and inverse of the set color like black will be white and white will be black


            Swtich targets  between Layer content and Layer Mask and watch forground and backgrownd swatches swap when Black and White....

            • 3. Re: Bug report: [layer mask] editing colors
              hawkcon Level 1

              On further testing I think the issue may not be directly related to layer masks at all.


              Basically the issue is that the Gradient tool colors don't update to the 'default foreground/background colors' in cases where it seems that they should.


              One example of such a case (as illustrated in the original post) is when the Gradient tool keeps the black/white color combo used for a layer mask in a previous document after switching to the current document where a non-masked layer is targeted and the default fg/bg colors have correctly reverted to white/white.




              layer mask targeted in doc1 - notice synchronised Gradient and default fg/bg colors



              after switching to non-masked layer in doc2, Gradient is still black/white although default fg/bg colors have reverted appropriately to white/white



              Bug or not, it's something I wanted to point out as it seems inconsistent.