Pasting JSON string into Library Text Filter freezes LrC (Persistent Freeze)
I encountered a severe issue where accidentally pasting a long string of JSON code (Elementor/CSS configuration data) into the Library module's Text Filter causes Lightroom Classic to become unresponsive and unusable.
Steps to reproduce:
-
Open Lightroom Classic (Library Module).
-
Enable the Text Filter bar (\ key).
-
Paste a complex JSON string (sample provided below) into the search field.
-
Lightroom attempts to process the query.
Actual Result:
-
UI Freeze: The interface becomes unresponsive. Right-click context menus stop working.
-
Develop Module Failure: Switching to the Develop module results in a blank/grey screen. The image does not load, and sliders are inactive, even though the filmstrip is visible.
-
Persistence: The issue persists after restarting Lightroom. The application "remembers" the text in the filter and immediately freezes upon launch.
-
Reset Failure: Resetting Preferences (Alt/Opt + Shift on launch) does not fix the issue. The bad search string seems to be stuck in the catalog state.
-
Workaround: The only way to restore functionality was to create a brand new Catalog and import the old catalog into it.
Expected Result:
Lightroom should either handle the string as plain text (returning 0 results) or truncate/reject the input if it's too complex, without freezing the entire application logic.
Sample code that caused the crash (fragment):
how_background_position_tablet":"","background_overlay_hover_slideshow_background_position_mobile":"","background_overlay_hover_slideshow_lazyload":"","background_overlay_hover_slideshow_ken_burns":"","background_overlay_hover_slideshow_ken_burns_zoom_direction":"in","background_overlay_hover_opacity":{"unit":"px","size":0.5,"sizes":[]},"background_overlay_hover_opacity_laptop":{"unit":"px","size":"","sizes":[]},"background_overlay_hover_opacity_tablet":{"unit":"px","size":"","sizes":[]},"background_overlay_hover_opacity_mobile":{"unit":"px","size":"","sizes":[]}
