Bug 451902 - [Wayland] kteatime seems to disappear from my tray with every reboot
Summary: [Wayland] kteatime seems to disappear from my tray with every reboot
Status: REPORTED
Alias: None
Product: kteatime
Classification: Applications
Component: general (show other bugs)
Version: 21.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Stefan Böhmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-25 19:10 UTC by Marco Parillo
Modified: 2023-10-22 18:17 UTC (History)
1 user (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 Marco Parillo 2022-03-25 19:10:53 UTC
SUMMARY
I used to invoke kteatime once with krunner, and it sat in my tray. Now it seems to disappear with every reboot. Could it be related to Wayland, which I have also recently begun using.

STEPS TO REPRODUCE
1. krunner
2. kteatime
3. reboot

OBSERVED RESULT

kteatime loads in the tray, but is not there after reboot

EXPECTED RESULT

kteatime shoud persist across reboots.


SOFTWARE/OS VERSIONS

Operating System: Arch Linux
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.16.16-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i7 CPU M 620 @ 2.67GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics
Comment 1 Marco Parillo 2023-09-16 00:47:53 UTC
Confirmed. kteatime would re-appear in my system tray after each re-boot when running X-Windows, but does not re-appear under Wayland. After every re-boot on Wayland, I need to start kteatime. Most recent configuration:

KTeaTime Version 23.08.1

Operating System: Kubuntu 23.10
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.5.0-5-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i7-1185G7 @ 3.00GHz
Memory: 15.0 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: Dell Inc.
Product Name: Latitude 5420
Comment 2 Nicolas Fella 2023-09-17 16:35:37 UTC
KTeaTime is an application that needs to be started explicitly for the tray icon to appear.

It sounds like on X11 you are using session restore which then also restores KTeaTime. On Wayland we don't have session restore, so it's not restored on Wayland.

I'd suggest you add KTeaTime in the Autostart settings if you want it to be loaded at boot
Comment 3 Marco Parillo 2023-09-18 09:46:39 UTC
Thank you. I did not manually specify session restore, but perhaps it was the default (on two different distros). I will have a chance to test on at least one of them in the coming weeks.
Comment 4 Marco Parillo 2023-09-21 19:15:26 UTC
I just installed the Kubuntu Daily Build. The default on x11 Desktop Session Logout Screen was:
On login, launch apps that were open On last logout. 

When I logged out, and switched in SDDM the same default is shown in System Settings.
You are saying Wayland cannot honor that default?
Is that a bug in Wayland?
Comment 5 Marco Parillo 2023-10-22 18:17:25 UTC
So, is this a duplicate of https://bugs.kde.org/show_bug.cgi?id=436318