eclipse.platform.ui icon indicating copy to clipboard operation
eclipse.platform.ui copied to clipboard

[MacOS] “ICON_CANCEL” button of Text doesn’t work with 1 click

Open SuperKid2205 opened this issue 6 months ago • 3 comments

Environment

MacOS Sequoia 15.5 Eclipse 4.35

Steps to reproduce

  1. New -> Project ...
  2. At Wizard Text, typing some text.
  3. Click “x” button at right side. (only 1 click)

Expected: The content at Text will be cleared.

Actual: Nothing change.

*Note: If double click, the content will be cleared. How can I clear content with 1 click to “x” button?

Image

Image

SuperKid2205 avatar Jun 18 '25 06:06 SuperKid2205

I'm able to reproduce the issue on macOS, but it works as expected on Windows. Both platforms use the same shared code, so the difference seems to come from how the OS processes mouse events internally — especially how single-clicks are interpreted on macOS.

Could this be a platform-specific limitation in macOS implementation?

@deepika-u Could you confirm if this works as expected on Windows?

elsazac avatar Jun 23 '25 14:06 elsazac

On windows 11, single click on the button clears the text when tried on "Version: 2025-09 (4.37), Build id: I20250622-1800"

Image

deepika-u avatar Jun 23 '25 14:06 deepika-u

The issue appears to be specific to macOS. I have successfully reproduced the behavior in the GAMA RCP application (https://gama-platform.org) on macOS, but was unable to replicate it on the corresponding Windows or Linux builds.

AlexisDrogoul avatar Aug 18 '25 01:08 AlexisDrogoul