Re: Hello and a question about TextFieldMorph

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

Re: Hello and a question about TextFieldMorph

Jerome Peace
Hello and a question about TextFieldMorph

Hello Javier,

Very good discription of a problem that should be
fixed.

Could you please put a report on mantis? Here is the
relevant FAQ:

FAQ: Is this a known issue ? Where is the place to
report bugs (or check if
some have already been raised) ?

The best place for this info would be to start a
Mantis report. (You can get a mantis acct freely and
easily).

A good place to start is:

http://bugs.impara.de/my_view_page.php

Mantis provides a patient persistent way to focus on
an issue.
I use it to accumulate data on a problem until a
solution can be found.
It provides a place to alert the community to a
problem;
-accumulate facts and clues from the analysis;
-publish preposed solutions and get feedback;
-get solutions harvested and included into the main
stream.

This FAQ is also available at the Squeak wiki site.
http://wiki.squeak.org/squeak/Mantis%20FAQ%20and%20Tips
aka:
http://wiki.squeak.org/squeak/5912
Mantis FAQ and Tips

Yours in service, --Jerome Peace

>Javier Reyes jreyes at gmail.com
>Sun Jan 7 21:47:19 UTC 2007 wrote:
>
>
>Hello Everyone,
>
>My name is Javier Reyes and I have just subscribed to
this mailing list. I
>live and work in Madrid, Spain.
>
>I am developing an application for a Magazine using
Squeak. For a small text
>box (which describes the contents of a page in the
magazine) I use a
>TextFieldMorph. Once initialized the Morph appears
with an 'abc' text in the
>upper left corner. That's fine for me. My problem
comes when i delete the
>last character of the TextMorph. At that moment the
Morph changes its color
>to the default light gray but the text that's written
after that doesnt
>appear in the top left corner anymore but one line
below.
>If I press Alt-0 the text goes back to the corner,
but I want that behaviour
>to be default. This "reset" doesnt happen either if I
select the "abc" and
>write some replacement text, only when the
TextFieldMorph is emptied.
>
>Any help will be very welcome. Thanks in advance.
>
>All the best,
>                       -Javier
>-

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 

Reply | Threaded
Open this post in threaded view
|

Re: Hello and a question about TextFieldMorph

Javier Reyes
Hello Jerome,

Thanks very much. I have just written a mantis report about it.
¿Any Ideas of how could I get in touch with any Morphic guru? Reporting the bug is the right thing to do, but I'm afraid I need some faster solution or shortcut for my project. I'm new using squeak and I would appretiate any suggestion as for user groups, forums or whatever you can recomend besides squeak-dev.

Best regards,
                        -Javier

On 1/8/07, Jerome Peace <[hidden email]> wrote:
Hello and a question about TextFieldMorph

Hello Javier,

Very good discription of a problem that should be
fixed.

Could you please put a report on mantis? Here is the
relevant FAQ:

FAQ: Is this a known issue ? Where is the place to
report bugs (or check if
some have already been raised) ?

The best place for this info would be to start a
Mantis report. (You can get a mantis acct freely and
easily).

A good place to start is:

http://bugs.impara.de/my_view_page.php

Mantis provides a patient persistent way to focus on
an issue.
I use it to accumulate data on a problem until a
solution can be found.
It provides a place to alert the community to a
problem;
-accumulate facts and clues from the analysis;
-publish preposed solutions and get feedback;
-get solutions harvested and included into the main
stream.

This FAQ is also available at the Squeak wiki site.
http://wiki.squeak.org/squeak/Mantis%20FAQ%20and%20Tips
aka:
http://wiki.squeak.org/squeak/5912
Mantis FAQ and Tips

Yours in service, --Jerome Peace

>Javier Reyes jreyes at gmail.com
>Sun Jan 7 21:47:19 UTC 2007 wrote:
>
>
>Hello Everyone,
>
>My name is Javier Reyes and I have just subscribed to
this mailing list. I
>live and work in Madrid, Spain.
>
>I am developing an application for a Magazine using
Squeak. For a small text
>box (which describes the contents of a page in the
magazine) I use a
>TextFieldMorph. Once initialized the Morph appears
with an 'abc' text in the
>upper left corner. That's fine for me. My problem
comes when i delete the
>last character of the TextMorph. At that moment the
Morph changes its color
>to the default light gray but the text that's written
after that doesnt
>appear in the top left corner anymore but one line
below.
>If I press Alt-0 the text goes back to the corner,
but I want that behaviour
>to be default. This "reset" doesnt happen either if I
select the "abc" and
>write some replacement text, only when the
TextFieldMorph is emptied.
>
>Any help will be very welcome. Thanks in advance.
>
>All the best,
>                       -Javier
>-

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com




