Hi Alexander!
On 11/1/20 2:36 PM, Alexander Weisse wrote:
> Dear Maintainer,
>
> since 1.20.0-2~bpo10+1 didn't start the GUI I tried backporting 1.20.2-1 to
> buster.
>
> Backporting worked, but the GUI still didn't start. However, the output of
> 'AusweisApp2 --show' was detailed enough to locate the problem: one of the qml
> files contains a function with default values for arguments, which is not yet
> supported by Qt 5.11 in buster.
>
> The following small patch fixes the issue, i.e., version 1.20.2-1 can be
> backported
> and the GUI starts on buster:
>
> --- ausweisapp2-1.20.2.orig/resources/qml/Governikus/Global/NumberField.qml
> +++ ausweisapp2-1.20.2/resources/qml/Governikus/Global/NumberField.qml
> @@ -40,7 +40,8 @@ Item {
> + SettingsModel.translationTrigger
> Keys.onPressed: event.accepted = root.handleKeyEvent(event.key,
> event.modifiers)
>
> - function handleKeyEvent(eventKey, eventModifiers = Qt.NoModifier) {
> + function handleKeyEvent(eventKey, eventModifiers) {
> + if (eventModifiers === undefined) eventModifiers =
> Qt.NoModifier
> if (eventKey >= Qt.Key_0 && eventKey <= Qt.Key_9) {
> root.append(eventKey - Qt.Key_0)
> }
I just uploaded updated the package to 1.22.0 in unstable.
Could you check whether your patch applies to 1.22.0 as well? If yes, I can
just upload
a backported 1.22.0 with your patch included.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - [email protected]
`. `' Freie Universitaet Berlin - [email protected]
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913