Side by side comparison of document versions broken
Describe the bug
I can no longer compare versions of a document side-by-side
To Reproduce Steps to reproduce the behavior:
- Create a office document
- edit it multiple times
- close the document and go to the right sidebar
- got to versions
- click the "..." menu of one of the versions and chose "compare to current version"
Expected behavior side-by-side read only view of the current version of the document and the selected version.
Instead the document opens full screen.
Tested with Hub7 on c.nc.com (worked with Hub6)
Quick styling fix could be this, but would probably be better to check on where this broke (likely with some upstream styling changes in viewer)
.viewer--split .office-viewer.viewer__file--active {
width: 50%;
&:nth-child(1) {
left:0;
}
&:nth-child(2) {
left:50%;
}
}
In text it still works as expected
Another report in server: nextcloud/server#42714
Issue still not resolved. I have to stay in v27 for this compare feature to work. Please milestone this issue as we need it as it was working before and has been broke since v28.
Quick styling fix could be this, but would probably be better to check on where this broke (likely with some upstream styling changes in viewer)
.viewer--split .office-viewer.viewer__file--active { width: 50%; &:nth-child(1) { left:0; } &:nth-child(2) { left:50%; } }
juliushaertl where to add that? I realy need this feature... :-(
@elzody Maybe you can have a look. Would actually be nice to have visual regression checks with cypress-visual-regression like in the viewer app