teams-for-linux icon indicating copy to clipboard operation
teams-for-linux copied to clipboard

Spellchecking not working, unable to find out why

Open Schinnerl-at opened this issue 1 year ago • 6 comments

Describe the bug Note: English is not my first language.

I have to use Teams in a somewhat restricted network, that means only some domains are accessible via a proxy. And now I have the problem that no spellchecking seams to work.

To Reproduce

Setup a proxy that only allows: .microsoft.com, .microsoft.de, login.live.com, login.microsoftonline.com, .gstatic.com, .googleapis.com, .googlecode.com, .googleusercontent.com, apis.google.com, code.jquery.com, consent.google.at, consent.google.com .github.com, .github.io, .githubusercontent.com, .mozaws.net, .mozilla.com, .mozilla.net, .mozilla.org, .npmjs.org

Note: that is not everything that is allowed, but that should be everything that teams for linux needs, if there is something missing, than I found the bug.

Steps to reproduce the behavior:

  1. Start teams-for-linux with following arguments: --webDebug true --appLogLevels "error,warn,info,debug" --proxyServer "" --spellCheckerLanguages "en-US,de,de-DE"
  2. Click on any chat
  3. input something that is spelled worng.
  4. no "redline" under the word, and a context menu does not show suggestions.
  5. webDebuger and log output does not give any hints on what is wrong

Expected behavior Nice would be a working spellchecking, but what I need more is a way to find out why it is not working, there is no debug log that says that something does not work. Also the webDebuger has no 403 or something like that.

Desktop (please complete the following information):

  • OS: debian 12.5
  • Installation package deb
  • Version 1.5.3
  • Installed hunspell packages:
    • dictionaries-common/stable,now 1.29.5 all [installed,automatic]
    • hunspell-de-at/stable,now 20161207-11 all [installed]
    • hunspell-de-de/stable,now 20161207-11 all [installed]
    • hunspell-en-us/stable,now 1:2020.12.07-2 all [installed,automatic]
    • libhunspell-1.7-0/stable,now 1.7.1-1 amd64 [installed,automatic]

Debug

[DEBUG] configPath:,/home/schich/.config/teams-for-linux
[DEBUG] configFile:,[object Object]
[INFO] Running under Wayland, switching to PipeWire...
[DEBUG] Custom background service url is 'http://localhost'
[DEBUG] processArgs:,/opt/teams-for-linux/teams-for-linux,--webDebug,true,--appLogLevels,error,warn,info,debug
[DEBUG] Testing network using net.request() for https://teams.microsoft.com/
[DEBUG] Language codes en-US,de set for spellchecker
[7393:0606/094114.234308:ERROR:browser_main_loop.cc(278)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[7393:0606/094114.234926:ERROR:browser_main_loop.cc(278)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[7393:0606/094114.235068:ERROR:browser_main_loop.cc(278)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[7393:0606/094114.235140:ERROR:browser_main_loop.cc(278)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[7393:0606/094114.237315:ERROR:browser_main_loop.cc(278)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[DEBUG] Network test successful with method https
[DEBUG] GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 0s, IdleState: 'active'
[7393:0606/094114.738356: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] did-frame-finish-load,[object Object],true
[DEBUG] did-finish-load
[DEBUG] GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 0s, IdleState: 'active'
[7393:0606/094115.836979: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'
[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'
[DEBUG] GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 0s, IdleState: 'active'
[DEBUG] did-frame-finish-load,[object Object],false
[7393:0606/094132.861756: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'
[7459:0606/094139.661560:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[7459:0606/094145.615886:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[7459:0606/094145.626932:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
[DEBUG] GetSystemIdleState => IdleTimeout: 300s, IdleTimeoutPollInterval: 10s, ActiveCheckPollInterval: 2s, IdleTime: 0s, IdleState: 'active'
[DEBUG] Badge count set to '0'
[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] Language codes en-US,de,de-DE set for spellchecker
[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'
[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'
[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 context config.json:

{
	"proxyServer": "<proxy server>",
	"customCSSName": "compactDark",
	"closeAppOnCross": true,
	"defaultURLHandler": "/home/schich/.config/teams-for-linux/opennewtab.sh",
	"optInTeamsV2": true,
	"notificationMethod": "electron",
	"spellCheckerLanguages": [
		"en-US",
		"de",
		"de-DE"
	]
}

I hope that is detailed enough, and thanks for the great teams client.

Schinnerl-at avatar Jun 06 '24 08:06 Schinnerl-at