Bug 376100 - Find/replace dialog buttons don't activate after first match found using keyboard accelerator
Summary: Find/replace dialog buttons don't activate after first match found using keyb...
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2012-04-04 11:56 EDT by Scott Van Wart CLA
Modified: 2018-06-15 15:04 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Van Wart CLA 2012-04-04 11:56:21 EDT
Build Identifier: 20110615-0604

When a match is found using the keyboard shortcuts to trigger accelerators, sometimes the Replace/Find and Replace buttons stay greyed until the next match.

If you enter the find dialog with some text selected it won't occur.  Sometimes I've had to open a new editor window to get it to occur again after failing to reproduce it.

Running Ubuntu 11.10 64-bit with xfce4 (xubuntu).

Reproducible: Sometimes

Steps to Reproduce:
1. Type some text in an editor (Java, SQL, etc.) as a replacement candidate.
2. Ctrl+F to bring up the Find/Replace dialog.
3. Type some text that will match in the Find field.
4. Hit tab to go to the Replace with field, and type some text.
5. Alt+N to trigger the "Find" button.
6. Note that a match is found, but the Replace/Find and Replace buttons are still greyed out.
Comment 1 Dani Megert CLA 2012-04-05 04:06:33 EDT
I've never seen this and was not able to reproduce this on Linux and Windows 7 using 3.7.2 and 4.1.2. Can you please try with one of those?

Maybe it's specific to Ubuntu. If so, this would rather be a problem in SWT than in Platform Text.
Comment 2 Eric Williams CLA 2018-06-15 15:04:00 EDT
(In reply to Dani Megert from comment #1)
> I've never seen this and was not able to reproduce this on Linux and Windows
> 7 using 3.7.2 and 4.1.2. Can you please try with one of those?
> 
> Maybe it's specific to Ubuntu. If so, this would rather be a problem in SWT
> than in Platform Text.

I cannot reproduce the issue either. Please file a new bug against 4.8 if the issue happens on GTK3.22.