amfora icon indicating copy to clipboard operation
amfora copied to clipboard

Way to cancel downloading

Open makew0rld opened this issue 5 years ago • 4 comments

There should be a way to cancel downloading without using Ctrl-C and quitting the entire browser. Could easily be implemented by removing "Downloading..." in favour of a "Cancel" one that would close the connection and delete the file when clicked.

There should also be some text in the modal while the connection is being made, currently it's just the "Downloading..." button and then later the progressbar output appears.

makew0rld avatar Nov 25 '20 22:11 makew0rld

loosely related: way to often i end up with closing amfora (with all the open tabs) cause Ctrl+C is too familiar to stop a action (e.g. loading a page).

I would really prefer to remap ctrl+c to stop loading and only ctrl+q for closing amfora right away.

rnwgnr avatar Nov 29 '20 08:11 rnwgnr

I think the majority of people are familiar with Ctrl-C stopping an application rather than some subroutine like loading a page. In any case, #57 would have to be closed for stopping page loading to be implemented.

makew0rld avatar Nov 29 '20 17:11 makew0rld

This may be a bit offtopic in this issue, but i'd like to add: i agree that ctrl+c is a often used shortcut to exit a program in a terminal. But too often i end up with closing amfora and loose all of my open tabs as i hit ctrl+c. It acts too much like ctrl+q if theres a difference at all.

comparison to firefox: it uses ctrl+c to cancel page loading and ctrl+q for exit

rnwgnr avatar Nov 29 '20 20:11 rnwgnr

Hmm, I didn't know that about Firefox. In Amfora, the main difference is that Ctrl-C will quit even if you're in the middle of loading or downloading. The other keys will not. This isn't a great behaviour though, it should probably be changed.

In any case, this isn't being worked on right now, when it ends up getting worked on this can be hashed out further.

makew0rld avatar Nov 29 '20 20:11 makew0rld