Bug 543403

Summary: Dialog 'Replace Text Matches': Refresh layout issue
Product: [Eclipse Project] Platform Reporter: Karsten Thoms <karsten.thoms>
Component: SearchAssignee: Platform-Search-Inbox <platform-search-inbox>
Status: REOPENED --- QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 4.10   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Screenshot
none
Screen Recording none

Description Karsten Thoms CLA 2019-01-14 04:21:17 EST
Created attachment 277138 [details]
Screenshot

The preview area is initialized with a too small size and refreshes only on the first click. Then it gets properly expanded.

To reproduce:
- File / Search & Replace
- Select Preview
Comment 1 Dani Megert CLA 2019-01-14 12:09:24 EST
(In reply to Karsten Thoms from comment #0)
> Created attachment 277138 [details]
> Screenshot
> 
> The preview area is initialized with a too small size and refreshes only on
> the first click. Then it gets properly expanded.
> 
> To reproduce:
> - File / Search & Replace
There is no File > Search & Replace menu item provided by the Platform.

When Replace Selected... or Replace All... from the Search view context menu, the preview layout looks OK.
Comment 2 Karsten Thoms CLA 2020-09-07 17:58:57 EDT
The issue still exists.

To reproduce:
- Use Search / File...
- Enter some value for "Containing text"
- Click "Replace"
- Enter a replacement text
- Click "Preview"
- Select elements from "Changes to be performed"
=> Error shows below in the comparison view
Comment 3 Karsten Thoms CLA 2020-09-07 17:59:48 EDT
Created attachment 284072 [details]
Screen Recording
Comment 4 Karsten Thoms CLA 2020-09-07 18:06:06 EDT
Entry point for investigation: org.eclipse.ltk.internal.ui.refactoring.TextEditChangePreviewViewer.setInput(ChangePreviewViewerInput)