Re: [etoys-notify] [JIRA] Updated: (SQ-1004) Brush size 1 is missing in PaintBox

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [etoys-notify] [JIRA] Updated: (SQ-1004) Brush size 1 is missing in PaintBox

K K Subbu
On Friday 13 Jan 2012 3:12:08 PM Scott Wallace (JIRA) wrote:

> Adds a preference, "singlePixelNib", governing whether the smallest
> brush-size icon in a PaintBoxMorph should represent a one-pixel-wide or a
> three-pixel-wide nib.  For the XO this preference should be set to false,
> so that the three-pixel-nib minimum remains enforced; probably for other
> platforms it should be set to true.  Thanks to Bert and Subbu :)
I suspect the issue is much more deeper than just nib-size in PBM :-(. When a
1-pix lines are created on desktop and edited on XO, the resulting sketch may
end up with both 1-pix and 3-pix lines creating confusion.

In any case, I would prefer to use an XOMode preference which then influences
the whole of Morphic and Etoys rather than deal with it on as piecemeal basis.

Regards .. Subbu
_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev
Reply | Threaded
Open this post in threaded view
|

Re: [etoys-notify] [JIRA] Updated: (SQ-1004) Brush size 1 is missing in PaintBox

Bert Freudenberg
On 13.01.2012, at 17:00, K. K. Subramaniam wrote:

> On Friday 13 Jan 2012 3:12:08 PM Scott Wallace (JIRA) wrote:
>
>> Adds a preference, "singlePixelNib", governing whether the smallest
>> brush-size icon in a PaintBoxMorph should represent a one-pixel-wide or a
>> three-pixel-wide nib.  For the XO this preference should be set to false,
>> so that the three-pixel-nib minimum remains enforced; probably for other
>> platforms it should be set to true.  Thanks to Bert and Subbu :)
> I suspect the issue is much more deeper than just nib-size in PBM :-(. When a
> 1-pix lines are created on desktop and edited on XO, the resulting sketch may
> end up with both 1-pix and 3-pix lines creating confusion.
>
> In any case, I would prefer to use an XOMode preference which then influences
> the whole of Morphic and Etoys rather than deal with it on as piecemeal basis.

I'd make it a simple preference, off by default, independent of platform.

IMHO for the vast majority of uses we don't need a single-pixel nib. So what Scott implemented is exactly right (though I didn't try it yet).

Possibly the preference should be project-specific. The advantage would be it gets saved with the project. The disadvantage is you would have to set it for each project manually. I'm not quite sure how persistent preferences (which are restored on startup) interact with project-specific preferences.

- Bert -

_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev
Reply | Threaded
Open this post in threaded view
|

Re: [etoys-notify] [JIRA] Updated: (SQ-1004) Brush size 1 is missing in PaintBox

Karl Ramberg
In reply to this post by K K Subbu


On Fri, Jan 13, 2012 at 5:00 PM, K. K. Subramaniam <[hidden email]> wrote:
On Friday 13 Jan 2012 3:12:08 PM Scott Wallace (JIRA) wrote:

> Adds a preference, "singlePixelNib", governing whether the smallest
> brush-size icon in a PaintBoxMorph should represent a one-pixel-wide or a
> three-pixel-wide nib.  For the XO this preference should be set to false,
> so that the three-pixel-nib minimum remains enforced; probably for other
> platforms it should be set to true.  Thanks to Bert and Subbu :)
I suspect the issue is much more deeper than just nib-size in PBM :-(. When a
1-pix lines are created on desktop and edited on XO, the resulting sketch may
end up with both 1-pix and 3-pix lines creating confusion.

In any case, I would prefer to use an XOMode preference which then influences
the whole of Morphic and Etoys rather than deal with it on as piecemeal basis.


I'm not sure how this would work ? Are you meaning that projects would be changed depending on if it's opened in
XO or other computer ?

Karl 

_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev
Reply | Threaded
Open this post in threaded view
|

Re: [etoys-notify] [JIRA] Updated: (SQ-1004) Brush size 1 is missing in PaintBox

K K Subbu
On Friday 13 Jan 2012 9:43:06 PM karl ramberg wrote:
> On Fri, Jan 13, 2012 at 5:00 PM, K. K. Subramaniam
<[hidden email]>wrote:
> > In any case, I would prefer to use an XOMode preference which then
> > influences
> > the whole of Morphic and Etoys rather than deal with it on as piecemeal
> > basis.
>
> I'm not sure how this would work ? Are you meaning that projects would be
> changed depending on if it's opened in
> XO or other computer ?
No, but a sketch can get spoiled if edited across different versions of Etoys
on XO and desktop. If a teacher creates a 1-pix rectangle sketch on a desktop
computer with the old code and wishes to edit it on an XO, there is no 1-pix
brush :-(. If the smallest brush is used the 3-pix line segments will distort
the proportions in the sketch.

Regards .. Subbu
_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev