Bug 420232

Summary: Unexpected confirmation window after switch from "Fonts" section
Product: [Applications] systemsettings Reporter: pveax <pveax>
Component: kcm_fontsAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns, nate
Priority: NOR Keywords: regression
Version: 5.18.4   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: TUI log
TUI log FIXED

Description pveax 2020-04-18 06:51:59 UTC
Created attachment 127631 [details]
TUI log

SUMMARY
Unexpected confirmation window after switch from "Fonts" section if to change nothing.


STEPS TO REPRODUCE
1. Open system settings window (TUI: systemsettings5).
2. Go to "Fonts" section. Change nothing at all.
3. Go to any other section. As example in attached file log I switched to "Colours" section.


OBSERVED RESULT
Confirmation window appears:

Title:
"Apply settings - System settings"

Text:
"The settings of the current module have changed.
Do you want to apply the changes or discard them?"

Options:
Apply / Discard / Cancel


EXPECTED RESULT
No any confirmation window cause I dis not introduce any change, only current section switching.


ADDITIONALLY
If to apply that unknown changes, then after entering "Fonts" section again and to try to leave that section w/ no change the confirmation windows appears again. I saw it in 5.18.3 version, now see in 5.18.4. I see that lack constantly for several weeks. Reproduction rate for me is 100%.


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 19.0.2, stable branch, up-to-date.
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.2
Kernel Version: 5.6.3-2-MANJARO
OS Type: 64-bit

ADDITIONAL INFORMATION
-
Comment 1 pveax 2020-04-18 06:55:39 UTC
Comment on attachment 127631 [details]
TUI log