Reply | Threaded
Open this post in threaded view
|

Re: Hello and a question about TextFieldMorph

Jerome Peace
In reply to this post by Jerome Peace
Hello and a question about TextFieldMorph

Hi Javier,

Thanks for your report.  
You've written to the list and you've put your report
on mantis.
That is as likely to attract a volunteer guru as
anything.

Waving money at the problem is the only way I know to
insure attention.

I did look into the bug.
A quick look did not turn up the root cause. I did
notice that the glitch is very short lived.
Almost anything will knock the text back to the top
right position.
(Even copying the explorer I genned up to  look at
things did the trick. Try tracking down a bug whose
symptom squirms out from under you. Not an easy task.)

Two observations. One I did not have the problem with
either of the text morphs from the object window. I
had to go out of my way to get a TextFieldMorph. So
you might switch morphs.

The other observation was sending the instance of the
TextFieldMorph the message #fit would clear up the
problem. So you could look into doing that if you have
your heart set on the TextFieldMorph.

Yours in service, -- Jerome Peace

>Javier Reyes jreyes at gmail.com
>Mon Jan 8 11:55:59 UTC 2007 wrote:
>
>
>Hello Jerome,
>
>Thanks very much. I have just written a mantis report
about it.
>¿Any Ideas of how could I get in touch with any
Morphic guru? Reporting the
>bug is the right thing to do, but I'm afraid I need
some faster solution or
>shortcut for my project. I'm new using squeak and I
would appretiate any
>suggestion as for user groups, forums or whatever you
can recomend besides
>squeak-dev.
>
>Best regards,
>                        -Javier

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 

Reply | Threaded
Open this post in threaded view
|

Re: Hello and a question about TextFieldMorph

Javier Reyes
Hello Jerome,

Thanks very much for your support. Karl Ramberg gave me a simple solution:

text _ TextFieldMorph new openInWorld.
tm _ text findA: TextMorph.
tm autoFit: false.

With my limited level of understanding of the Morphic guts I dont know why it works but it does. (Thanks again Karl).

I came to something that could be a bug too. What do you think?

in a morphic project drop as press-me button from the object menu. Then edit its script to something like:
RectangleMorph new openInHand.

Now, everytime you press the button you get a new RectangleMorph. Simple. Well, if I save that project to disk when I try to load it back I get a debug screen and not my project. RenamedClassSourceReader related, sanscrit to me anyway.

Best,
              -Javier


On 1/9/07, Jerome Peace <[hidden email]> wrote:
Hello and a question about TextFieldMorph

Hi Javier,

Thanks for your report.
You've written to the list and you've put your report
on mantis.
That is as likely to attract a volunteer guru as
anything.

Waving money at the problem is the only way I know to
insure attention.

I did look into the bug.
A quick look did not turn up the root cause. I did
notice that the glitch is very short lived.
Almost anything will knock the text back to the top
right position.
(Even copying the explorer I genned up to  look at
things did the trick. Try tracking down a bug whose
symptom squirms out from under you. Not an easy task.)

Two observations. One I did not have the problem with
either of the text morphs from the object window. I
had to go out of my way to get a TextFieldMorph. So
you might switch morphs.

The other observation was sending the instance of the
TextFieldMorph the message #fit would clear up the
problem. So you could look into doing that if you have
your heart set on the TextFieldMorph.

Yours in service, -- Jerome Peace

>Javier Reyes jreyes at gmail.com
>Mon Jan 8 11:55:59 UTC 2007 wrote:
>
>
>Hello Jerome,
>
>Thanks very much. I have just written a mantis report
about it.
>¿Any Ideas of how could I get in touch with any
Morphic guru? Reporting the
>bug is the right thing to do, but I'm afraid I need
some faster solution or
>shortcut for my project. I'm new using squeak and I
would appretiate any
>suggestion as for user groups, forums or whatever you
can recomend besides
>squeak-dev.
>
>Best regards,
>                        -Javier

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com