Brilliant :) Thanks for testing

On 21 July 2011 18:09, David REVOY <[email protected]> wrote:

> new = don't work as expected , it's more a 'erase all' than a 'new'. Because
> on exiting, it's autosave, and overwrite the last saved palette even if I
> specified I create a new one. I guess it's at this moment I would prefer an
> autosave into a ~/.mypaint/scratchpads/last.ora instead of overwrite the
> last palette I created before pressing 'new button'.

Would it be clear if I claimed the filename "autosave.ora" and
"scratchpad_default.ora" within the config/scratchpads directory?

Clicking on 'new' would then:
- Clear the scratchpad
- load a copy of scratchpad_default.ora (if it exists),
- will autosave to 'autosave.ora' unless told otherwise


> Little glitch ; color picking with 'Ctrl' seams to not work with the
> scratchpad ; 'r' key color-picker works and 'w' too. Also, 'spacebar'
> doesn't work over it to pan ( mouse-middle-click-button , yes  ; but here I
> don't have it on my stylus )

Ah, yes - I have to 'steal' the keypresses from the main-canvas so
I'll see about stealing these too. All keypresses are directed towards
there, even when the pointer is over the scratchpad.

>
> I could record the last scratchpad opened with a given file in the
> settings and have that persist between sessions - would that do?
>
> As the scratchpad directory is in the same directory as the
> configuration, this might be a suitable way to share?
>
> Yes , I really think the more simple and straigtforward solution ( skipping
> ora inclusion/path and all ) would be to have
> ~/.mypaint/scratchpads/new.ora
> ~/.mypaint/scratchpads/last.ora
>
> I explain myself :
> new.ora = would be a special one 'template' like when pressing 'new' button.
> Artist like me can this way abuse of it to store default colors / tools / a
> grid of empty cell to fill , or even what they want... ( a YGBVRO wheel ; a
> gammut mask ; http://www.livepaintinglessons.com/gamutmask.php etc... ) .
> The default : a empty white ora.
>
> last.ora = the last one displayed before Mypaint close ( auto-saved ) ; even
> if this one exist under another filename.
>

I agree :)

How about 'autosave.ora' as mentioned above for the 'last.ora'? It
seems a common name for what this would be.

I'll add an option to the dropdown menu to add in 'Save scratchpad as
default' as well - I think that makes sense...

One issue is that I don't think I can save an empty file, so this
needs to be worked around.

> Tell me what you think about, and if this is not a coding nightmare and make
> sens ; I'm just a user :)

Don't worry about the coding side - its all just a means to an end
after all, and the end is a drawing program we all want to use :)


>
>
> -David
>
>
>
>
>
>
>
>
> On 21/07/11 17:31, Ben O'Steen wrote:
>
> I'm not sure how to accomodate this within the .ora file itself, not
> without abusing it!
>
> The most up to date version of what I am working on is now here:
>
> https://github.com/benosteen/mypaint/tree/feature%2Fscratchpad
>
> (I'll update the URLs on the videos in due course)
>
> It's now (IMHO) getting to the point of being pretty useable and I'll
> do a demo vid to show how it currently works.
>
> Canvas <--> pad
> -----------------------
>
> As for linking a canvas with a pad - it would have to be external to
> .ora for the time being and what you are asking for is to keep a pad
> associated with a
> work, not a particular file (eg linked to a 'painting', rather than
> just '/path/foo/painting_v23.ora') This makes a lot of sense to me :)
>
> Unfortunately, the code I have already done for this links a file to a
> scratchpad, in a 1 to 1 fashion (a scratchpad was owned by a single
> file, not multiple files.)
>
> I could record the last scratchpad opened with a given file in the
> settings and have that persist between sessions - would that do?
>
> As the scratchpad directory is in the same directory as the
> configuration, this might be a suitable way to share?
>
>
> Ben
>
>
>
> On 21 July 2011 15:53, David REVOY <[email protected]> wrote:
>
> On 21/07/11 16:46, Eric Honaker wrote:
>
> What if the scratchpad were assumed to be in the same directory, with the
> same file name for auto open purposes? Them nothing is added to .it's.
> Picture.ora accompanied by Picture.spd? .
>
> With my incremental saving file process (I manage a lot of *.ora files on
> folders ) , this would create a lot of little 'parasite' files on my system.
> I would prefer them to be stored inside the ~/.mypaint user pref folder ; or
> in the *.ora.
>
> _______________________________________________
> Mypaint-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/mypaint-discuss
>
>

_______________________________________________
Mypaint-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-discuss

Reply via email to