>TUI log
>
><<< If to open system settings GUI via TUI: >>>
>
>$ systemsettings5
>QQmlEngine::setContextForObject(): Object already has a QQmlContext
>
><<< If to switch to "Fonts" section: >>>
>
>QQmlEngine::setContextForObject(): Object already has a QQmlContext
>file:///usr/share/kpackage/kcms/kcm_fonts/contents/ui/main.qml:222:25: QML Image: Invalid image provider: image://preview/0_0.png
>file:///usr/share/kpackage/kcms/kcm_fonts/contents/ui/main.qml:185:25: QML Image: Invalid image provider: image://preview/0_0.png
>file:///usr/lib/qt/qml/org/kde/kirigami.2/FormLayout.qml:112:21: Unable to assign [undefined] to double
>file:///usr/lib/qt/qml/org/kde/kirigami.2/FormLayout.qml:112:21: Unable to assign [undefined] to double
>Using fontconfig file: "/home/m/.fonts.conf"
>file:///usr/share/kpackage/kcms/kcm_fonts/contents/ui/main.qml:185:25: QML Image: Invalid image provider: image://preview/1_0.png
>file:///usr/share/kpackage/kcms/kcm_fonts/contents/ui/main.qml:185:25: QML Image: Invalid image provider: image://preview/2_0.png
>file:///usr/share/kpackage/kcms/kcm_fonts/contents/ui/main.qml:185:25: QML Image: Invalid image provider: image://preview/3_0.png
>file:///usr/share/kpackage/kcms/kcm_fonts/contents/ui/main.qml:185:25: QML Image: Invalid image provider: image://preview/4_0.png
>file:///usr/share/kpackage/kcms/kcm_fonts/contents/ui/main.qml:222:25: QML Image: Invalid image provider: image://preview/1_0.png
>file:///usr/share/kpackage/kcms/kcm_fonts/contents/ui/main.qml:222:25: QML Image: Invalid image provider: image://preview/1_1.png
>file:///usr/share/kpackage/kcms/kcm_fonts/contents/ui/main.qml:222:25: QML Image: Invalid image provider: image://preview/1_2.png
>file:///usr/share/kpackage/kcms/kcm_fonts/contents/ui/main.qml:222:25: QML Image: Invalid image provider: image://preview/1_3.png
>file:///usr/share/kpackage/kcms/kcm_fonts/contents/ui/main.qml:185:25: QML Image: Invalid image provider: image://preview/0_1.png
>file:///usr/share/kpackage/kcms/kcm_fonts/contents/ui/main.qml:185:25: QML Image: Invalid image provider: image://preview/1_1.png
>file:///usr/share/kpackage/kcms/kcm_fonts/contents/ui/main.qml:185:25: QML Image: Invalid image provider: image://preview/2_1.png
>file:///usr/share/kpackage/kcms/kcm_fonts/contents/ui/main.qml:185:25: QML Image: Invalid image provider: image://preview/3_1.png
>file:///usr/share/kpackage/kcms/kcm_fonts/contents/ui/main.qml:185:25: QML Image: Invalid image provider: image://preview/4_1.png
>file:///usr/lib/qt/qml/org/kde/kirigami.2/AbstractApplicationItem.qml:319:9: QML Binding: Not restoring previous value because restoreMode has not been set.
>This behavior is deprecated.
>You have to import QtQml 2.14 after any QtQuick imports and set
>the restoreMode of the binding to fix this warning.
>In Qt < 6.0 the default is Binding.RestoreBinding.
>In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.
>
>file:///usr/lib/qt/qml/org/kde/kirigami.2/FormLayout.qml:112:21: Unable to assign [undefined] to double
>
><<< If to switch to "Colours" section >>>
>
><<< No log msgs appeared >>>
>
><<< And if to press Discard in the confirmation window >>>
>
>Using fontconfig file: "/home/m/.fonts.conf"
>QQmlEngine::setContextForObject(): Object already has a QQmlContext
>QCoreApplication::postEvent: Unexpected null receiver
>file:///usr/lib/qt/qml/org/kde/newstuff/qml/QuestionAsker.qml:106:5: QML Connections: Cannot assign to non-existent property "onClosing"
>file:///usr/lib/qt/qml/QtQuick/Controls.2/org.kde.desktop/ScrollView.qml:103:25: QML ScrollBar: Binding loop detected for property "visible"
>file:///usr/lib/qt/qml/QtQuick/Controls.2/org.kde.desktop/ScrollView.qml:103:25: QML ScrollBar: Binding loop detected for property "visible"
>file:///usr/lib/qt/qml/QtQuick/Controls.2/org.kde.desktop/ScrollView.qml:103:25: QML ScrollBar: Binding loop detected for property "visible"
>file:///usr/lib/qt/qml/QtQuick/Controls.2/org.kde.desktop/ScrollView.qml:103:25: QML ScrollBar: Binding loop detected for property "visible"
>file:///usr/lib/qt/qml/QtQuick/Controls.2/org.kde.desktop/ScrollView.qml:103:25: QML ScrollBar: Binding loop detected for property "visible"
>file:///usr/lib/qt/qml/QtQuick/Controls.2/org.kde.desktop/ScrollView.qml:103:25: QML ScrollBar: Binding loop detected for property "visible"
>file:///usr/lib/qt/qml/QtQuick/Controls.2/org.kde.desktop/ScrollView.qml:103:25: QML ScrollBar: Binding loop detected for property "visible"
>file:///usr/lib/qt/qml/QtQuick/Controls.2/org.kde.desktop/ScrollView.qml:103:25: QML ScrollBar: Binding loop detected for property "visible"
>file:///usr/lib/qt/qml/QtQuick/Controls.2/org.kde.desktop/ScrollView.qml:103:25: QML ScrollBar: Binding loop detected for property "visible"
>file:///usr/lib/qt/qml/QtQuick/Controls.2/org.kde.desktop/ScrollView.qml:103:25: QML ScrollBar: Binding loop detected for property "visible"
>file:///usr/lib/qt/qml/QtQuick/Controls.2/org.kde.desktop/ScrollView.qml:103:25: QML ScrollBar: Binding loop detected for property "visible"
>file:///usr/lib/qt/qml/org/kde/kirigami.2/AbstractApplicationItem.qml:319:9: QML Binding: Not restoring previous value because restoreMode has not been set.
>This behavior is deprecated.
>You have to import QtQml 2.14 after any QtQuick imports and set
>the restoreMode of the binding to fix this warning.
>In Qt < 6.0 the default is Binding.RestoreBinding.
>In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.
>
>file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/OverlaySheet.qml:476:9: QML Binding: Not restoring previous value because restoreMode has not been set.
>This behavior is deprecated.
>You have to import QtQml 2.14 after any QtQuick imports and set
>the restoreMode of the binding to fix this warning.
>In Qt < 6.0 the default is Binding.RestoreBinding.
>In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.
>
>file:///usr/lib/qt/qml/org/kde/kirigami.2/templates/OverlaySheet.qml:483:9: QML Binding: Not restoring previous value because restoreMode has not been set.
>This behavior is deprecated.
>You have to import QtQml 2.14 after any QtQuick imports and set
>the restoreMode of the binding to fix this warning.
>In Qt < 6.0 the default is Binding.RestoreBinding.
>In Qt >= 6.0 the default is Binding.RestoreBindingOrValue.
>
>file:///usr/share/kpackage/kcms/kcm_colors/contents/ui/main.qml:72:13: QML ColumnLayout: Cannot anchor to an item that isn't a parent or sibling.
>
><<< Switched to "Colours" section >>>
Comment 2 pveax 2020-04-18 06:58:54 UTC
Please trash "Comment 1" message with editing log.
Please trash "TUI log.txt" attached file.

Pls see fixed log comments in "TUI log FIXED.txt" attached file.
Comment 3 pveax 2020-04-18 06:59:54 UTC
Created attachment 127632 [details]
TUI log FIXED
Comment 4 pveax 2020-04-19 00:56:55 UTC
After another update

Operating System: Manjaro Linux 20.0
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.2
Kernel Version: 5.6.5-1-MANJARO

the lack persists
Comment 5 Patrick Silva 2020-04-19 05:38:12 UTC

*** This bug has been marked as a duplicate of bug 416140 ***
Comment 6 Nate Graham 2020-05-06 17:13:27 UTC
Not actually a duplicate, but also fixed now in Plasma 5.19.
Comment 7 Nate Graham 2020-05-06 17:13:51 UTC

*** This bug has been marked as a duplicate of bug 419135 ***
Comment 8 pveax 2020-08-14 19:22:40 UTC
Yeah, fixed a long ago.
At lest at current
```
Operating System: Manjaro Linux
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0
Kernel Version: 4.19.139-1-MANJARO
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 31.2 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
```
the bug fixed.

Thanks!!!

What next? To close the ticket?