Lightroom Classic CC Lens Transform does not work

  • 2
  • Problem
  • Updated 4 months ago
  • (Edited)
Updated to Classic CC and it's the worst update ever (I was on Lightroom since version 1). Firstly problems with profiles described here with blocked shadow details - thankfully workaround on Mac with config.lua worked to a degree.

Now came a nasty surprise - Lens Transform panel in Develop module stopped working for newly imported files. After some testing - it works fine if the raw files existed before upgrade to Lightroom Classic CC. For raw files imported after upgrade to Classic CC, vertical and horizontal transforms just stretches the image vertically or horizontally instead of applying perspective transforms. Again it seems to work fine with older files.

I do a lot of corrections that way and it is a total showstopper for me (will have to downgrade to Lightroom CC 2015). I wonder with these critical problems (profiling and corrections) how this release has passed QA testing?

I am running on Latest Mac OS 10.13.1 on iMac 27 2016 - here is the system info in case it helps

Lightroom Classic version: 7.0.1 [ 1142117 ]
License: Creative Cloud
Operating system: Mac OS 10
Version: 10.13 [1]
Application architecture: x64
Logical processor count: 8
Processor speed: 4.0 GHz
Built-in memory: 32,768.0 MB
Real memory available to Lightroom: 32,768.0 MB
Real memory used by Lightroom: 3,023.4 MB (9.2%)
Virtual memory used by Lightroom: 6,901.5 MB
Memory cache size: 997.0MB
Maximum thread count used by Camera Raw: 5
Camera Raw SIMD optimization: SSE2,AVX,AVX2
Camera Raw virtual memory: 1697MB / 16383MB (10%)
Camera Raw real memory: 1699MB / 32768MB (5%)
Displays: 1) 5120x2880

Graphics Processor Info:
OpenGL: AMD Radeon R9 M395X OpenGL Engine

Check OpenGL support: Passed
Vendor: ATI Technologies Inc.
Version: 4.1 ATI-1.58.32
Renderer: AMD Radeon R9 M395X OpenGL Engine
LanguageVersion: 4.10
Total Video Memory: 4096 MB


Application folder: /Applications/Adobe Lightroom Classic CC
Library Path: /Volumes/External/Photos/_Lightroom_Catalog_/LightroomCatalog-6-2.lrcat
Settings Folder: /Users/dalex/Library/Application Support/Adobe/Lightroom

Installed Plugins:
1) AdobeStock
2) Aperture/iPhoto Importer Plug-in
3) Canon Tether Plugin
4) Facebook
5) Flickr
6) HDR Efex Pro 2
7) jf Flickr
8) jf Metadata Wrangler
9) jf Zenfolio
10) Nikon Tether Plugin
11) Open in RPP

Config.lua flags:
Develop.PreferOpenGL = true

AudioDeviceIOBlockSize: 512
AudioDeviceName: Built-in Output
AudioDeviceNumberOfChannels: 2
AudioDeviceSampleRate: 44100
Build: 10.0x7
CoreImage: true
GL_ACCUM_ALPHA_BITS: 0
GL_ACCUM_BLUE_BITS: 0
GL_ACCUM_GREEN_BITS: 0
GL_ACCUM_RED_BITS: 0
GL_ALPHA_BITS: 8
GL_BLUE_BITS: 8
GL_DEPTH_BITS: 24
GL_GREEN_BITS: 8
GL_MAX_3D_TEXTURE_SIZE: 16384
GL_MAX_TEXTURE_SIZE: 16384
GL_MAX_TEXTURE_UNITS: 8
GL_MAX_VIEWPORT_DIMS: 16384,16384
GL_RED_BITS: 8
GL_RENDERER: AMD Radeon R9 M395X OpenGL Engine
GL_SHADING_LANGUAGE_VERSION: 1.20
GL_STENCIL_BITS: 8
GL_VENDOR: ATI Technologies Inc.
GL_VERSION: 2.1 ATI-1.58.32
OGLEnabled: true
GL_EXTENSIONS: GL_ARB_color_buffer_float GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_instanced_arrays GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_seamless_cube_map GL_ARB_shader_objects GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_transpose_matrix GL_ARB_vertex_array_bgra GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_depth_bounds_test GL_EXT_draw_buffers2 GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_rectangle GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array_bgra GL_APPLE_aux_depth_stencil GL_APPLE_client_storage GL_APPLE_element_array GL_APPLE_fence GL_APPLE_float_pixels GL_APPLE_flush_buffer_range GL_APPLE_flush_render GL_APPLE_object_purgeable GL_APPLE_packed_pixels GL_APPLE_pixel_buffer GL_APPLE_rgb_422 GL_APPLE_row_bytes GL_APPLE_specular_vector GL_APPLE_texture_range GL_APPLE_transform_hint GL_APPLE_vertex_array_object GL_APPLE_vertex_array_range GL_APPLE_vertex_point_size GL_APPLE_vertex_program_evaluators GL_APPLE_ycbcr_422 GL_ATI_blend_equation_separate GL_ATI_blend_weighted_minmax GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_IBM_rasterpos_clip GL_NV_blend_square GL_NV_conditional_render GL_NV_depth_clamp GL_NV_fog_distance GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_barrier GL_SGI_color_matrix GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod
Photo of Alexey Danilchenko

