Answer the question
In order to leave comments, you need to log in
Why is the system not listening to the user?
Why don't stop/cancel/close buttons work immediately? For example, a heavy page is loaded in the browser, I already see the necessary content and press the "stop" button, but the browser continues to load and redraw the page for some more time. Another situation is when I add a large torrent to Transmission and want to restart the poppy, but it does not allow me to do this until it allocates space for the files. I press "force close", but he doesn't care. What is it in general, a global feature of modern OS? Why can't you just take and interrupt all operations at the request of the user? Any JS, writing files, whatever, as long as the user requires it immediately.
Answer the question
In order to leave comments, you need to log in
The processing of any action in the program must be provided by the programmer.
Your user case (use case) is not typical.
Yes, you can handle all your possible cases of program execution interruption and reaction to user actions, but in order to implement this, an unimaginable amount of programmer's work is needed, from which they always implement only those features that directly affect the "sales" of software.
For the most part, foolproofing works. Users are very fond of pressing the most hidden buttons and the most intricate keyboard shortcuts.
Therefore, many programs try to complete the current action to the end before interrupting the work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question