Summary: | Firmware Security KCM returns search results in a single line | ||
---|---|---|---|
Product: | [Applications] kinfocenter | Reporter: | Roke Julian Lockhart Beedell <4wy78uwh> |
Component: | general | Assignee: | Nate Graham <nate> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | nate, sitter |
Priority: | NOR | ||
Version: | 6.2.5 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
URL: | https://discuss.kde.org/t/where-does-one-report-issues-with-the-firmware-security-system-settings-page/28619/5?u=rokejulianlockhart#:~:text=1d-,Report%20under%20kinfocenter.,-Solution | ||
Latest Commit: | https://invent.kde.org/plasma/kinfocenter/-/commit/595a20f020fd7147c95d05204aeba69893408a9c | Version Fixed In: | 6.3.0 |
Sentry Crash Report: | |||
Attachments: | Demonstration screenshot for `#c0`. |
Description
Roke Julian Lockhart Beedell
2025-01-23 19:06:54 UTC
If I switch the text format to TextEdit.PlainText, it works as expected. It's only when CommandOutputKCM is told to use TextEdit.RichText that this happens. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kinfocenter/-/merge_requests/217 Git commit cd257602e2a4798b279846b131a355ad46001d97 by Nate Graham. Committed on 29/01/2025 at 17:29. Pushed by ngraham into branch 'master'. CommandOutputKCM: Use correct newlines for HTML-styled content Right now it assumes plaintext and always uses a `\n`. But the Firmware Security KCM displays HTML-styled text, where this won't work. We need a way to tell the object that it's going to be displaying HTML content, and use appropriate newlines. This commit implements that. FIXED-IN: 6.3.0 Co-authored-by: Harald Sitter <sitter@kde.org> M +5 -1 kcms/firmware_security/main.cpp M +0 -1 kcms/firmware_security/ui/main.qml M +26 -3 src/CommandOutputContext.cpp M +10 -0 src/CommandOutputContext.h M +3 -1 src/qml/CommandOutputKCM.qml https://invent.kde.org/plasma/kinfocenter/-/commit/cd257602e2a4798b279846b131a355ad46001d97 Git commit 595a20f020fd7147c95d05204aeba69893408a9c by Nate Graham. Committed on 29/01/2025 at 17:36. Pushed by ngraham into branch 'Plasma/6.3'. CommandOutputKCM: Use correct newlines for HTML-styled content Right now it assumes plaintext and always uses a `\n`. But the Firmware Security KCM displays HTML-styled text, where this won't work. We need a way to tell the object that it's going to be displaying HTML content, and use appropriate newlines. This commit implements that. FIXED-IN: 6.3.0 Co-authored-by: Harald Sitter <sitter@kde.org> (cherry picked from commit cd257602e2a4798b279846b131a355ad46001d97) 6665db3b CommandOutputKCM: Use correct newlines for HTML-styled content 6f77cbd8 Do it with enums 35d8f1b6 Try to make it work 16b8f7c0 Harald's better stuff Co-authored-by: Nate Graham <nate@kde.org> M +5 -1 kcms/firmware_security/main.cpp M +0 -1 kcms/firmware_security/ui/main.qml M +26 -3 src/CommandOutputContext.cpp M +10 -0 src/CommandOutputContext.h M +3 -1 src/qml/CommandOutputKCM.qml https://invent.kde.org/plasma/kinfocenter/-/commit/595a20f020fd7147c95d05204aeba69893408a9c |