Skip to content

Conversation

@paulijar
Copy link
Contributor

@paulijar paulijar commented Nov 13, 2025

Summary

After #55245 there was still such a problem with the legacy app navigation
snapper that its width was only 266 px on the RTL layout instead of the
normal 300 px. The 266 px is the default width of Snap.js module. While the
left side snapper width is configured with the property maxPosition, the right
side snapper is configured by passing a negative value for the property
minPosition.

Audio Player before:
image

Audio Player after:
image

(Effect is the same in the Music app but it doesn't yet have a published version with the RTL support.)

TODO

  • ...

Checklist

@paulijar paulijar added the bug label Nov 13, 2025
@paulijar paulijar requested a review from a team as a code owner November 13, 2025 20:35
@paulijar paulijar added the 3. to review Waiting for reviews label Nov 13, 2025
@paulijar paulijar requested review from nfebe, sorbaugh and susnux and removed request for a team November 13, 2025 20:35
@paulijar
Copy link
Contributor Author

/backport to stable31

@paulijar
Copy link
Contributor Author

/backport to stable32

Copy link
Contributor

@susnux susnux left a comment

Choose a reason for hiding this comment

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

makes sense

@susnux susnux added this to the Nextcloud 33 milestone Nov 13, 2025
@susnux susnux changed the title Fix RTL legacy snapper width fix(core): RTL legacy snapper width Nov 13, 2025
paulijar added a commit to owncloud/music that referenced this pull request Nov 13, 2025
Note: Nextcloud version needs to be 31.0.10 or 32.0.1 or newer for the
legacy snapper to work at all in th right-to-left layout.

There's also a small bug related to the snapper width, see
nextcloud/server#56425.
After ec9e283 there was still such a problem with the legacy app navigation
snapper that its width was only 266 px on the RTL layout instead of the
normal 300 px. The 266 px is the default width of Snap.js module. While the
left side snapper width is configured with the property maxPosition, the right
side snapper is configured by passing a negative value for the property
minPosition.

Signed-off-by: Pauli Järvinen <[email protected]>
@susnux susnux force-pushed the fix/rtl-legacy-snapper-width branch from 6f59842 to 47f9407 Compare November 14, 2025 14:30
@susnux
Copy link
Contributor

susnux commented Nov 14, 2025

/compile

Signed-off-by: nextcloud-command <[email protected]>
@susnux susnux merged commit 5b92f58 into master Nov 14, 2025
185 of 202 checks passed
@susnux susnux deleted the fix/rtl-legacy-snapper-width branch November 14, 2025 17:38
@github-actions
Copy link
Contributor

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants