Summary: | Info Center System information loads at first but loads template text on redraw | ||
---|---|---|---|
Product: | [Applications] kinfocenter | Reporter: | Kurt Kremitzki <kkremitzki> |
Component: | About this System | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugseforuns, sitter |
Priority: | NOR | ||
Version: | 5.18.0 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kinfocenter/c0be941faf015e588bc40817a29f83a85e92b951 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
Initial display
Buggy template text displayed |
Created attachment 125880 [details]
Buggy template text displayed
Presumably related to https://phabricator.kde.org/D26667 Yep, the infocenter window itself is now the same code as systemsettings and that seems to not unload modules entirely. Should be an easy fix. Thanks. Git commit c0be941faf015e588bc40817a29f83a85e92b951 by Harald Sitter. Committed on 12/02/2020 at 11:16. Pushed by sitter into branch 'master'. don't hold initdness in a static var with the move to systemsettings the module live times seem to have changed so the statics survive a module switch and would prevent the module from initializing again when viewed a second time. instead simply look at m_entries to determine if we need to init. entries are never empty after load, so it's a reliable indication for initdness. M +1 -3 Modules/about-distro/src/Module.cpp https://commits.kde.org/kinfocenter/c0be941faf015e588bc40817a29f83a85e92b951 |
Created attachment 125879 [details] Initial display SUMMARY On KDE Neon Unstable Edition. When loading Info Center, the initial (default) loading of the System Information behaves correctly. However, after loading any other section, e.g. Memory or Energy, and then returning to System Information, template text is displayed instead of the previously shown content. In other words, we see "{NameVersionLabel}", etc. STEPS TO REPRODUCE 1. Open Info Center. 2. Change selection from System Information to any other, e.g. Memory, Energy, ... 3. Return to System Information section. 4. Template text is displayed instead of actual information shown after step 1. OBSERVED RESULT See screenshot 2. EXPECTED RESULT See screenshot 1. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Neon Unstable Edition (available in About System) KDE Plasma Version: 5.18.80 KDE Frameworks Version: 5.68.0 Qt Version: 5.13.2 ADDITIONAL INFORMATION