-- Originally posted by (AT sourceforge.net): nalimilan -- -- This ticket was imported from http://sourceforge.net/p/rkward/bugs/116 on 2017-05-30 15:26:58 +0100 -- If you run locator\(\) without specifying a number, or identify\(1\) and can't select the required point for some reason \(it happened to me today\), you've no way obvious way of getting out of it, and R is blocked. It took me a few minutes to understand that right-click was a solution. I think Esc should stop these commands, but also that Ctrl+C and the "Interrupt all commands" button should work too. Closing the dialog, moving to another graph, etc. should also stop them, instead of hanging. \(One could also dream of integrating these commands into the dialog, but that's another issue. ;-\)
Confirmed. However, the same happens when using a regular R console, outside of RKWard. This probably needs fixing in the X11 device. BTW, when trying to close the device in this situation, R 2.14.0 \(debian sid, i386\) crashes on me. At least we don't trigger the crash in RKWard... Have you checked the R bug tracker for any matching reports, yet? > \(One could also dream of integrating these commands into the dialog, but that's another issue. ;-\) Indeed. And it should be fairly easy to implement as a plugin. However, as long as these commands have such severe issues, it may not be a good idea to lure users into trying them... Regards Thomas
- **summary**: Hard to stop locator() and identify(1) --> PROBLEM IN R: Hard to stop locator() and identify(1)
-- Originally posted by (AT sourceforge.net): nalimilan -- Ah, I could have checked. I'll look for reports and file a new bug if it isn't known. \(But I don't experience the crash here on Fedora 15 x86-64, so you'll need to report it directly...\)
-- Originally posted by (AT sourceforge.net): nalimilan -- I should add: there's maybe a bug in RKWard in the sense that it blocks when trying to close the graph window. This probably prevents the crash on your machine, but it makes it impossible to stop locator\(\) this way.
Small update: There is now a way (although somewhat ugly) to force-close a graph, and thus break out of locator() this way.
- **status**: open --> closed-fixed - **Group**: --> CRASH
Closing. The parts that are fixable on RKWard's side were fixed long ago (esp. being able to close an X11() window despite an active call to locator()). Ever since we have the RK() window, this is also much less of an issue, as this handles interrupting locator(), correctly, in the first place. The part about integrating identify() and locator() in the plot window is now tracked at https://bugs.kde.org/show_bug.cgi?id=357402 .