Bug 506707 - Tokodon crash with KF6 6.16.0-RC1 on Haiku
Summary: Tokodon crash with KF6 6.16.0-RC1 on Haiku
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kirigami
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.16.0
Platform: Other Other
: NOR normal
Target Milestone: Not decided
Assignee: kdelibs bugs
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2025-07-07 08:26 UTC by Schrijvers Luc
Modified: 2025-08-21 11:45 UTC (History)
4 users (show)

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


Attachments
Terminal output and syslog information when launched (11.57 KB, text/plain)
2025-07-07 08:26 UTC, Schrijvers Luc
Details
Terminal output with KF6 6.16.0 and 6.14.0 (2.28 KB, text/plain)
2025-07-07 08:27 UTC, Schrijvers Luc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Schrijvers Luc 2025-07-07 08:26:39 UTC
Created attachment 183029 [details]
Terminal output and syslog information when launched

SUMMARY

After packaging KF6 6.16.0-RC Tokodon crashes when clicking on a toot/notification menu etc ...

STEPS TO REPRODUCE
1. Install RC framework for 6.16.0
2. Build Tokodon from master commit
3. Open Tokodon, click on any toot

OBSERVED RESULT

Tokodon crashes

EXPECTED RESULT

Tokodon running without crashes

SOFTWARE/OS VERSIONS
Haiku: R1B5 64bitLinux/KDE Plasma: 
KDE Frameworks Version: 6.16.0-RC
Qt Version: 6.9.0

ADDITIONAL INFORMATION

Reverting to KF6 6.14.0 and rebuild Tokodon from master works as expected.
Comment 1 Schrijvers Luc 2025-07-07 08:27:23 UTC
Created attachment 183030 [details]
Terminal output with KF6 6.16.0 and 6.14.0
Comment 2 David Edmundson 2025-07-07 08:57:00 UTC
Are you intentionally using the software renderer? 
Run kcmshell6 qtquicksettings to change it to auto/opengl.
Comment 3 Schrijvers Luc 2025-07-07 09:11:17 UTC
(In reply to David Edmundson from comment #2)
> Are you intentionally using the software renderer? 
> Run kcmshell6 qtquicksettings to change it to auto/opengl.

Haiku doesn't support hardware rendering (this has been reported and discussed in the past for kirigami, even asked around if this could become a variable/switch we could use for that).
A suggestion was made to use "export KIRIGAMI_LOWPOWER_HARDWARE=1" in the ev.

Running the above command doesn't do any good I presume also:

~> kcmshell6 qtquicksettings
kf.kcmutils: Could not find KCM with given Id "qtquicksettings"
kf.coreaddons: "Could not find plugin qtquicksettings"
kf.coreaddons: "Could not find plugin qtquicksettings"
Comment 4 Schrijvers Luc 2025-07-07 10:17:31 UTC
Reverting https://invent.kde.org/frameworks/kirigami/-/merge_requests/1839 fixes the crash.
Comment 5 Schrijvers Luc 2025-07-07 15:13:13 UTC
Just did a full rebuild for the frameworks with kde-builder on Haiku. KTrip suffers from the same, after reverting mentioned MR it works again without crashing.
Comment 6 Vlad Zahorodnii 2025-08-21 11:38:33 UTC
Does it crash with https://invent.kde.org/frameworks/kirigami/-/merge_requests/1884 too?
Comment 7 Schrijvers Luc 2025-08-21 11:44:03 UTC
Has that merged patch https://invent.kde.org/frameworks/kirigami/-/merge_requests/1884 been included in 6.17.0? If so I guess this could be closed, updated local framework last week to that without patching 6.17.0.
No crashes seen so far, sorry for not responding earlier.
Comment 8 Vlad Zahorodnii 2025-08-21 11:45:53 UTC
Yeah it is in 6.17.