https://bugs.kde.org/show_bug.cgi?id=521826

--- Comment #1 from Julien Delquié <[email protected]> ---
Created attachment 193415
  --> https://bugs.kde.org/attachment.cgi?id=193415&action=edit
Remove infinite loop sound

Okay, I'm not a Qt, KDE, etc. developer, but I tried something.

I started with the fix at
https://invent.kde.org/plasma/plasma-workspace/-/commit/bc268f1d8597b7545cf9c225138f11fd38874ef7
to find out which files were affected.

I looked at the git-blame for what was done around this fix between Plasma
6.6.5 and 6.7.0.

I came across this commit:
https://invent.kde.org/plasma/plasma-workspace/-/commit/40e743b453f8ef1996adf804c3e5a0beaf02a961
>From there… well, I understood that there were improvements and, more
importantly, a crash fix (https://bugs.kde.org/show_bug.cgi?id=507691), so I
didn't bother reverting the code to recompile plasma-workspace on my Gentoo
system.

So I used an LLM (Duck.ai GPT-5.4 nano) to help me understand what's happening
in the commit
https://invent.kde.org/plasma/plasma-workspace/-/commit/40e743b453f8ef1996adf804c3e5a0beaf02a961
associated with my explanation of the problem I encountered.
This resulted in a patch that I tried myself (and whose contents I
understood)... I applied it to the code from tag 6.7.0, recompiled
plasma-workspace, and it works! I no longer have the infinite loop of sound!

I don't know KDE's policy regarding the use of LLM, and I would understand if
this wasn't correct, and I would be very sorry if I had done something wrong.
Therefore, I recommend that you do not use the patch I am proposing as is, and
instead wait for an official version from a KDE developer who knows very well
what he is doing.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to