Bug 560303 - Text Control's "Cancel Icon" requires double click on macOS
Summary: Text Control's "Cancel Icon" requires double click on macOS
Status: CLOSED DUPLICATE of bug 551405
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.15   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-19 03:31 EST by Matthias Becker CLA
Modified: 2020-02-19 03:41 EST (History)
2 users (show)

See Also:


Attachments
Screen recoding showing the issue (3.44 MB, video/quicktime)
2020-02-19 03:31 EST, Matthias Becker CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Becker CLA 2020-02-19 03:31:24 EST
Created attachment 281860 [details]
Screen recoding showing the issue

The FilteredItemsSelectionDialog uses an SWT Text widget with an "Cancel Icon"
See:
pattern = new Text(content, SWT.SINGLE | SWT.BORDER | SWT.SEARCH | SWT.ICON_CANCEL);

With this you can clean the content of the widget. On windows this requires a single click. On macOS this requires a double click. A double click is wrong. Native widgets (e.g. search field in Finder) also only require a single click.

See attached video showing this issue - have special attention to the visualized mouse clicks.
Comment 1 Paul Pazderski CLA 2020-02-19 03:41:56 EST
I even thought this was already fixed but apparently not.

*** This bug has been marked as a duplicate of bug 551405 ***