Cannot exit and stop 'Run Click' when creating new device kit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtcreator-plugin-ubuntu (Ubuntu) |
Confirmed
|
Low
|
Zoltan Balogh |
Bug Description
When using the SDK, I create an app (for example clicking 'create new project' then 'QML App with Simple UI (qmlproject)'), and choose to create a new device kit in the project setup window (selecting any framework or architecture), a 'Run Click' window appears that says 'Waiting for click to stop' and displays a log showing the creation of a new device kit.
When I want to stop this process (due to a mistake in configuration, or if I don't actually need a new device kit especially for this app), I can't. I press the close button in the top of the window and a dialog asks me if I want to stop the click tool because it could break my chroot. Even if I select yes, nothing happens, and the device kit continues to be created. I simple cannot stop click through the GUI.
Thanks for reporting this issue. The real problem is that terminating a chroot bootsrapping is really a very dirty thing. It can leave a half creted schroot on your system what can be removed manually. Careless removal of broken chroots can cause serious problems.
I know for example an very stupid user who tried to just sudo rm the broken choot... while the $HOME was mounted. That very stupid user was me :)
I know it is annoying, we are thinking about alternative solutions and investigating the topic, but I doubt it will be resolved soon. We can remove the "question" from that dialog and simple state that sorry this is an operation what can not be cancelled.
The one good alternative of boostraping the chroot Kit is to to use static Kits. That comes from the ubuntu- sdk-api- 15.04-[ armhf|i386] packages. sudo apt-get install will pull them from the SDK PPA.