Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDE-79 .webp looks not shown on stage #4682

Merged
merged 1 commit into from
May 30, 2023
Merged

IDE-79 .webp looks not shown on stage #4682

merged 1 commit into from
May 30, 2023

Conversation

devsebastian
Copy link
Contributor

@devsebastian devsebastian commented Feb 3, 2023

Ticket: https://jira.catrob.at/browse/IDE-79

.webp images https://en.wikipedia.org/wiki/WebP images are shown correctly in thumbs in the IDE and also correctly in Paintroid, but are rendered as empty looks on the stage when a project is executed. The looks are shown correctly after a minimal change was made using Paintroid, i.e., once the webp formatted image was converted to a png format.

Fix: convert looks in webp format to png format when they are imported.

Your checklist for this pull request

Please review the contributing guidelines and wiki pages of this repository.

  • Include the name of the Jira ticket in the PR’s title
  • Include a summary of the changes plus the relevant context
  • Choose the proper base branch (develop)
  • Confirm that the changes follow the project’s coding guidelines
  • Verify that the changes generate no compiler or linter warnings
  • Perform a self-review of the changes
  • Verify to commit no other files than the intentionally changed ones
  • Include reasonable and readable tests verifying the added or changed behavior
  • Confirm that new and existing unit tests pass locally
  • Check that the commits’ message style matches the project’s guideline
  • Stick to the project’s gitflow workflow
  • Verify that your changes do not have any conflicts with the base branch
  • After the PR, verify that all CI checks have passed
  • Post a message in the catroid-stage or catroid-ide Slack channel and ask for a code reviewer

@devsebastian devsebastian added the WIP Work in progress label Feb 3, 2023
@devsebastian devsebastian self-assigned this Feb 3, 2023
@devsebastian devsebastian force-pushed the IDE-79 branch 2 times, most recently from 15d8e40 to 9a4d5f7 Compare February 3, 2023 17:31
sebastiangollob

This comment was marked as outdated.

@sebastiangollob sebastiangollob self-requested a review February 3, 2023 18:54
@devsebastian devsebastian force-pushed the IDE-79 branch 2 times, most recently from c296be8 to 1c3d22c Compare February 3, 2023 20:25
.perform(click());
onView(withId(R.id.button_play))
.perform(click());
assertEquals(project.getUserVariable("color").getValue(), "#9a721c");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test fails in the pipeline

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

checked and resolved the issue @sebastiangollob

@devsebastian devsebastian force-pushed the IDE-79 branch 4 times, most recently from 2ffbe9d to bef6c10 Compare February 4, 2023 20:04
Copy link
Member

@sebastiangollob sebastiangollob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@devsebastian devsebastian removed the WIP Work in progress label Feb 7, 2023
Copy link
Contributor

@mseiser mseiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@mseiser mseiser merged commit 736a51c into develop May 30, 2023
@mseiser mseiser deleted the IDE-79 branch May 30, 2023 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants