| Summary: | [Plasma Welcome]Showing wrong version of the preview text in an update | ||
|---|---|---|---|
| Product: | [Applications] Welcome Center | Reporter: | Ahmet KAYA <neodeveloper27> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | nate, olib141 |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | The welcome screen of Plasma 6.5, showing wrong version of preview. | ||
|
Description
Ahmet KAYA
2025-11-02 12:03:57 UTC
I'm afraid I do not have time until later today to post instructions, but what I would need to know is the value of QString languageCode on line 147: https://invent.kde.org/plasma/plasma-welcome/-/blob/master/src/release.cpp?ref_type=heads#L147 This can be found using GDB, placing a breakpoint on that line in release.cpp and printing the contents of the variable, which might be complex due to being a QString. I will provide better instructions later today. Alternatively, Welcome Center could be built with qDebug() << languageCode; inserted below that line, and it would print it when ran in the terminal. Unfortunately I'm unable to reproduce the issue after changing the language and restarting. I assume that the 'tr' language code is correctly inserted into the URL. We'd need to know the language code that it detects on your system. Unfortunately placing a GDB breakpoint wouldn't work because release builds appear to optimise it away. You'd need to build plasma-welcome yourself, and then place a qDebug() that prints the language code. I'll add a way for release builds to log this information. If you're unwilling or unable to build a modified application yourself, we would at least be able to know when 6.6 releases, and more easily as well for any future such issues that occur. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-welcome/-/merge_requests/232 Git commit 1e20b74e7945c22e47ad86c593afd6ce5c945881 by Oliver Beard. Committed on 03/11/2025 at 22:06. Pushed by olib into branch 'master'. Add logging categories and enhanced logging This commit adds proper support for Qt logging categories to Welcome Center. Additional logging is added to KDED for what we're doing when we're launching, as we've seen bugs or non-obvious behaviour in this area before. In order to help with release preview localisation issues (see: CCBUG), logging is also added to Release::getPreview(). M +7 -0 CMakeLists.txt M +8 -0 src/CMakeLists.txt M +8 -0 src/kded/CMakeLists.txt M +9 -0 src/kded/daemon.cpp M +6 -0 src/public/CMakeLists.txt M +7 -5 src/public/controller.cpp M +4 -2 src/public/utils.cpp M +5 -2 src/release.cpp https://invent.kde.org/plasma/plasma-welcome/-/commit/1e20b74e7945c22e47ad86c593afd6ce5c945881 A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-welcome/-/merge_requests/233 In 6.5.2, Welcome Center will now log the URL used for the announcement preview. Just run it in a terminal with:
plasma-welcome --post-update
and you should see it.
Git commit 6d18eea084ca76b4263cb1d1fe54b94996e98d58 by Oliver Beard. Committed on 04/11/2025 at 00:41. Pushed by olib into branch 'Plasma/6.5'. Add logging categories and enhanced logging This commit adds proper support for Qt logging categories to Welcome Center. Additional logging is added to KDED for what we're doing when we're launching, as we've seen bugs or non-obvious behaviour in this area before. In order to help with release preview localisation issues (see: CCBUG), logging is also added to Release::getPreview(). (cherry picked from commit 1e20b74e7945c22e47ad86c593afd6ce5c945881) Co-authored-by: Oliver Beard <olib141@outlook.com> M +7 -0 CMakeLists.txt M +8 -0 src/CMakeLists.txt M +8 -0 src/kded/CMakeLists.txt M +9 -0 src/kded/daemon.cpp M +6 -0 src/public/CMakeLists.txt M +7 -5 src/public/controller.cpp M +4 -2 src/public/utils.cpp M +5 -2 src/release.cpp https://invent.kde.org/plasma/plasma-welcome/-/commit/6d18eea084ca76b4263cb1d1fe54b94996e98d58 ๐๐งน โ ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! ๐๐งน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME. |