Opened 10 years ago

Closed 7 years ago

#1921 closed defect (fixed)

Journal preview images not properly displayed

Reported by: jdsimmons Owned by: tomeu
Priority: Normal Milestone: Unspecified
Component: Sugar Version: Unspecified
Severity: Minor Keywords:
Cc: sascha_silbe Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

When the Journal Activity displays a preview image it assumes that the image is always 320x240 instead of checking the actual image size and scaling the image to fit within the 320x240 viewing area. This isn't really noticeable with screen shots created by sugar.activity.Activity, but if an Activity tries to create its own preview metadata, as Sugar Commander does for image files it imports as Journal entries, you often get images that are stretched out horizontally or vertically.

Change History (3)

comment:1 Changed 10 years ago by sascha_silbe

  • Cc sascha_silbe added

comment:2 Changed 10 years ago by Nostalghia

Same issue when exporting bitmap images from Kandid activity to the Journal.
The aspect ratio is not kept. Preview images exported by Kandid have an aspect ratio of 1:1. Size is 100x100. The Journal displays the preview with ratio 4:3. Scaling is OK, but the preview image must not be stretched during scaling.

best regards
Thomas

comment:3 Changed 7 years ago by godiard

  • Resolution set to fixed
  • Status changed from new to closed

This issue as been fixed long time ago.

Note: See TracTickets for help on using tickets.