Rocket.Chat.Electron
Rocket.Chat.Electron copied to clipboard
bug: Cannot go back from file screen in Desktop app
Description: When opening a file in the desktop app, the user cannot return to the channel or chat page. Although it is possible to return to the previous URL on the web, the desktop software locks the user inside that page. It will make more sense on video.
https://user-images.githubusercontent.com/63532716/224782508-9375bc47-6889-4ea8-aa74-4dff60cc17fc.mov
Steps to reproduce:
- Open a file from a channel or direct chat.
- Try to go back
Expected behaviour:
There should be a back button.
Actual behavior:
User cannot go back
Client Setup Information
-
Desktop App
-
Operating System: macOS
-
Version - 6.0.0
I was able to reproduce this issue. Also if you enter "present" mode (0:22 in the above video), you lose access to the top toolbar with no way of getting it back. Working on a fix.
Its not every file, is a PDF file. It only happens with PDF viewer. There is a Back item on menu bar, View > Back. We are working on fixing this, the server is not intended to open the PDF this way.
Heyy @jeanfbrito, recently I was working on my recent PR (#2800) which indirectly caters this issue by not letting the file open in another tab or browser so there're no chances of the webview being navigated to the PDF preview of the chromium window.
I would recommend having a look at the PR and if it solves this issue too, please mark it as resolved (or closed may be).
Thanks Prisha Gupta