[Pharo-project] Sticky morph after progress morph use
Hello, With Pharo 1.4 I already reported about it, but when I build a drgeo image then do a small clean up like this: === clean up ==== FreeTypeFontProvider unload. ScriptLoader new cleanUpForProduction. StrikeFont cleanUp. (MCPackage named: 'Announcements-Help') unload. (MCPackage named: 'FileSystem-Tests-Disk') unload. (MCPackage named: 'FileSystem-Tests-Memory') unload. (MCPackage named: 'FileSystem-Tests-Core') unload. (MCPackage named: 'FileSystem-Tests-AnsiStreams') unload. (MCPackage named: 'Metacello-Help') unload. (MCPackage named: 'Regex-Help') unload. RecentMessageList cleanUp. Smalltalk removeEmptyMessageCategories. Smalltalk garbageCollect ==== end of clean up === Then, in the cleaned image, in any place where the progress morph is used, at the end of the progress process, a shaded morph (the background of the progress morph) remains on screen like a big smelling peace of shit - screenshot. What cleaning I should not do? Thanks Hilaire -- Dr. Geo -- http://www.drgeo.eu
+ 1 for fixing that On 24.06.2012, at 12:14, Hilaire Fernandes wrote:
Hello,
With Pharo 1.4 I already reported about it, but when I build a drgeo image then do a small clean up like this:
=== clean up ==== FreeTypeFontProvider unload. ScriptLoader new cleanUpForProduction. StrikeFont cleanUp.
(MCPackage named: 'Announcements-Help') unload. (MCPackage named: 'FileSystem-Tests-Disk') unload. (MCPackage named: 'FileSystem-Tests-Memory') unload. (MCPackage named: 'FileSystem-Tests-Core') unload. (MCPackage named: 'FileSystem-Tests-AnsiStreams') unload. (MCPackage named: 'Metacello-Help') unload. (MCPackage named: 'Regex-Help') unload. RecentMessageList cleanUp. Smalltalk removeEmptyMessageCategories. Smalltalk garbageCollect ==== end of clean up ===
Then, in the cleaned image, in any place where the progress morph is used, at the end of the progress process, a shaded morph (the background of the progress morph) remains on screen like a big smelling peace of shit - screenshot.
What cleaning I should not do?
Thanks
Hilaire
-- Dr. Geo -- http://www.drgeo.eu <progress-morph-background-like-a-smelling-peace-of-shit.jpg>
On 24/06/2012 13:28, Max Leske wrote:
+ 1 for fixing that
But this problem does not show up with uncleaned-for-release image, don't you? Thanks Hilaire -- Dr. Geo -- http://www.drgeo.eu
Well, got some leftovers of a progress bar every once in a while... Phil 2012/6/24 Hilaire Fernandes <hilaire.fernandes@edu.ge.ch>
On 24/06/2012 13:28, Max Leske wrote:
+ 1 for fixing that
But this problem does not show up with uncleaned-for-release image, don't you?
Thanks
Hilaire
-- Dr. Geo -- http://www.drgeo.eu
-- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: phil@highoctane.be| Web: http://philippeback.eu | Blog: http://philippeback.be High Octane SPRL rue cour Boisacq 101 1301 Bierges Belgium
Ah, ok good to know. Hilaire On 24/06/2012 14:16, phil@highoctane.be wrote:
Well, got some leftovers of a progress bar every once in a while...
Phil
2012/6/24 Hilaire Fernandes <hilaire.fernandes@edu.ge.ch>
On 24/06/2012 13:28, Max Leske wrote:
+ 1 for fixing that
But this problem does not show up with uncleaned-for-release image, don't you?
Thanks
Hilaire
-- Dr. Geo -- http://www.drgeo.eu
-- Dr. Geo -- http://www.drgeo.eu
Hi hilaire we do not know (at least I do not know what happened with the old progress bar). Now in 2.0 it is fixed (yes I know that you need a 1.4 version). Stef On Jun 24, 2012, at 12:14 PM, Hilaire Fernandes wrote:
Hello,
With Pharo 1.4 I already reported about it, but when I build a drgeo image then do a small clean up like this:
=== clean up ==== FreeTypeFontProvider unload. ScriptLoader new cleanUpForProduction. StrikeFont cleanUp.
(MCPackage named: 'Announcements-Help') unload. (MCPackage named: 'FileSystem-Tests-Disk') unload. (MCPackage named: 'FileSystem-Tests-Memory') unload. (MCPackage named: 'FileSystem-Tests-Core') unload. (MCPackage named: 'FileSystem-Tests-AnsiStreams') unload. (MCPackage named: 'Metacello-Help') unload. (MCPackage named: 'Regex-Help') unload. RecentMessageList cleanUp. Smalltalk removeEmptyMessageCategories. Smalltalk garbageCollect ==== end of clean up ===
Then, in the cleaned image, in any place where the progress morph is used, at the end of the progress process, a shaded morph (the background of the progress morph) remains on screen like a big smelling peace of shit - screenshot.
What cleaning I should not do?
Thanks
Hilaire
-- Dr. Geo -- http://www.drgeo.eu <progress-morph-background-like-a-smelling-peace-of-shit.jpg>
On 25/06/2012 13:30, Stéphane Ducasse wrote:
we do not know (at least I do not know what happened with the old progress bar). Now in 2.0 it is fixed (yes I know that you need a 1.4 version).
Great. DrGeo 12.07 will survive to it, later release will move to 2.0 anyway. Hilaire -- Dr. Geo -- http://www.drgeo.eu
Anyway, Hilaire, if you want to get rid of that progress bar, you only have to evaluate: SystemProgressMorph reset. So maybe adding that line at the end of your script can be a workaround... On Wed, Jun 27, 2012 at 9:03 AM, Hilaire Fernandes < hilaire.fernandes@edu.ge.ch> wrote:
On 25/06/2012 13:30, Stéphane Ducasse wrote:
we do not know (at least I do not know what happened with the old progress bar). Now in 2.0 it is fixed (yes I know that you need a 1.4 version).
Great. DrGeo 12.07 will survive to it, later release will move to 2.0 anyway.
Hilaire
-- Dr. Geo -- http://www.drgeo.eu
Hey, thanks! This comes handy for my app as well :^) Hilaire, a question: what do you recommend as VM to run DrGeo on an android system? (I am doing a maths app with my wife. It runs fine on iOS/iPad but I'd like to try it out on android systems). Question: did you had any issues with loading PNGs from external files? I have a weird thing there. Phil 2012/6/27 Guillermo Polito <guillermopolito@gmail.com>
Anyway, Hilaire, if you want to get rid of that progress bar, you only have to evaluate:
SystemProgressMorph reset.
So maybe adding that line at the end of your script can be a workaround...
On Wed, Jun 27, 2012 at 9:03 AM, Hilaire Fernandes < hilaire.fernandes@edu.ge.ch> wrote:
On 25/06/2012 13:30, Stéphane Ducasse wrote:
we do not know (at least I do not know what happened with the old progress bar). Now in 2.0 it is fixed (yes I know that you need a 1.4 version).
Great. DrGeo 12.07 will survive to it, later release will move to 2.0 anyway.
Hilaire
-- Dr. Geo -- http://www.drgeo.eu
-- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: phil@highoctane.be| Web: http://philippeback.eu | Blog: http://philippeback.be High Octane SPRL rue cour Boisacq 101 1301 Bierges Belgium
On 27/06/2012 09:14, phil@highoctane.be wrote:
Hilaire, a question: what do you recommend as VM to run DrGeo on an android system? (I am doing a maths app with my wife. It runs fine on iOS/iPad but I'd like to try it out on android systems).
I am using the stack version of Dimitry. Therefore, nothing unreachable. What Math apps are you doing, I am curious. Screenshot please!
Question: did you had any issues with loading PNGs from external files? I have a weird thing there.
No issue with PNG, I am using both to generate and load DrGeo sketch preview. Hilaire -- Dr. Geo -- http://www.drgeo.eu
I am doing something on "Produits remarquables" It is too ugly to show right now. But I have got the exercises set generated, and all the touch interaction working with morphs and some help screens. Now I am working on making it look nicer and checking the student answers with the right ones. Next in line will be the Trigono Bingo. We can work on that together if you want :-) Phil 2012/6/27 Hilaire Fernandes <hilaire.fernandes@edu.ge.ch>
On 27/06/2012 09:14, phil@highoctane.be wrote:
Hilaire, a question: what do you recommend as VM to run DrGeo on an android system? (I am doing a maths app with my wife. It runs fine on iOS/iPad but I'd like to try it out on android systems).
I am using the stack version of Dimitry. Therefore, nothing unreachable.
What Math apps are you doing, I am curious. Screenshot please!
Question: did you had any issues with loading PNGs from external files? I have a weird thing there.
No issue with PNG, I am using both to generate and load DrGeo sketch preview.
Hilaire
-- Dr. Geo -- http://www.drgeo.eu
-- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail: phil@highoctane.be| Web: http://philippeback.eu | Blog: http://philippeback.be High Octane SPRL rue cour Boisacq 101 1301 Bierges Belgium
On 27/06/2012 09:09, Guillermo Polito wrote:
Anyway, Hilaire, if you want to get rid of that progress bar, you only have to evaluate:
SystemProgressMorph reset.
So maybe adding that line at the end of your script can be a workaround...
I did that in my own code (but now I am using another rotating wheels), bu problem occurs in part I don't have access to. For example in the Finder it occurs (after I did my image clean up only) Thanks Hilaire -- Dr. Geo -- http://www.drgeo.eu
participants (5)
-
Guillermo Polito -
Hilaire Fernandes -
Max Leske -
phil@highoctane.be -
Stéphane Ducasse