Photoshop: Straighten Layer: Small problem with script error messages

  • 3
  • Problem
  • Updated 5 years ago
  • Solved
  • (Edited)
This is a small bug I've noticed.
When I have selected a layer with turned off visibility and I use the ruler straighten command, a message appears saying:
Error 8800: General Photoshop Error occurred. This functionality may not be available in this version of Photoshop. The command "Transform" is not currently available.
Line: 217
-> layerRef.rotate( angle *180.0/Math.PI);

It should be swapped with a different message saying that you can't rotate a turned off layer.
Photo of Petar Pavlov

Petar Pavlov

  • 1 Post
  • 0 Reply Likes

Posted 6 years ago

  • 3
Photo of Brightershade

Brightershade

  • 2 Posts
  • 0 Reply Likes
Also happening here; occurs with Photoshop CC 2014, Photoshop CC, and Photoshop CS6

Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 16849 Posts
  • 2819 Reply Likes
Thanks. I don't think this is new to CC. Looks like this goes back to CS6 at least. We'll look into it.
Photo of Brightershade

Brightershade

  • 2 Posts
  • 0 Reply Likes
Thanks for the quick response!

More details: the error happened when trying to straighten a scanned image of a form.

More feedback: the error message is stunningly uninformative and provides the user with the barest minimum of detail to figure out the cause or solution.

My solution: I discovered that the image was a Bitmap and the background layer was locked. When I converted it to Grayscale, the image straightened without the error.

Even more feedback: Since all the Photoshop versions mentioned won't do much with a locked Bitmap image, why not provide your customers with more informative error messages, even "Hey, dummy, Photoshop can't straighten a bitmap image." All jesting aside, offering to convert the image before straightening would be a more user-friendly approach.
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 16849 Posts
  • 2819 Reply Likes
Correct. The solution is the disable the straighten button if the context doesn't allow it or provide a better user facing error.
Photo of Philippe Demeyere

Philippe Demeyere

  • 2 Posts
  • 2 Reply Likes
Impossible to use the "Straighten the layer" !
I subscribed for a month, and I have the same problem, I'd like Adobe corrects the error. Thank's
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 16849 Posts
  • 2819 Reply Likes
Official Response
This should be fixed in the Photoshop CC (2015) update.
Photo of Mincho Krastev

Mincho Krastev

  • 4 Posts
  • 0 Reply Likes
It is NOT fixed in PS CC 2015.

I still have the same problem when I try to run scripts that worked perfectly in PS CC 2014.