teams-for-linux
teams-for-linux copied to clipboard
Window controls are located on left side despite the system settings when ELECTRON_OZONE_PLATFORM_HINT=auto/wayland
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Set env variable ELECTRON_OZONE_PLATFORM_HINT equal to "auto" or "wayland"'
- Start the application
Expected behavior The window controls (minimize, maximize, close) should be located at right (according to the system settings)
Screenshots
Desktop (please complete the following information):
- OS: Ubuntu 22.04 LTS
- Installation package: deb
- Version: 1.18.1
Debug teams-for-linux --webDebug [DEBUG] configPath:,/home/siarhei_matsevich/.config/teams-for-linux [DEBUG] configFile:,[object Object] [INFO] Running under Wayland, switching to PipeWire... [DEBUG] Adding electron CLI flag 'ozone-platform-hint' with value 'wayland' [DEBUG] Adding electron CLI flag 'enable-features' with value 'WaylandWindowDecorations' [DEBUG] Custom background service url is 'http://localhost' [DEBUG] processArgs:,/opt/teams-for-linux/teams-for-linux,--webDebug [DEBUG] testing RegExp processArgs false [DEBUG] testing RegExp processArgs false [DEBUG] Testing network using net.request() for https://teams.microsoft.com/ [DEBUG] Spellchecker is disabled! [DEBUG] Network test successful with method https [42522:0814/180719.650864:ERROR:CONSOLE(1)] "Request Autofill.enable failed. {"code":-32601,"message":"'Autofill.enable' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1) [DEBUG] GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 0s, IdleState: 'active' [42522:0814/180719.655027:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not implemented [DEBUG] did-frame-finish-load,[object Object],true [DEBUG] did-finish-load [DEBUG] Badge count set to '0' [DEBUG] Badge count set to '0' [DEBUG] Badge count set to '0' [42522:0814/180726.020302:ERROR:CONSOLE(1)] "Request Autofill.enable failed. {"code":-32601,"message":"'Autofill.enable' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1) [DEBUG] did-frame-finish-load,[object Object],false [DEBUG] GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 0s, IdleState: 'active' [DEBUG] GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 0s, IdleState: 'active' [DEBUG] GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 0s, IdleState: 'active' [DEBUG] GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 0s, IdleState: 'active' ^C[DEBUG] before-quit [DEBUG] window close [DEBUG] window closed [DEBUG] will-quit [DEBUG] quit
** Additional info ** This can be fixed by switching the Placement in Windows Titlebars in Tweaks app to left and then back to right