Mantis Bugtracker

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006496 [Squeak] Morphic minor always 05-21-07 12:45 05-21-07 23:59
Reporter kks View Status public  
Assigned To
Priority normal Resolution open Platform
Status new   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 3.10
  Product Build
Summary 0006496: Morph image snapshot yields a blurred picture
Description Get a halo on a menu and shift-click the viewer icon. The resulting image is blurred (see attached image). If the image's extent is extended by 1@1, the blur goes away. The problem is seen on 3.9 and 3.10 on Linux, Mac and Windows VMs.
Steps To Reproduce
Additional Information The following code is suspect:
Morph>>duplicateMorphImage: evt
        dup := self asSnapshotThumbnail withSnapshotBorder.
        dup bounds: self bounds.
Morphs add a 1px border along bottom-right to its underlying image forms, so I tried changing "self bounds" to "self fullBounds". The fix cleared the artifacts for menus and submenus. But for SystemWindows, it yields a Morph with an 1px extra line along the top. The (fullBounds origin y) appears to be less by 1px, so I am not sure if this is the right fix. Can some Morphic experts confirm this bug?
Attached Files  ThumbnailImage.gif [^] (4,734 bytes) 05-21-07 12:45 [^] (449 bytes) 05-21-07 23:39

- Relationships

- Notes
(0010738 - 201 - 213 - 213 - 213 - 213 - 213)
05-21-07 18:57

I am particular glad you found this one since it affects one of my contributions to 3dot9 and I would like to see it improved by removal of the error.

Yours in curiosity and service, --Jerome Peace
(0010739 - 236 - 272 - 272 - 272 - 272 - 272)
05-21-07 23:59


which patches the method to use #fullbounds instead of #bounds.

Comments. As Subbu mentioned in his reports this fixes the immediate problem.

Yours in curiosity and service, --Jerome Peace

- Issue History
Date Modified Username Field Change
05-21-07 12:45 kks New Issue
05-21-07 12:45 kks File Added: ThumbnailImage.gif
05-21-07 18:57 wiz Note Added: 0010738
05-21-07 23:39 wiz File Added:
05-21-07 23:59 wiz Note Added: 0010739

Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
40 total queries executed.
29 unique queries executed.
Powered by Mantis Bugtracker