8 Replies Latest reply: Feb 15, 2012 10:22 AM by Evil Lair RSS

    Layer Style Keyboard zoom bug

    Evil Lair Community Member

      When using  CS5 and I have the Layer Style dialog box open, using keyboard zoom (command -/+), zooming in triggers 3 zooms instead of one, and zooming out triggers 2 zooms. If I leave the dialog open and switch to another program and  back it behaves normally with a single zoom. Also if I then click any of the option buttons (like Direction: Up or Down) or pick something from a drop-down list it is ok but if I click on any slider or click on any other function the multiple zoom returns.

       

      On a unrelated note I really wish the layer styles would display properly at all zoom levels, anything 50% and out makes any bevel type effects display twice as large.

       

      Mac 10.6.8, Photoshop CS5 12.0.4

        • 1. Re: Layer Style Keyboard zoom bug
          PECourtejoie CommunityMVP

          Hello, thanks, Evil Lair for the reports.

          I can replicate #1, but would need more info about #2 anything particular about the bevels?

           

          That said, you should also post them on http://feedback.photoshop.com as many engineers use that site to gather them. I would recommend to search for any previous instance, where you could maybe come and share your experience with as much details as possible (a video capture might be a good idea.) and remember to split them, as they are separate issues, if I'm not mistaken.

          • 2. Re: Layer Style Keyboard zoom bug
            Evil Lair Community Member

            The bevel display issue appears for any type of bevel effect, in either RBG or CMYK. I made a sample that has text and shape layers, as well as a text layer with a masked texture layer above it that is masked from a selection made from the text. I noticed in testing that 25% and 12.5% also created a further thickening of the bevel effects. Any zoom 66.7% and above displays properly, zooms 50 and 33% display the same,  25% and 16% the same, and 12.5% and smaller the same. It makes it a bit more difficult to do layout design when objects aren't appearing as they really are.

             

            https://dl-web.dropbox.com/get/Public/bevel25.jpg?w=632aa980https://dl-web.dropbox.com/get/Public/bevel50.jpg?w=13284c1ehttps://dl-web.dropbox.com/get/Public/bevel66.jpg?w=6ad2ae8e

            • 3. Re: Layer Style Keyboard zoom bug
              Noel Carboni Community Member

              Your dropbox links aren't working; it wants a login.

               

              You can upload images directly to the forum, as long as they're not too huge.  Use the little camera icon and load them directly from your hard drive.

               

              -Noel

              • 4. Re: Layer Style Keyboard zoom bug
                Evil Lair Community Member

                Sorry about that...

                 

                bevel25.jpgbevel50.jpgbevel66.jpg

                • 5. Re: Layer Style Keyboard zoom bug
                  Noel Carboni Community Member

                  Are you set to use OpenGL Drawing (in Edit - Preferences - Performance)?

                   

                  Could this be a Mac-only problem?  I ask because I cannot seem to reproduce a problem with the effects not resizing properly on Photoshop CS5 x64 under Windows 7.

                   

                  To wit:

                   

                  BevelTest1.jpg

                   

                  BevelTest2.jpg

                   

                  BevelTest3.jpg

                   

                  BevelTest4.jpg

                   

                  BevelTest5.jpg

                   

                  -Noel

                  • 6. Re: Layer Style Keyboard zoom bug
                    Evil Lair Community Member

                    Thanks for checking, that is interesting. I can see that your tests do in fact have a thicker bevel at the smaller zooms, if you compare the size relationship of bevel to the thickness of the lettering. At 25% the bevel is the same thickness as the lettering.

                     

                    I tried disabling OpenGL and enabling OpenGL at all 3 different advanced settings with the same results, they didn't make any difference. I also tried it on a Macbook Air in addition to my Mac Pro with the same results.

                     

                    If you want to give my file a try you can download it here:  http://dl.dropbox.com/u/15625561/test2.psd

                    • 7. Re: Layer Style Keyboard zoom bug
                      Noel Carboni Community Member

                      Yes, I can easily see it with your file.  Specifically it happens right between 63% and 64% zoom.  We see it again at the boundary between 32 and 31%  The jump appears quite obviously if you do an animated OpenGL zoom that crosses that boundary.

                       

                      This appears to be because of full pixel round-off errors, making the effect suddenly 1 pixel larger as certain zoom levels are crossed.  Just as a guess, the effect generating code must be old and integer-based, and so is unnble to deal with fractional pixels when generating the downsized cache level images.

                       

                      At small effect sizes, such as what's in your image, the error becomes more apparent.  I think I've not noticed this much because I tend to do my design work at a fairly large size.

                       

                      I've seen people (e.g., the Adobe Engineer Chris Cox) tell others to always judge effects at 100% zoom, implying that there's no direct fix for this round-off error.  However, I did think of one, though it may cause its own problems (slowness, instability):  In the Edit - Preferences - Performance dialog there's a setting for Cache Levels.  If my theory about what's going wrong is correct, we should be able to set Cache Levels to 1 and see the problem go away.

                       

                      Sure enough:

                       

                      BevelsB1.jpg

                       

                      BevelsB2.jpg

                       

                      BevelsB3.jpg

                       

                      BevelsB4.jpg

                       

                      BevelsB5.jpg

                       

                      Take note:  Based on my own testing with Cache Levels set to 1, you can expect some things to go wrong.  Some filters might not display properly, you might get crashes if you try to work with OpenGL enabled, and you will DEFINITELY see a slowdown in a number of different operations.

                       

                      -Noel

                      • 8. Re: Layer Style Keyboard zoom bug
                        Evil Lair Community Member

                        Great catch, I tried with cache level 1 and got the same results with no errors. Fortunately this isn't a big enough issue that I need to work at that level all the time.