Bug 448949 - Watercycle and renewable energy image looks squashed
Summary: Watercycle and renewable energy image looks squashed
Status: RESOLVED FIXED
Alias: None
Product: gcompris
Classification: Applications
Component: general (other bugs)
Version First Reported In: git master
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: animtim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-22 13:33 UTC by Karl Ove Hufthammer
Modified: 2022-02-10 12:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot of watercycle activity with a wide window (403.49 KB, image/png)
2022-01-22 13:33 UTC, Karl Ove Hufthammer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Ove Hufthammer 2022-01-22 13:33:37 UTC
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).
Comment 1 animtim 2022-01-22 13:39:48 UTC
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 ;)
Comment 2 animtim 2022-02-10 12:47:38 UTC
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.