Alexey Danilchenko

  • 14 Posts
  • 1 Reply Like

Posted 4 months ago

  • 2
Photo of Johan Elzenga

Johan Elzenga

  • 672 Posts
  • 222 Reply Likes
Sorry, I can't reproduce this on my Mac. The sliders work as expected, even on images I imported today. Can't you use Guided Upright as a workaround? I think that's much better anyway.
Photo of Stefan Klein

Stefan Klein

  • 113 Posts
  • 58 Reply Likes
Can ́t repro it, either (Win 10).
BTW. "guided Upright" is a great feature, but the guides are moving so jerky that it ́s nearly unusable (and perfectly smooth in ACR btw.).
Photo of Steve Sprengel

Steve Sprengel, Champion

  • 2570 Posts
  • 309 Reply Likes
Testing on an image just now, it appears LR CCC switches to mostly stretching at the halfway point (+/- 50) of the Horizontal and Vertical transformation sliders.  So less than 50 there is more just keystone-to-rectangle adjustment whereas past 50 the image is mostly just stretched.

As mentioned already, the Upright adjustments, especially the Guided Upright, can do a better job, but you can use the Horizontal and Vertical adjustments in addition to the Upright controls to have finer control.  On reason the Upright controls work better is that the center of rotation for the Horizontal and Vertical adjustments are from the center of the image, whereas the Upright controls can tilt the image around a central point not coinciding with the center of the image. 
Photo of Alexey Danilchenko

Alexey Danilchenko

  • 14 Posts
  • 1 Reply Like
No my stretches right from the start. I'll try to make it into video. It's quite evident if I open crop tool - on older images where it work, doing vertical correction you can see image correction moves it trapezoidal. On newer it just stretches it
Photo of Johan Elzenga

Johan Elzenga

  • 672 Posts
  • 222 Reply Likes
What focal length did you use for the images? If you used a long focal length, you will indeed see a lot of stretching and a minimum of trapezoidal correction.
Photo of Alexey Danilchenko

Alexey Danilchenko

  • 14 Posts
  • 1 Reply Like
35mm. It does not matter - you can see visually the correction if you open crop guides.

Here is the video with the problem demo

There first I open previously imported photo before Lightroom upgrade and then after upgrade.
Photo of Todd Shaner

Todd Shaner, Champion

  • 775 Posts
  • 219 Reply Likes
Images shot with longer focal lengths will exhibit the stretching you're seeing. This behavior started when Adobe added the Guide Upright tools in LR CC 2015.6 and 6.6. As suggested applying Guided Upright or Full Upright followed by adjustment with the Transform controls works well and is an easy solution.

https://forums.adobe.com/message/9929714#9929714
Photo of Steve Sprengel

Steve Sprengel, Champion

  • 2570 Posts
  • 309 Reply Likes

Can you upload the image from the video to somewhere like www.dropbox.com and post a public share link to it, here?

Photo of Alexey Danilchenko

Alexey Danilchenko

  • 14 Posts
  • 1 Reply Like
Thanks Todd
Do you know if this can be affected by anything external to Lightroom? EXIF has FocalLengthIn35mmFormat tag - would setting that affect LR transforms (I will experiment of course) or is LR guess entirely internal?

Update: tried to add FocalLengthIn35mmFormat - and it started to work. So it looks like that tag can force Lightroom and ACR into correct behavior. I will script it to add it to my EXIFs in the meantime so it's not too bad as removing it.
(Edited)
Photo of Todd Shaner

Todd Shaner, Champion

  • 748 Posts
  • 204 Reply Likes
The root cause in your case appears to be due to an error in determining the "effective focal" using the Sensor 35mm Equivalent Crop Factor. I'm not sure how the camera's crop factor information is derived. The Lens Profile tool uses it and automatically determines the crop area when using a full-frame lens with a crop factor sensor camera. It's being pulled from the image file metadata or perhaps an internal database in LR/ACR.
Photo of Todd Shaner

Todd Shaner, Champion

  • 748 Posts
  • 204 Reply Likes
Just saw your update. What value  was assigned to 'FocalLengthIn35mmFormat' field and what did you change it to that worked? This may also be of interest:

http://regex.info/blog/lightroom-goodies/focal-length-sort
Photo of Alexey Danilchenko

Alexey Danilchenko

  • 14 Posts
  • 1 Reply Like
I put 35mm into FocalLengthIn35mmFormat as a proof of concept. DCR file is just a TIFF so found  a suitable EXIF tag of short datatype ans replaced it.

You are right - it has something to do with internal Lightroom calculation of that field if not supplied
(Edited)
Photo of Todd Shaner

Todd Shaner, Champion

  • 748 Posts
  • 204 Reply Likes
I just applied Full Upright to your DCR file and examined the XMP-crs LR data in a DNG Export file using ExifTool GUI. It shows a whopping 2362.05 mm value!

Upright Focal Length 35mm       : 2362.05

Apparently adding the 'FocalLengthIn35mmFormat' 35mm value corrects the LR calculated value. Export the file to DNG format with the 35mm value added and see what the XMP-crs 'Upright Focal Length 35mm' value shows.