Bug 441097

Summary: Emoji picker broke
Product: [Plasma] plasmashell Reporter: Nate Graham <nate>
Component: Emoji SelectorAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: omerusta
Priority: VHI Keywords: regression
Version: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nate Graham 2021-08-17 20:53:41 UTC
Something broke the emoji picker recently with git master everything. Now none of the views display content, and the console is full of errors:

qml: There's no page to replace
QQmlComponent: Component is not ready
file:///home/nate/kde/usr/lib64/qml/org/kde/kirigami.2/PageRow.qml:801: Error: Error while loading page: qrc:/ui/CategoryPage.qml:94 Cannot assign to property of unknown type "QAbstractItemModel*".

qrc:/ui/CategoryAction.qml:28: ReferenceError: i18nd is not defined
qrc:/ui/CategoryAction.qml:27: TypeError: Cannot read property 'title' of undefined
qrc:/ui/CategoryAction.qml:28: ReferenceError: i18nd is not defined
qrc:/ui/CategoryAction.qml:27: TypeError: Cannot read property 'title' of undefined
qrc:/ui/CategoryAction.qml:28: ReferenceError: i18nd is not defined
qrc:/ui/CategoryAction.qml:27: TypeError: Cannot read property 'title' of undefined
qrc:/ui/CategoryAction.qml:28: ReferenceError: i18nd is not defined
qrc:/ui/CategoryAction.qml:27: TypeError: Cannot read property 'title' of undefined
qrc:/ui/CategoryAction.qml:28: ReferenceError: i18nd is not defined
qrc:/ui/CategoryAction.qml:27: TypeError: Cannot read property 'title' of undefined
qrc:/ui/CategoryAction.qml:28: ReferenceError: i18nd is not defined
qrc:/ui/CategoryAction.qml:27: TypeError: Cannot read property 'title' of undefined
qrc:/ui/CategoryAction.qml:28: ReferenceError: i18nd is not defined
qrc:/ui/CategoryAction.qml:27: TypeError: Cannot read property 'title' of undefined
qrc:/ui/CategoryAction.qml:28: ReferenceError: i18nd is not defined
qrc:/ui/CategoryAction.qml:27: TypeError: Cannot read property 'title' of undefined
qrc:/ui/CategoryAction.qml:28: ReferenceError: i18nd is not defined
qrc:/ui/CategoryAction.qml:27: TypeError: Cannot read property 'title' of undefined
qrc:/ui/CategoryAction.qml:28: ReferenceError: i18nd is not defined
qrc:/ui/CategoryAction.qml:27: TypeError: Cannot read property 'title' of undefined
qrc:/ui/emojier.qml:81: ReferenceError: i18n is not defined
qrc:/ui/emojier.qml:51: ReferenceError: i18n is not defined
qrc:/ui/emojier.qml:50: TypeError: Cannot read property 'title' of undefined
qrc:/ui/emojier.qml:62: ReferenceError: i18n is not defined
qrc:/ui/emojier.qml:61: TypeError: Cannot read property 'title' of undefined
qrc:/ui/CategoryAction.qml:27: TypeError: Cannot read property 'title' of undefined
qrc:/ui/emojier.qml:73: ReferenceError: i18n is not defined

Not sure yet what broke it.
Comment 2 Nicolas Fella 2021-08-22 23:21:12 UTC
Git commit 5fd71402b0d9cdcce07705a31a5182322d5c65ba by Nicolas Fella.
Committed on 22/08/2021 at 23:11.
Pushed by nicolasfella into branch 'master'.

[emojier] Set KLocalizedContext

Needed for the i18n QML functions to work

M  +3    -0    applets/kimpanel/backend/ibus/emojier/app/emojier.cpp

https://invent.kde.org/plasma/plasma-desktop/commit/5fd71402b0d9cdcce07705a31a5182322d5c65ba
Comment 3 Nate Graham 2021-08-22 23:27:45 UTC
That fixed it, thanks!
Comment 4 Nicolas Fella 2021-08-22 23:31:13 UTC
Git commit aa0bf7f144a671be24e58310fdcf44eed8cfd880 by Nicolas Fella.
Committed on 22/08/2021 at 23:22.
Pushed by nicolasfella into branch 'Plasma/5.22'.

[emojier] Set KLocalizedContext

Needed for the i18n QML functions to work
(cherry picked from commit 5fd71402b0d9cdcce07705a31a5182322d5c65ba)

M  +3    -0    applets/kimpanel/backend/ibus/emojier/app/emojier.cpp

https://invent.kde.org/plasma/plasma-desktop/commit/aa0bf7f144a671be24e58310fdcf44eed8cfd880