File: fix-ListForm.patch

package info (click to toggle)
linphone-desktop 5.2.6%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 14,832 kB
  • sloc: cpp: 32,911; javascript: 1,684; sh: 319; makefile: 38
file content (17 lines) | stat: -rw-r--r-- 662 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Fix ListForm focus issue
 The setTimeout() hack for working around a focus issue stopped
 working some time ago rendering the Contacts edit form largely
 unusable.  This patch disables the hack to make the form at least
 somewhat usable again.
Author: Dennis Filder <d.filder@web.de>
Last-Update: 2022-12-20
--- a/linphone-app/ui/modules/Common/Form/ListForm.js
+++ b/linphone-app/ui/modules/Common/Form/ListForm.js
@@ -102,6 +102,6 @@
     //
     // So, I choose to run a callback executed after this
     // internal event.
-    Utils.setTimeout(values, 0, this.forceActiveFocus)
+//    Utils.setTimeout(values, 0, this.forceActiveFocus)
   }
 }