05-16-2016, 12:09 PM | #1 |
Connoisseur
Posts: 66
Karma: 10
Join Date: Apr 2016
Device: Kindle 4(mine) & Kindle Touch(wife)
|
Minor UI improvement - retry button
Hi,
when a book inside the calibre library is opened by another process, if correcting the Author or something else then calibre will complain that the book can't be moved/renamed which is perfectly normal. However it just provides an OK button afterward & that is all. A retry button could be convenient. Thanks for reading. |
05-16-2016, 12:24 PM | #2 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
But the process will still be holding the file open...
|
Advert | |
|
05-16-2016, 12:50 PM | #3 |
Connoisseur
Posts: 66
Karma: 10
Join Date: Apr 2016
Device: Kindle 4(mine) & Kindle Touch(wife)
|
Yes of course it is then waiting for user input. At which point the user has the choice to close the problematic process/window & retry or alternatively cancel.
This just skips having to redo by hand the "failed" action, allowing to retry with a simple click. This is how most of windows OS behaves when it can't copy/delete/move files around AFAIK. PS: Sorry I didn't precise this stuff, it just seemed too "obvious" to me therefore I didn't think about mentioning it. Last edited by whismerhill; 05-16-2016 at 12:55 PM. |
05-16-2016, 02:16 PM | #4 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Hmm, AFAIK it isn't really a problem since the database will still record the old location and everything will be well -- at least as far as database integrity goes.
File copying dialogs allow retrying for general errors, of which there are many, but since calibre knows the move should work the only good explanation is a process locking the file. Which can be difficult to deal with, since locks can accidentally persist when they shouldn't and require file unlocking software to fix. Alternatively, obscure background processes can be holding the lock. So I am not sure how useful a retry facility would be -- but I guess if @Kovid adds one, it certainly won't hurt. |
05-16-2016, 02:41 PM | #5 |
Connoisseur
Posts: 66
Karma: 10
Join Date: Apr 2016
Device: Kindle 4(mine) & Kindle Touch(wife)
|
well a simple pdf viewer can hold a file locked if you forgot to close it so I thought it would be handy to be able to retry but whatever.
Also I'm not saying it's a "problem" because it's not, it just doesn't do anything when the file is locked. |
Advert | |
|
05-16-2016, 10:13 PM | #6 |
creator of calibre
Posts: 44,167
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
A retry button where? If you mean int he edit metadata dialog, IIRC, you can always click the OK button again to retry. If you mean when editing single fields ata time in the book list, since all you are editing is a single field, I dont see much point.
|
05-17-2016, 08:27 AM | #7 | |
Connoisseur
Posts: 66
Karma: 10
Join Date: Apr 2016
Device: Kindle 4(mine) & Kindle Touch(wife)
|
What I had in mind was to replace this dialog right here :
in which the OK button doesn't retry, with a similar dialog allowing to retry/cancel. that is all. It's fine if you think it's not worth it though. As I said it's a minor UI thingy I thought about. Translation of french parts : Quote:
Last edited by whismerhill; 05-17-2016 at 08:29 AM. |
|
05-18-2016, 01:01 AM | #8 |
creator of calibre
Posts: 44,167
Karma: 22670164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Sure, it would be nice to have a retry button there, but, as I said, given that it is for only a single field, it isn't worth the effort for me, patches are welcome.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[KT]Turn store button on search bar to browser button | aditya3098 | Kindle Developer's Corner | 74 | 05-19-2017 08:33 PM |
Retry Job? | truth1ness | Calibre | 1 | 04-01-2015 07:26 PM |
Can recipes be set to automatically retry if they fail on 1st attempt? | BobbyVan | Recipes | 1 | 03-16-2012 10:48 AM |
PRS-T1 How can I use back button as power button? | younghere | Sony Reader | 1 | 03-12-2012 06:37 PM |
That's an improvement! | caheaton | Kobo Reader | 8 | 04-11-2011 01:04 PM |