Follow-up Comment #12, bug #18421 (project mypaint): *Performance*
There's not much more we can do to make the chunks smaller, with the exception of the thumbnail generator, which I've not touched yet (there's a bit of a blip there that I can feel when I'm scribbling fast with a speedy brush). Currently the idle callbacks rock once per scanline. I've deprioritized the save callback some more, which may help a little: http://gitorious.org/~achadwick/mypaint/achadwick-mypaint/commit/d0a87b82558460eccb9592ce5e259d31446a14ad *Functionality* So there'd be one single central autosave file for the empty file case? Presumably delete it if the user opens another file or ignores it and starts a new drawing (then saves it)? I like having autosaves in the same location since it makes it transparent what's happening. But there's no use in having them if the user saved successfully I think. One possibility: only have autosaves stored next to the working file if the file hasn't been saved yet. Normal saves erase the autosave file, and as you say: if the user says No when asked about newer autosaves, remove the autosave file then too. The _AUTOSAVE_AUTOSAVE...ora problem and the problem of autosaves in scraps ending up openable is fixed in http://gitorious.org/~achadwick/mypaint/achadwick-mypaint/commit/30569a51f060cd13b6b74aa91934c0e8d5d5c964 *Coding details* Idle saving for ordinary saves using a snapshot isn't there yet, but I want to add it. We'd need some nice, flow-friendly UI for it though. Perhaps no UI while saving, but if the user quits while a save is in operation, present them with a "please wait" dialog with an animated progress bar to look at. Or something like MS Word's little scribbly book thing on the status bar... copy is a standard module, but we may be abusing it by making ours do deep-until-the-leaf-Tiles copies rather than a "pure" shallow copy. Sure, dicts have a .copy(); for lists it's list2=list1[:]. Maybe .snapshot() or .snapshot_for_saving() is the right name to use. BTW, are the mipmaps of any use when saving or thumbnailing? Solid png saving could be done as an idle-save, I suppose. But I still think it's more of an Export format: and I think that Exports should all happen in the foreground still. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?18421> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Mypaint-bugs mailing list [email protected] https://mail.gna.org/listinfo/mypaint-bugs
