Skip to content

[Bug]: Theming: touchIcon-core aspect ratio incorrect - only square logo rendered correctly #51228

@bentuna

Description

@bentuna

⚠️ This issue respects the following points: ⚠️

Bug description

The image rendered under /apps/theming/icon does not consider the original aspect ratio of an uploaded logo. It makes it square.

Steps to reproduce

  1. Go to https://yournextcloud.com/settings/admin/theming and upload a non-square image under Logo
  2. See that the generated image under https://yournextcloud.com/apps/theming/icon is deformed:

Image

Expected behavior

The generated image should keep the aspect ratio of the original logo and scale it propotionally.

Nextcloud Server version

30

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmap30-feedbackbug

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions