| Summary: | Watercycle and renewable energy image looks squashed | ||
|---|---|---|---|
| Product: | [Applications] gcompris | Reporter: | Karl Ove Hufthammer <karl> |
| Component: | general | Assignee: | animtim |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | animtim |
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Screenshot of watercycle activity with a wide window | ||
Yes, those 2 activities are part of the few for which I still need to redo the graphics, and fixing this squashing issue will be part of the task. The tricky part is to make it look good but keep it usable on all screen ratio, so it'll probably need a bit of refactoring. Anyway it's near the top of my current todo ;) Both activities are now updated with new images in a fixed square layout that can work on any screen/window ratio without distortion, along with some other improvements. |
Created attachment 145749 [details] Screenshot of watercycle activity with a wide window The images for the watercycle and renewable energy activities don’t have a fixed aspect ratio, and therefore looks squashed in most screen resolutions (including 16:9). STEPS TO REPRODUCE 1. Start the watercycle or renewable energy activity. 2. Skip the intro text. OBSERVED RESULT See the attached screenshot (where I have used a very wide window, to more clearly show the problem). Depending on the screen resolution, the background image and other images are either vertically or horizontally squashed. For example, in fullscreen mode in a 16:9 resolution (and in the screenshot), Tux looks very short and fat. EXPECTED RESULT The images should look normal, i.e. that objects have the correct proportions. One way to fix this would be to use the *natural* aspect ratio and just add extra sea and sky to the left. (Though for vertical screens, parts of the image would then be cropped.) It would at least be better if the images were fixed to look ’normal’ on the most common (fullscreen) screen resolution, 16:9. ADDITIONAL INFORMATION The sun always has the correct aspect ratio. That is, it is shaped like a circle (and change *size* when one changes the aspect ratio).