GRIP
GRIP copied to clipboard
Focusing On Other Application While Saving Pipeline Crashes Grip on MacOS (Does Not Save Pipeline)
When in GRIP on macOS, when you are saving the pipeline and choosing the save location, clicking out of the application (into any other application, or the desktop) causes GRIP to crash with no error, destroying any unsaved work.
Steps to Reproduce:
- Open Grip
- Press File > Save
- Click into any other application (remove focus from GRIP)
- When the 'Choose Save Location' Finder window opens on GRIP, click into it
- Click into any other application again (remove focus from GRIP)
- GRIP crashes
I can not confirm if this happens on Windows too.
Do you have an exception from the log file you can share with us?
@JLLeitschuh The log file doesn't have an exception:
Aug 18, 2022 1:00:41 PM edu.wpi.grip.core.util.service.LoggingListener starting
INFO: [PipelineRunner] Starting
Aug 18, 2022 1:00:47 PM edu.wpi.grip.core.events.EventLogger eventPosted
INFO: Event on thread 'JavaFX Application Thread': StepAddedEvent{step=Step{operation=Desaturate}, index=OptionalInt[0]}
Aug 18, 2022 1:00:47 PM edu.wpi.grip.core.events.EventLogger eventPosted
INFO: Event on thread 'JavaFX Application Thread': StepAddedEvent{step=Step{operation=Distance Transform}, index=OptionalInt[1]}
(I added random steps just to see if they would appear in the log)
When it crashes, nothing is added.
GRIP.log.lck is blank.
I have a sneaking suspicion this is out of our control to fix. It sounds like an OS bug
@JLLeitschuh
I can confirm that this does not occur in other macOS applications. I have tried the steps in Text Edit (the built-in text editor) and IDLE (Python IDE, neither built-in nor made by Apple). Neither application crashed when the 'save as' window was unfocused. This might be an OS bug, however, it only seems to affect GRIP.
@Braykoff:
- What version of GRIP are you experiencing this with?
- What version of maOS?
- What Apple hardware (eg Macbook Pro 2019)?
FWIW, I can't repro this with a 2020 M1 Macbook Air