Bug 549045 - [macOS] Editable Combobox: crashes on 10.14.5
Summary: [macOS] Editable Combobox: crashes on 10.14.5
Status: REOPENED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.12   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-08 03:23 EDT by Thomas Singer CLA
Modified: 2021-07-06 07:58 EDT (History)
4 users (show)

See Also:


Attachments
Snippet (1.02 KB, text/plain)
2019-07-08 03:23 EDT, Thomas Singer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Singer CLA 2019-07-08 03:23:13 EDT
Please launch the attached snippet from IntelliJ IDEA (haven't tried Eclipse because I can't get it to work).

Press following keys:
- cursor down (the popup opens)
- delete ("text" is cleared, popup remains open)
- Cmd+Q (the shell vanishs, the "SWT" menu remains)
- click inside IntelliJ IDEA window and receive following exception:

Exception in thread "main" java.lang.NullPointerException
	at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5549)
	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
	at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:235)
	at org.eclipse.swt.widgets.Widget.doCommandBySelector(Widget.java:706)
	at org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1099)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:6215)
	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
	at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:235)
	at org.eclipse.swt.widgets.Widget.superKeyDown(Widget.java:1960)
	at org.eclipse.swt.widgets.Widget.keyDown(Widget.java:1130)
	at org.eclipse.swt.widgets.Control.keyDown(Control.java:2466)
	at org.eclipse.swt.widgets.Composite.keyDown(Composite.java:617)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:6047)
	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
	at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:235)
	at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2158)
	at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2401)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:6167)
	at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
	at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5398)
	at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5558)
	at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
	at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:131)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3779)
	at DarkComboTest.main(DarkComboTest.java:31)
Comment 1 Thomas Singer CLA 2019-07-08 03:23:46 EDT
Created attachment 279190 [details]
Snippet
Comment 2 Thomas Singer CLA 2019-07-08 03:26:09 EDT
(In reply to Thomas Singer from comment #0)
> - click inside IntelliJ IDEA window and receive following exception:

Clicking the desktop also reproduces the exception.
Comment 3 Lakshmi P Shanmugam CLA 2019-07-16 06:58:02 EDT
I can reproduce this in Eclipse too, it happens when you press Cmd+Q when the pop-menu is still open. Doesn't happen if you close the application by clicking on close button.
Comment 4 Lakshmi P Shanmugam CLA 2019-07-16 06:59:08 EDT
(In reply to Thomas Singer from comment #0)
> Please launch the attached snippet from IntelliJ IDEA (haven't tried Eclipse
> because I can't get it to work).
What is not working in Eclipse for you?
Comment 5 Eclipse Genie CLA 2021-07-06 03:02:27 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 6 Thomas Singer CLA 2021-07-06 07:22:11 EDT
This bug still is present.
Comment 7 Thomas Wolf CLA 2021-07-06 07:58:25 EDT
Yes, still relevant (starting from Eclipse, using org.eclipse.swt.cocoa.macosx.x86_64_3.116.100.v20210602-2209.jar).