Restarting calibre passes filenames

Bug #1401991 reported by Chris
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
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.

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

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
Revision history for this message
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"

Revision history for this message
Eli Schwartz (eschwartz) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.