Bug 574896 - [macOS] Line disappears when pressing return
Summary: [macOS] Line disappears when pressing return
Status: CLOSED DUPLICATE of bug 574351
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.20   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: 2021-07-17 04:14 EDT by Phil Beauvoir CLA
Modified: 2021-08-03 02:56 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Beauvoir CLA 2021-07-17 04:14:02 EDT
Version: 2021-06 (4.20)
Build id: I20210611-1600

macOS 10.15.7 (Catalina)
AdoptOpenJDK 11

1. In a Text or Java Editor press Return in some lines of text
2. The next line disappears
Comment 1 Phil Beauvoir CLA 2021-07-17 04:37:17 EDT
Same for Mojave 10.4.6 but seems to be OK for Big Sur 11.4.

In the Java Editor, if the line ends with an opening brace "{", the next line does not disappear when pressing Return.

See Bug 569147
Comment 2 Phil Beauvoir CLA 2021-07-17 04:39:16 EDT
Seems to be a regression, as this is working OK in Eclipse 4.18.
Comment 3 Phil Beauvoir CLA 2021-07-17 04:44:30 EDT
And is OK in 4.19.
Comment 4 Thomas Wolf CLA 2021-07-17 05:39:55 EDT
Possibly related: bug 574351.

I've seen that, too (on OS X 10.14.6), but can't reproduce right now. I have the impression some paint events are missing.
Comment 5 Phil Beauvoir CLA 2021-07-18 03:25:14 EDT
I was looking at the SWT change log between 4.19 and 4.20 and wondered if this commit might have affected things:

https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=f6c68495ee7b34a64b4f0ef8fca3364c076d4c7d
Comment 6 Niraj Modi CLA 2021-08-03 02:56:40 EDT
Root cause addressed via fix for bug 574351.

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