Bug 473711 - Merkuro calendar wont launch with kdesrc-run
Summary: Merkuro calendar wont launch with kdesrc-run
Status: REPORTED
Alias: None
Product: Merkuro
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Claudio Cambra
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-24 06:37 UTC by Akseli Lahtinen
Modified: 2023-08-24 18:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Akseli Lahtinen 2023-08-24 06:37:42 UTC
SUMMARY

When building Merkuro with `kdesrc-build merkuro --resume-after=libkolabxml`
and trying to run it with `kdesrc-run -e merkuro-calendar merkuro` I get the following error:

kdesrc-run -e merkuro-calendar merkuro

################################################################################
                                   kdesrc-run
Module:             merkuro
Program:            merkuro-calendar
Revision:           ce3a7fca720b3cb517db1c9bbb775391cab4d9e4
Arguments:          
################################################################################

qrc:/BasicMonthListView.qml:22:5: Required property startDate was not initialized
qrc:/main.qml:631:17: QML FilterHeaderBar: Binding loop detected for property "height"
qrc:/main.qml:595:26: QML QQuickItem*: Binding loop detected for property "height"
qrc:/MainDrawerToggleButton.qml:25: TypeError: Cannot read property 'collapsed' of undefined
qrc:/MainDrawerToggleButton.qml:14: TypeError: Cannot read property 'collapsed' of undefined
qrc:/MainDrawerToggleButton.qml:11: TypeError: Cannot read property 'mainDrawer' of undefined


STEPS TO REPRODUCE
1. Build Merkuro with `kdesrc-build merkuro --resume-after=libkolabxml` 
2. Run Merkuro with `kdesrc-run -e merkuro-calendar merkuro` 

OBSERVED RESULT
Merkuro crashes at launch.

EXPECTED RESULT
Merkuro launches.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Kernel Version: 6.4.11-arch2-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600

ADDITIONAL INFORMATION

`kdesrc-run -e merkuro-mail merkuro` works without any QML errors
Comment 1 Akseli Lahtinen 2023-08-24 18:05:43 UTC
I got it stop crashing by opening Kalendar and enabling "Swipeable month grid" setting, since I had disabled that before.

Now merkuro-calendar opens fine with `kdesrc-run -e merkuro-calendar merkuro`