[squeak-dev] Default window size is too small; we should at least increase it a bit and make a preference setting

Jakob Reschke jakres+squeak at gmail.com
Sun May 15 20:54:27 UTC 2022


Hi Tim,

I think I have a stupid question, so I should ask it: which windows in
Squeak are actually affected in your opinion?

I only found a reference to standardSize in the ObjectsTool. Many of the
things you can drag out of it are indeed too small, but without checking I
would rather suspect that is because they do not respect the new scaling
options. The standard sizes of the development tools (Browser, Workspace,
Test Runner etc.) seem still adequate to me...

Kind regards,
Jakob


Am So., 15. Mai 2022 um 20:27 Uhr schrieb tim Rowledge <tim at rowledge.org>:

> Always a good idea to include the attachment you mention having attached...
>
>
> > On 2022-05-15, at 11:17 AM, tim Rowledge <tim at rowledge.org> wrote:
> >
> > I *think* you 'misheard' - not the Squeak window but the default Morphic
> window size is the issue here.
> >
> > It turns out to be reasonably easy (after digging into the rather
> convoluted morass of the PreferenceView/Registry classes) to add a new
> preference pragma for this. I had to add a new PBPointPreferenceView to
> parse point inputs.
> >
> > It turns out that only two other items have Points as the preference
> value; MorphicProject class>>#worldGridOrigin: & #worldGridModulus: Both
> have rather dangerous code  for handling the input since they compile
> whatever is entered. So 'Smalltalk quitPrimitive' will be just fine...
> >
> > Is there any sense in which these two need to be able to accept actual
> code as opposed to a typed in point value? We could, if that is so, simply
> use the extremely dangerous generic #readFromString: -> #basicReadFrom:
> methods, which allow programmatic suicide :-(
> >
> > I also offer a somewhat safer Point class>#readFrom: to combat this for
> at least one more case.
> >
> > I will also point out that not all tools pay any attention to the
> RealEstateAgent's idea of the proper size. Maybe the tools should be able
> to have their own idea of default size included in the preferences?
> >
> >> On 2022-05-13, at 4:41 PM, Eliot Miranda <eliot.miranda at gmail.com>
> wrote:
> >>
> >>
> >>
> >> On Fri, May 13, 2022 at 10:48 AM tim Rowledge <tim at rowledge.org> wrote:
> >> The current default size settings in theRealEstateAgent are too small
> for almost all use cases on modern(ish) machines.
> >>
> >> I find -
> >>     RealEstateAgent standardSize: 900 @ 700.
> >> an improvement but it would be nicer to have it as a preference.
> Perhaps an alternative might be some auto-adaptive sizing?
> >>
> >> I would move to 1024 at 768.  There's no need for any other complication
> as the window can be resized with a single gesture and saved on all our
> platforms.
> >> _,,,^..^,,,_
> >> best, Eliot
> >>
> >
> >
> > tim
> > --
> > tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> > USER ERROR: replace user and press any key to continue.
> >
> >
>
>
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Strange OpCodes: BIB: Branch If Branch if branch...
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220515/392ca31d/attachment.html>


More information about the Squeak-dev mailing list