Skip to content

Conversation

@max-nextcloud
Copy link
Collaborator

📝 Summary

This broke the viewer resize and is not needed anymore.

In order to confirm this is not needed
i replaced the beforeMount handler with a console.info call opened a text in the viewer and resized the window a few times. The provided info only showed up once.
So the ViewerComponent was only mounted once as well.

Fixes #4099.

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Changes are not covered with tests as it's hard to test for the absence of UI glitches.
  • Documentation is not required

This broke the viewer resize and is not needed anymore.

In order to confirm this is not needed
i replaced the `beforeMount` handler with a `console.info` call
opened a text in the viewer and resized the window a few times.
The provided info only showed up once.
So the `ViewerComponent` was only mounted once as well.

Fixes #4099.

Signed-off-by: Max <[email protected]>
@max-nextcloud max-nextcloud requested review from juliusknorr and mejo- May 4, 2023 07:06
@max-nextcloud
Copy link
Collaborator Author

/backport 601a78b to stable26

@max-nextcloud
Copy link
Collaborator Author

/backport 601a78b to stable25

@max-nextcloud
Copy link
Collaborator Author

/compile

Signed-off-by: nextcloud-command <[email protected]>
@cypress
Copy link

cypress bot commented May 4, 2023

2 flaky tests on run #9648 ↗︎

0 142 1 0 Flakiness 2

Details:

fix(Viewer): remove outdated fix from stable16.
Project: Text Commit: 8e45e61816
Status: Passed Duration: 03:42 💡
Started: May 4, 2023 7:55 AM Ended: May 4, 2023 7:59 AM
Flakiness  cypress/e2e/sync.spec.js • 2 flaky tests

View Output Video

Test Artifacts
Sync > saves on close Output Screenshots
Sync > recovers from a lost connection Output Screenshots

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

Copy link
Contributor

@ShGKme ShGKme left a comment

Choose a reason for hiding this comment

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

Works fine on my test. Thanks!

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Text Viewer breaks Viewer's window's resize handling

5 participants