resolved fdo#71667 and fdo#72278, fdo#69971 follow-up fix

a9d85d62a889288b17899c8defc020da487d8b36 used
ScInputHandler::EnterHandler() to reset all sort of things related to
input EditEngine, but that is a handler for Enter and does not enter a
handler and actually attempts to finalize input, which lead to various
unwanted side effects.

Introduced ScInputHandler::InputTurnOffWinEngine() as only the input bar
window EditEngine needs to be reset in the window switching case (which
EnterHandler also does hence it did prevent that bug). The approach
could be polished with further refinement but most importantly fixes the
actual problems now.

(cherry picked from commit dfd1a47a38dac743f9ed0f1e9507714bac027d35)

Conflicts:
	sc/inc/scmod.hxx
	sc/source/ui/app/scmod.cxx

Change-Id: I9a0bc452b49ba11a3313cafbc1e5972f41dc65c7
Reviewed-on: https://gerrit.libreoffice.org/6936
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
5 files changed
tree: b1ac483b78d932b002894acca01bf1316bcbfb2b
  1. .git-hooks/
  2. accessibility/
  3. afms/
  4. android/
  5. animations/
  6. apache-commons/
  7. apple_remote/
  8. autodoc/
  9. avmedia/
  10. basctl/
  11. basebmp/
  12. basegfx/
  13. basic/
  14. bean/
  15. beanshell/
  16. bin/
  17. binaryurp/
  18. bluez_bluetooth/
  19. boost/
  20. bridges/
  21. cairo/
  22. canvas/
  23. chart2/
  24. cli_ure/
  25. clucene/
  26. codemaker/
  27. comphelper/
  28. compilerplugins/
  29. config_host/
  30. configmgr/
  31. connectivity/
  32. cosv/
  33. cppcanvas/
  34. cppu/
  35. cppuhelper/
  36. cppunit/
  37. cpputools/
  38. crashrep/
  39. ct2n/
  40. cui/
  41. curl/
  42. dbaccess/
  43. desktop/
  44. distro-configs/
  45. drawinglayer/
  46. dtrans/
  47. editeng/
  48. embeddedobj/
  49. embedserv/
  50. epm/
  51. eventattacher/
  52. expat/
  53. extensions/
  54. external/
  55. extras/
  56. fileaccess/
  57. filter/
  58. firefoxos/
  59. fontconfig/
  60. forms/
  61. formula/
  62. fpicker/
  63. framework/
  64. freetype/
  65. graphite/
  66. harfbuzz/
  67. helpcompiler/
  68. hsqldb/
  69. hunspell/
  70. hwpfilter/
  71. hyphen/
  72. i18nlangtag/
  73. i18npool/
  74. i18nutil/
  75. icon-themes/
  76. icu/
  77. idl/
  78. idlc/
  79. include/
  80. instsetoo_native/
  81. io/
  82. ios/
  83. javaunohelper/
  84. jfreereport/
  85. jpeg/
  86. jurt/
  87. jvmaccess/
  88. jvmfwk/
  89. l10ntools/
  90. languagetool/
  91. lcms2/
  92. libcdr/
  93. libcmis/
  94. libexttextcat/
  95. liblangtag/
  96. libmariadb/
  97. libmspub/
  98. libmwaw/
  99. libodfgen/
  100. liborcus/
  101. libpng/
  102. librelogo/
  103. libvisio/
  104. libwpd/
  105. libwpg/
  106. libwps/
  107. libxml2/
  108. libxmlsec/
  109. libxslt/
  110. lingucomponent/
  111. linguistic/
  112. lotuswordpro/
  113. lpsolve/
  114. m4/
  115. mdds/
  116. Mesa/
  117. more_fonts/
  118. moz/
  119. mysqlc/
  120. mysqlcppconn/
  121. mythes/
  122. neon/
  123. nlpsolver/
  124. np_sdk/
  125. nss/
  126. o3tl/
  127. odk/
  128. offapi/
  129. officecfg/
  130. oovbaapi/
  131. oox/
  132. openldap/
  133. openssl/
  134. package/
  135. padmin/
  136. postgresql/
  137. postprocess/
  138. psprint_config/
  139. python3/
  140. pyuno/
  141. qadevOOo/
  142. readlicense_oo/
  143. redland/
  144. registry/
  145. remotebridges/
  146. reportbuilder/
  147. reportdesign/
  148. rhino/
  149. ridljar/
  150. rsc/
  151. sal/
  152. salhelper/
  153. sane/
  154. sax/
  155. sc/
  156. scaddins/
  157. sccomp/
  158. scp2/
  159. scripting/
  160. sd/
  161. sdext/
  162. setup_native/
  163. sfx2/
  164. shell/
  165. slideshow/
  166. smoketest/
  167. solenv/
  168. soltools/
  169. sot/
  170. starmath/
  171. stoc/
  172. store/
  173. svgio/
  174. svl/
  175. svtools/
  176. svx/
  177. sw/
  178. swext/
  179. sysui/
  180. test/
  181. testtools/
  182. tomcat/
  183. toolkit/
  184. tools/
  185. touch/
  186. tubes/
  187. twain/
  188. ucb/
  189. ucbhelper/
  190. ucpp/
  191. udkapi/
  192. udm/
  193. unixODBC/
  194. UnoControls/
  195. unodevtools/
  196. unoidl/
  197. unoil/
  198. unotest/
  199. unotools/
  200. unoxml/
  201. ure/
  202. uui/
  203. vbahelper/
  204. vcl/
  205. vigra/
  206. wizards/
  207. writerfilter/
  208. writerperfect/
  209. x11_extensions/
  210. xmerge/
  211. xmlhelp/
  212. xmloff/
  213. xmlreader/
  214. xmlscript/
  215. xmlsecurity/
  216. xpdf/
  217. xsltml/
  218. zlib/
  219. .gitattributes
  220. .gitignore
  221. .gitmodules
  222. .gitreview
  223. autogen.sh
  224. config.guess
  225. config.sub
  226. config_host.mk.in
  227. configure.ac
  228. COPYING
  229. COPYING.LGPL
  230. COPYING.MPL
  231. download.lst
  232. g
  233. install-sh
  234. Library_merged.mk
  235. Library_urelibs.mk
  236. lo.xcent.in
  237. logerrit
  238. Makefile.fetch
  239. Makefile.gbuild
  240. Makefile.in
  241. README.Android
  242. README.Code
  243. README.cross
  244. README.Solaris
  245. README.solver
  246. Repository.mk
  247. RepositoryExternal.mk
  248. RepositoryFixes.mk
  249. RepositoryModule_build.mk
  250. RepositoryModule_host.mk
  251. TEMPLATE.SOURCECODE.HEADER
  252. unusedcode.easy
  253. unusedcode.exclude
  254. unusedcode.README