A4

Comment 10 for bug 605324

Revision history for this message
Andrea Gasparini (gaspa) wrote : Re: [Bug 605324] Re: Presentation files should contain versioninformation

<email address hidden> <1281859524.1571.17.camel@nitrox>
Message-ID: <email address hidden>
X-Sender: <email address hidden>
Received: from dynamic-adsl-78-13-71-68.clienti.tiscali.it [78.13.71.68] with
 HTTP/1.1 (POST); Sun, 15 Aug 2010 12:14:25 +0000
User-Agent: RoundCube Webmail/0.1
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit

On Sun, 15 Aug 2010 08:05:24 -0000, Andrea Corbellini
<email address hidden> wrote:
> On Sat, 2010-08-14 at 21:12 +0000, Andrea Gasparini wrote:
>> * .svg with no metadata at all: we have to implement a "import"
>> action, and so this case is currently not important. (BTW: it'd just
>> be enough to set the whole metadata tag)
>
> I agree with you about the "import" functionality. But I think this is
> something to implement soon: currently an user must edit an SVG file
> with a text editor before being able to use the file with A4. This looks
> to me as a big blocker.

Of course, I don't think that someone disagree with this.

>> * an .svg with a version attribute minor of the actual: should we save
>> in the old format or convert everything to the latest? Perhaps we
>> don't even want to read such a .svg... or not?
>
> Backward compatibility is essential, in my opinion. If a user upgrades
> his A4, all his old presentation *must* work, we can't invalidate all
> the users' presentations every time we make a new release.
> We must give the user the ability to read old format versions and
> upgrade them. How to exactly handle this is something that we'll have to
> decide for every release, when the format changes.

Yes, but that's not what we're talking about.
The problem is "when set or add a version attribute", and imho that's not
the case.

>> * an .svg with metadata messed up, or somewhat we can't read or
>> understand. In this case, we can raise an exception, and block the run
>> of A4.
>
> If the metadata can't be read, the user must be notified. We should also
> offer a way for the user to use the SVG data (if not damaged too, of
> course) ignoring the metadata, so that he can at least re-create the
> presentation path and the animations.

As above, we can think this case into the first (new svg data)

> There's an another case: an old A4 that opens a newer presentation file.
> In this case, a message should be shown, but without letting the user
> doing anything.

Here, too, we don't have to set or add version attribute.