Bug 2290712 - qmlls crashes with Kate editor
Summary: qmlls crashes with Kate editor
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: qt6-qtdeclarative
Version: 40
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Jan Grulich
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-06-06 12:37 UTC by Akseli
Modified: 2024-06-24 06:35 UTC (History)
3 users (show)

Fixed In Version: qt6-qtdeclarative-6.7.1-4.fc40
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-06-24 06:35:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Qt Bug Tracker QTBUG-123871 0 None None None 2024-06-06 12:40:15 UTC

Description Akseli 2024-06-06 12:37:57 UTC
QtDeclarative 6.7.1 is missing a patch that would fix crashes for Kate text editor, when it's using the qmlls (QML language server) binary.

qmlls is a development tool that makes working with qml much easier.

Here is the upstream bug report: https://bugreports.qt.io/browse/QTBUG-123871

Here is one of the patches that should help fix it, but i am not sure if there are others missing: https://codereview.qt-project.org/gitweb?p=qt%2Fqtdeclarative.git;a=commit;h=4c4605be79e564921699a065df58333d3ee10d59

I have built my own qtdeclarative with the patch for qt 6.7.1 and for me it fixed the issue at least.

Reproducible: Always

Steps to Reproduce:
1. Open Kate editor 
2. Open any Qt project with multiple QML files

Actual Results:  
qmlls tries to start up but keeps crashing

Expected Results:  
qmlls would not crash

Comment 1 Fedora Update System 2024-06-06 17:50:02 UTC
FEDORA-2024-be0bb69d77 (qt6-qtdeclarative-6.7.1-3.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-be0bb69d77

Comment 2 Fedora Update System 2024-06-08 03:35:21 UTC
FEDORA-2024-be0bb69d77 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-be0bb69d77`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-be0bb69d77

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2024-06-11 04:15:10 UTC
FEDORA-2024-be0bb69d77 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-be0bb69d77`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-be0bb69d77

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2024-06-24 06:35:59 UTC
FEDORA-2024-be0bb69d77 (qt6-qtdeclarative-6.7.1-4.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.