Fix: Project thumbnails missing before entering project

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

Fix: Project thumbnails missing before entering project

Christoph Thiede

Hi all,


currently, if you create a ProjectViewMorph on a new project (for example, via TheMainDockingBar), the thumbnail is missing unless you enter the project. The project type does not matter.


The attached change set should fix this issue. Would you agree to merge it into Trunk?


Thanks to Marcel for the help!


Best,

Christoph




project preview.cs (920 bytes) Download Attachment
Carpe Squeak!
Reply | Threaded
Open this post in threaded view
|

Re: Fix: Project thumbnails missing before entering project

marcel.taeumel
Merged. I also took care of that uninitialized viewbox. The following example works now:

| p |
p := MorphicProject new.
p world extent: 800@600.
10 timesRepeat: [(ToolSet explore: Morph new) openInWorld: p world].
(ProjectViewMorph openOn: p).

An extra layout-udpate might help to also show the docking bar. Let me try that out.

Best,
Marcel

Am 06.09.2019 13:31:48 schrieb Thiede, Christoph <[hidden email]>:

Hi all,


currently, if you create a ProjectViewMorph on a new project (for example, via TheMainDockingBar), the thumbnail is missing unless you enter the project. The project type does not matter.


The attached change set should fix this issue. Would you agree to merge it into Trunk?


Thanks to Marcel for the help!


Best,

Christoph