ONLYOFFICE / DocumentServer

ONLYOFFICE Docs is a free collaborative online office suite comprising viewers and editors for texts, spreadsheets and presentations, forms and PDF, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
https://www.onlyoffice.com
GNU Affero General Public License v3.0
4.9k stars 1.1k forks source link

Switch between desktop mode and mobile mode #2921

Open dj4oC opened 1 month ago

dj4oC commented 1 month ago

This issue is unique.

Your idea.

As a user of mobile devices, I would like to switch between web mobile modus and web desktop modus depending on the device, it's size, it's input devices.

\cc @tbsbdr

yuvachevaalex commented 1 month ago

Hello, @dj4oC Thanks for your request! Do you propose to introduce switching to desktop view by button or adaptation when opening a document?

dj4oC commented 1 month ago

image Yes, I would love to have a button there like "Editing in Mobile View" PS: Screenshot taken with iPhone 12 and OnlyOffice 8.2

yuvachevaalex commented 1 month ago

This screenshot raised other questions. Do you always open documents in desktop form on your mobile device? And do you use the app or web version of the editors?

dj4oC commented 2 weeks ago

Hi @yuvachevaalex sorry for my late response. Have not seen your response. Yes ownCloud Infinite Scale always opens documents in desktop form via WOPI.

dj4oC commented 2 weeks ago

I think this is a change you made in ONLYOFFICE 7.5.1

dj4oC commented 2 weeks ago

IIRC there was a discussion going on, that OO had issues with distinguishing between small screens and medium screens (such as iPAD) or if a user connects an iPhone to a big screen (AirPlay) and have a bigger screen due to that. Anyway, I as a user of multiple devices want to switch by myself between the different User Interfaces. Question is: Do we implement that in ownCloud Infinite Scale (as a WOPI action) or will you implement it (I would prefer that, because it would smooth the UI)

yuvachevaalex commented 1 week ago

@dj4oC Thank you for waiting, we need to check with the developers about this functionality. Since in the mobile version of owncloud editors open in mobile view by default without any problems

dj4oC commented 1 week ago

Hi @yuvachevaalex I think you are referring to ownCloud 10 and not to ownCloud Infinite Scale. You can test it by yourself with the last version of ownCloud Infinite Scale and ONLYOFFICE 8.2 https://ocis.ocis-onlyoffice.rolling.owncloud.works/ Demo User: https://owncloud.dev/ocis/getting-started/demo-users/

ibnpetr commented 1 week ago

hi @dj4oC

  1. On your end, you can switch between mobile and desktop views based on the information provided by the user agent checker.
  2. The link should include a custom wopi action called “mobileEdit” (which we created based on “mobileView” action).
  3. We are currently exploring how to implement a dynamic switch between mobile and desktop views on our end. We will inform you of the result as soon as possible.
dj4oC commented 1 week ago

Thank you. We'll follow up in our end too