Bug 438147

Summary: plasma-mobile plasmashell - deprecated behavior
Product: [Plasma] plasmashell Reporter: Ladislav Nesnera <nesnera>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED MOVED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ladislav Nesnera 2021-06-06 08:34:06 UTC
SUMMARY
When closing the top panel (swipe up), the warning message is repeated many times in journald

STEPS TO REPRODUCE
1. open the journal on your Plasma Mobile phone (journalctl -f)
2. open the top panel (swipe down)
3. close the panel (swipe up)

OBSERVED RESULT
Jun 06 09:21:49 plasma-mobile plasmashell[4464]: file:///usr/share/plasma/plasmoids/org.kde.phone.panel/contents/ui/SlidingPanel.qml:187:13: QML Binding: Not restoring previous value because restoreMode has not been set.                                                                                                                    
                                                 This behavior is deprecated.
                                                 You have to import QtQml 2.15 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.

EXPECTED RESULT
no warning message

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux plasma-mobile 5.12.9-1-MANJARO-ARM #1 SMP Thu Jun 3 10:11:08 UTC 2021 aarch64 GNU/Linux
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-06-09 17:45:03 UTC
Plasma Mobile does issue tracking at https://invent.kde.org/plasma/plasma-phone-components/-/issues; can you please re-open this there? Thanks!
Comment 2 Ladislav Nesnera 2021-06-14 13:34:01 UTC
It stopped after updating to Plasma Mobile Beta 5:
```
Operating System: Manjaro-ARM
KDE Plasma Version: 5.22.0
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.12.10-1-MANJARO-ARM
OS-Type: 64
Processor: 4 × 
Memory: 2.9 GiB
```