Bug 489545 - Welcome center keeps re-appearing after system installation, "ShouldShow=false" not written to config file and does nothing if entered manually
Summary: Welcome center keeps re-appearing after system installation, "ShouldShow=fals...
Status: REPORTED
Alias: None
Product: Welcome Center
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-01 11:51 UTC by Daniel
Modified: 2024-10-22 14:22 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2024-07-01 11:51:29 UTC
SUMMARY
Running Asahi Linux with the Fedora 40 version, chose KDE as window manager. The welcome center keeps appearing at login and adding ShouldShow=false to .config/plasma-welcomerc makes no difference. That parameter is also not written automatically by performing any actions, such as just closing the window, pressing the skip button or going through the entire guide. This behavior has been present from the installed 6.0, through 6.1 and now 6.1.1. There is also no option to not show it again in the welcome center window.

Essentially it's almost the same as https://bugs.kde.org/show_bug.cgi?id=466475 but without the fix of manually entering the ShouldShow parameter.


SOFTWARE/OS VERSIONS
OS: Fedora Linux Asahi Remix 40 (KDE Plasma) aarch64
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Graphics platform: Wayland

ADDITIONAL INFORMATION
Apple M2 Pro
Apple Mac Mini 2023
Comment 1 Oliver Beard 2024-07-01 15:20:05 UTC
Welcome Center now looks for a key, `LastSeenVersion` which would be set to, for example, `6.1.0`.

By default, this key is empty and unset, which causes it to appear for the first time and sets the key to the current Plasma version. When it is set, it checks the current plasma version indicates an update to a beta release, or a new major release, and shows the appropriate update page (updating the key).

https://invent.kde.org/plasma/plasma-welcome/-/blob/master/src/kded/daemon.cpp?ref_type=heads#L36

Since Welcome Center keeps appearing, this key must not be being set. Does `plasma-welcomerc` contain `LiveEnvironment=true`?
Comment 2 Nate Graham 2024-07-01 18:33:39 UTC
Is the KDED module running? What does `qdbus-qt6 org.kde.kded6 /kded org.kde.kded6.loadedModules | grep -i welcome` say?
Comment 3 Daniel 2024-07-01 18:42:18 UTC
The file only contains
[General]
LastSeenVersion=6.1.1

6.1.1 is what I'm currently on. Sorry for not including this in my original post. It does not contain `LiveEnvironment=true` and adding/removing that makes no difference. I've tried re-logging as well as rebooting between edits.

Your last command returns 'kded_plasma-welcome'
Comment 4 Bug Janitor Service 2024-07-16 03:46:33 UTC Comment hidden (spam)
Comment 5 Nate Graham 2024-07-23 18:50:53 UTC
I can't reproduce the issue with a config file containing only that content in it.
Comment 6 Jim 2024-10-20 13:20:55 UTC
I've just upgraded from Kubuntu 24.04 to 24.10 and the welcome centre appears on every boot.

After a post on the forum https://www.kubuntuforums.net/forum/currently-supported-releases/kubuntu-24-10-oracular-oriole/post-installation-az/683170-welcome-center-appears-on-every-boot-how-do-you-switch-it-off I've changed ~/.config/plasma-welcomerc from this:

​[General]
LastSeenVersion=6.1.5
​
I am running plasma 6.1.5

To this:

[General]
LastSeenVersion=6.1.5
ShouldShow=false
​
And last boot it did not appear!
Comment 7 Oliver Beard 2024-10-22 05:15:07 UTC
`ShouldShow` no longer exists at all in recent versions of Welcome Center. I'm confused why this is happening, and why placing it into config would help. Perhaps the KDED module is not being updated?

If you have this issue, please run the following command:

`strings /usr/lib/qt6/plugins/kf6/kded/kded_plasma-welcome.so > kded_plasma-welcome_strings.txt`

and attach the created file (which is placed in your terminal's current directory).

Please also note the distro you're seeing this issue on.
Comment 8 Oliver Beard 2024-10-22 06:32:38 UTC
Alternatively, perhaps KF5 kded is running? Check also if the following file exists:

`/usr/lib/qt/plugins/kf5/kded/kded_plasma-welcome.so`

I'm even more confused though, because investigating, even the earliest version of the KDED implementation doesn't use ShouldShow.

ShouldShow was only used in an old version of the desktop file.

Perhaps check if the following file:

`/usr/share/applications/org.kde.plasma-welcome.desktop`

contains the line:

`X-KDE-autostart-condition=plasma-welcomerc:General:ShouldShow:true`

If so, that's the problem. Perhaps it wasn't updated correctly? Or maybe it's being overridden by an outdated copy (though I struggle to think of why anyone would do this).

That could be looked for in `~/.local/share/applications`.
Comment 9 Jim 2024-10-22 07:38:11 UTC
I'm running kubuntu 24.10 which is an upgrade from 24.04 (which was an upgrade from 23.10....)

Here are the command and results for you:

$  strings /usr/lib/qt6/plugins/kf6/kded/kded_plasma-welcome.so > kded_plasma-welcome_strings.txt
strings: '/usr/lib/qt6/plugins/kf6/kded/kded_plasma-welcome.so': No such file

 $  ls -l /usr/lib/qt6/plugins/kf6/kded 
"/usr/lib/qt6/plugins/kf6/kded": No such file or directory (os error 2)

 $  ls -l /usr/lib/qt6                        
   inode Permissions Links Size User Date Modified Name
18522383 drwxr-xr-x      2    - root 18 Oct 14:57   bin*
18486903 drwxr-xr-x      2    - root 18 Oct 14:57   libexec*

 $  ls -l /usr/lib/qt/plugins/kf5/kded/kded_plasma-welcome.so
"/usr/lib/qt/plugins/kf5/kded/kded_plasma-welcome.so": No such file or directory (os error 2)

 $  grep autostart /usr/share/applications/org.kde.plasma-welcome.desktop

The last command returns nothing.
Comment 10 Oliver Beard 2024-10-22 13:06:19 UTC
Could you try:

`grep autostart ~/.local/share/applications/org.kde.plasma-welcome.desktop`

That's my only guess at what's happening here. I don't think it's KDED, as all shipped versions of the service never used ShouldShow. The only thing that would make it appear with ShouldShow would be in the .desktop file, and clearly the installed one is correct, so perhaps there's a local one overriding?
Comment 11 Jim 2024-10-22 14:22:56 UTC
Sure here you go:

    $  grep autostart ~/.local/share/applications/org.kde.plasma-welcome.desktop
    grep: /home/jim/.local/share/applications/org.kde.plasma-welcome.desktop: No such file or directory