mattermost / desktop

Mattermost Desktop application for Windows, Mac and Linux
Apache License 2.0
2.03k stars 829 forks source link

Mattermost desktop app instance cannot be resized or moved on Ubuntu via UI #3143

Closed mascarion closed 1 month ago

mascarion commented 2 months ago

Summary

User is unable to resize or move Mattermost desktop app in Ubuntu. It remains as maximised and no way to change the monitor it appears on either.

Steps to reproduce

  1. Open Mattermost desktop app (multiple monitors in use, 3 external and laptop one)
  2. Attempt to resize or move Mattermost via UI

Operating System

Ubuntu Linux 22.04.4 LTS x64

Mattermost Versions

Desktop app: 5.9.0 Mattermost: 9.11.0 Schema version: 124

Expected behavior

The app can be moved around freely across current and other screens.

Observed behavior

Can't find any way to move the app. Frustrating as now stuck with it on a specific monitor which is not ideal for productivity.

devinbinnie commented 2 months ago

@mascarion Did the user accidentally press F11 at some point? It sounds like they're stuck in full screen mode. F11 toggles that on/off.

mascarion commented 2 months ago

Interesting, that resolves it. At some point F11 must have been used. However, that was a previous app instance and there have been multiple system restarts in between. Also the buttons top-right to minimise or get user out of fullscreen mode did not have any effect, only F11 would resolve the issue. Double clicking the top bar gets the app out of fullscreen mode (or so it appears to the user). The sidebar icons in Ubuntu are shown so user would assume that fullscreen mode no longer active. The app can still not be moved or resized when the Ubuntu sidebar exposed in this way.

devinbinnie commented 2 months ago

The fullscreen setting is persisted between app restarts, as some users prefer to work with the app in that mode consistently. Unfortunately the top buttons do not work in full screen mode and I don't know if there's a way to hide them on Linux when the app is full screened.

My personal opinion: we should not be supporting full screen on Linux as it behaves different between window managers and causes all sorts of issues.