PuffinPlot issue tracker

Bug: a88/07c

ID : 07c43d0d-2f1e-407b-aa58-560b22662b95
Short name : a88/07c
Status : fixed
Severity : minor
Assigned :
Reporter : Pontus Lurcock <pont@talvi.net>
Creator : Pontus Lurcock <pont@talvi.net>
Created : Tue, 19 Jul 2011 09:01:29 +0000
Target : 1.0
Summary : Crash on saving recent file list [153]

Comment: --------- Comment ---------
ID: ec5ae843-6018-400e-b8c3-a8e56348ff4e
Short name: a88/07c/ec5
From: Pontus Lurcock <pont@talvi.net>
Date: Tue, 19 Jul 2011 09:01:29 +0000

PuffinPlot can crash while shutting down if a it tries to save
a large number of files to the ‘recent files’ list: the length of
the string exceeds the maximum allowed by AbstractPreferences.put.
Solution should be simple: currently the full path of each file is
written separately; this could be shortened hugely by writing it
as parent directory followed by leafnames. For even better compression,
we could extract the longest common prefix and suffix, but it's
unlikely to be necessary.

Comment: --------- Comment ---------
ID: e0858905-094c-4759-8955-c3e16a3a18f9
Short name: a88/07c/e08
From: Pontus Lurcock <pont@talvi.net>
Date: Thu, 03 Nov 2011 23:15:27 +0000

Fixed as specified. Crash is still theoretically possible with 
sufficiently large number of files, but far less likely.