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

[stable25] Fix fullscreen and button style #1830

Merged
merged 1 commit into from
Aug 1, 2023

Conversation

danxuliu
Copy link
Member

Fixes a regression introduced in #1804 (viewer 25.0.9)

:deep() was introduced in Vue 3, although it can be used in Vue 2 too if vue-loader >= 5.10.0 (as can be seen in the commit that made the change in master). However, in stable25 the viewer is using Vue 2 with vue-loader 5.9.8, so :deep() has no effect and therefore the styles for fullscreen mode and buttons were not applied.

Given that the change from ::v-deep to :deep() was done in a recent backport and that, except for security fixes, the dependencies are not bumped in stable versions ::v-deep is used again instead of bumping the vue-loader version.

Before After
Screenshot_20230725_211303 Screenshot_20230725_221011

@danxuliu danxuliu added bug Something isn't working regression Regression of a previous working feature labels Jul 26, 2023
@danxuliu danxuliu added this to the Nextcloud 25.0.10 milestone Jul 26, 2023
@danxuliu
Copy link
Member Author

/compile amend /

":deep()" was introduced in Vue 3, although it can be used in Vue 2 too
if vue-loader >= 5.10.0. However, in stable25 the viewer is using Vue 2
with vue-loader 5.9.8, so ":deep()" has no effect and therefore the
styles for fullscreen mode and buttons were not applied.

Given that the change from "::v-deep" to ":deep()" was done in a recent
backport and that, except for security fixes, the dependencies are not
bumped in stable versions "::v-deep" is used again instead of bumping
the vue-loader version.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@nextcloud-command nextcloud-command force-pushed the fix-fullscreen-and-button-style-in-stable25 branch from 982bca5 to 1c41bbe Compare July 26, 2023 00:12
@danxuliu danxuliu added the 3. to review Waiting for reviews label Jul 26, 2023
@danxuliu danxuliu marked this pull request as ready for review July 26, 2023 00:21
@skjnldsv skjnldsv merged commit d0400a6 into stable25 Aug 1, 2023
25 of 27 checks passed
@skjnldsv skjnldsv deleted the fix-fullscreen-and-button-style-in-stable25 branch August 1, 2023 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working regression Regression of a previous working feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants