Bug 543403 - Dialog 'Replace Text Matches': Refresh layout issue
Summary: Dialog 'Replace Text Matches': Refresh layout issue
Status: REOPENED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Search (show other bugs)
Version: 4.10   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Search-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-14 04:21 EST by Karsten Thoms CLA
Modified: 2020-09-07 18:06 EDT (History)
1 user (show)

See Also:


Attachments
Screenshot (238.18 KB, image/png)
2019-01-14 04:21 EST, Karsten Thoms CLA
no flags Details
Screen Recording (15.79 MB, image/gif)
2020-09-07 17:59 EDT, Karsten Thoms CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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)