Workaround for https://bugreports.qt.io/browse/QTBUG-54767 or
https://bugreports.qt.io/browse/QTBUG-130996.
This is probably the worst code I have written in a while, but basically
we add a value interceptor to filter out any invisible menu entry. This
is pretty dangerous because one false step crashes the whole menu. Menu
entries are actually Cpp owned and need to be manually deleted unless
they are removed via removeItem. Care needs to be taken to not mess up
the contentData list.
I expect this to break soon.
Qt.inputMethod.visible is true in kwin_wayland when maliit is enabled and activated,
however kwin does not actually show maliit w/o touch input [1].
Moreover, having send by enter might still be desired even for virtual keyboards.
Remove the check for virtual keyboards as suggested by @deepbluev7,
people could still use Settings.invertEnterKey for newlines.
[1]: https://invent.kde.org/plasma/kwin/-/blob/v6.1.4/src/inputmethod.cpp?ref_type=tags#L185
- The translation key needs the .qm files to be included to work (so it's useless right now; the CMake
script needs to be adjusted to install those files and make this key work properly)
- The Purism custom keys don't seem to be relevant anymore (so that's another useless thing)
- The donation key needs an URL to be useful (the FIXME is still left so it can be readded later)
Currently translated at 85.2% (893 of 1047 strings)
Translated using Weblate (Polish)
Currently translated at 85.2% (893 of 1047 strings)
Co-authored-by: Przemysław Romanik <github@rom4nik.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/pl/
Translation: Nheko/nheko
Currently translated at 100.0% (1047 of 1047 strings)
Translated using Weblate (Dutch)
Currently translated at 100.0% (1047 of 1047 strings)
Translated using Weblate (Dutch)
Currently translated at 93.2% (976 of 1047 strings)
Co-authored-by: Jaron Viëtor <jaron@v8or.nl>
Co-authored-by: Ruben De Smet <ruben.de.smet@rubdos.be>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/nl/
Translation: Nheko/nheko
Currently translated at 100.0% (1047 of 1047 strings)
Translated using Weblate (Esperanto)
Currently translated at 99.5% (1042 of 1047 strings)
Translated using Weblate (Esperanto)
Currently translated at 99.5% (1042 of 1047 strings)
Translated using Weblate (Esperanto)
Currently translated at 98.2% (1029 of 1047 strings)
Translated using Weblate (Esperanto)
Currently translated at 96.7% (1013 of 1047 strings)
Translated using Weblate (Esperanto)
Currently translated at 93.6% (980 of 1047 strings)
Translated using Weblate (Esperanto)
Currently translated at 87.1% (912 of 1047 strings)
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Co-authored-by: Tirifto <tirifto@posteo.cz>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/eo/
Translation: Nheko/nheko
Currently translated at 100.0% (1047 of 1047 strings)
Co-authored-by: Priit Jõerüüt <nhkwlate@joeruut.com>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/et/
Translation: Nheko/nheko