- Disable dysfunctional spellchecker
* disable-spellchecker.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=65
This commit is contained in:
15
disable-spellchecker.patch
Normal file
15
disable-spellchecker.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
The spellchecker is not configurable - neither selecting one or more languages
|
||||
or disabling it by the user. So let's drop it completely.
|
||||
|
||||
diff -ru a/src/electron-main.ts b/src/electron-main.ts
|
||||
--- element-desktop-1.11.69/src/electron-main.ts 2024-06-18 14:28:10.000000000 +0200
|
||||
+++ element-desktop-1.11.69/src/electron-main.ts 2024-06-21 13:06:59.581538335 +0200
|
||||
@@ -485,7 +485,7 @@
|
||||
|
||||
// Handle spellchecker
|
||||
// For some reason spellCheckerEnabled isn't persisted, so we have to use the store here
|
||||
- global.mainWindow.webContents.session.setSpellCheckerEnabled(global.store.get("spellCheckerEnabled", true));
|
||||
+ global.mainWindow.webContents.session.setSpellCheckerEnabled(false);
|
||||
|
||||
// Create trayIcon icon
|
||||
if (global.store.get("minimizeToTray", true)) tray.create(global.trayConfig);
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 21 11:09:44 UTC 2024 - Dominik Heidler <dheidler@suse.de>
|
||||
|
||||
- Disable dysfunctional spellchecker
|
||||
* disable-spellchecker.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 18 19:09:48 UTC 2024 - Dominik Heidler <dheidler@suse.com>
|
||||
|
||||
|
@@ -31,6 +31,7 @@ Patch0: hak-remove-devdependencies.patch
|
||||
Patch1: 7za-path.patch
|
||||
Patch2: cc-link-lib-no-static.patch
|
||||
Patch3: remove-fuses.patch
|
||||
Patch4: disable-spellchecker.patch
|
||||
BuildRequires: element-web = %{version}
|
||||
BuildRequires: app-builder
|
||||
BuildRequires: cargo
|
||||
|
Reference in New Issue
Block a user