Restarting calibre passes filenames

Bug #1401991 reported by Chris on 2014-12-12
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

If Calibre is restarted (by the Calibre process itself), all arguments passed to the original process are passed to the new process. This probably makes sense for options, but I don't think it does for files.

Steps to reproduce:

1. Start calibre by passing it an ebook (e.g. "calibre mybook.epub")
2. Modify a configuration variable which requires a restart (e.g. change the interface font)
3. Apply settings, and click "Restart calibre now"

After restart, Calibre will re-attempt to add the ebook that was originally passed.

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
Eli Schwartz (eschwartz) wrote :

When running calibre via
calibre-debug -g

calibre no longer restarts.

"Restarting with: C:\Users\seli\PFiles\Calibre2\calibre-debug.exe"

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers