-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI crash of ExtendedTableViewer of PeakTable and MeasurmentResult #78
Comments
org.eclipse.swt.widgets.Menu._setVisible(Menu.java:268) seems to be related to SWT, can you try to take a look what the code does on this place for macos/cocoa? |
The same exception can be produced with the MeasurmentResult table or any other ExtendedTableViewer based table:
|
Under Linux the following happens:
Under MacOS, this triggers the Eclipse Bug 552223, because Cocoa works different by not closing the popup on dispose and then works on a disposed instance. I think this behavior should be fixed, as it requires 3(!) clicks to open the poup menu if the Chromatogram editor does not own the focus and would workaround the cocoa issue. |
Is this still a problem on macOS? |
When selecting
delete peak(s) / scan identification(s)
from the peak list's context menu, a small pop-up appears in the chromatogram editor (Deselect all/Select all
).When the user now, while this pop-up is still visible, right-clicks somewhere else in the chromatogram (for example to start a processor), the selected Processor never starts, instead a UI crash with the following stack trace occours:
This happens consistently. The behaviour can be prevented by first clicking away the pop-up through a left click somewhere else in the chromatogram. But when working with peak lists, it's an annoying behaviour as it increases the number of needed clicks.
The context menu
Deselect all/select all
refers to the peak list. It seems however not useful to have this pop-up at all in the chain of deleting (a) peak(s).The text was updated successfully, but these errors were encountered: