Bug 393844 - Yakuake always opens regardless of preferences
Summary: Yakuake always opens regardless of preferences
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Session Management (show other bugs)
Version: 5.24.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
: 423163 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-05-04 13:43 UTC by kdesux
Modified: 2023-05-17 18:29 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 kdesux 2018-05-04 13:43:48 UTC
Yakuake is set to run at login. The option "Open window after program start" is disabled. However, Yakuake appears at every login and must be closed manually to see the whole desktop. The expected behavior is that Yakuake starts but does not present its window until invoked via the assigned key combo.
Comment 1 Eike Hein 2018-05-05 02:57:55 UTC
You're most likely starting Yakuake twice on logon (e.g. session restore and autostart). It opens when re-run while already running.
Comment 2 Patrick Silva 2018-05-05 14:29:08 UTC
cannot confirm such behavior on Arch Linux.
Yakuake starts at login but its window remains hidden until I press the shortcut to invoke it.

yakuake 3.0.5
plasma 5.12.5
Comment 3 kdesux 2018-05-28 10:21:54 UTC
Eike, I think you are right about the cause. I had not put the pieces together until your suggestion, but the conflict of autostart and session resume apparently affects multiple applications. For example, I have a similar issue with wpa_gui, which is in autostart with the parameters to start in tray only and show signal strength there, but on login I get a window labeled wpa_gui<2> and there are two tray icons, one showing signal level and the other not. I will try adding both yakuake and wpa_gui to the "Applications to be excluded from sessions". If this is indeed the solution, then I would suggest to properly fix this by automatically excluding any applications in autostart from sessions (something which I assumed would have been done already).
Comment 4 Eike Hein 2018-05-28 10:31:29 UTC
Yeah, this is a good idea. Unfortunately session management (auto-restart on logon, etc.) has been dreadfully neglected in Plasma for many years, it really needs fresh eyes and some work.
Comment 5 Claudius Ellsel 2018-11-30 18:16:50 UTC
I have the same issue, also note https://forum.manjaro.org/t/yakuake-and-online-accounts/2921

It really seems to be a problem with autostart and session restore.

Since this is a bad default behaviour: Should this be treated in Yakuake or in a session management package?

I'd be glad to be forwarded to a place where to create a corresponding issue then :)
Comment 6 Claudius Ellsel 2020-09-01 21:12:17 UTC
Interesting. Did not remember I already commented here two years ago :)

Now I come to this again since I experience this issue.

To me that only happens on X11. Can anybody confirm?

I also think that session-restore is somewhat broken on X11. So that might be the reason. Then also bug 423163 makes sense, where the broken session restore from the previous X11 session reaches into the afterwards started Wayland session.
Comment 7 Oded Arbel 2021-11-15 10:44:39 UTC
(In reply to Claudius Ellsel from comment #6)
> To me that only happens on X11. Can anybody confirm?

Happens to me on Wayland as well.

Moving to session management as this is clearly not a Yakuake issue (I'm imaging there can be a workaround deployed in Yakuake, but I don't think its the Right Thing).
Comment 8 Oded Arbel 2021-11-15 10:45:17 UTC
*** Bug 423163 has been marked as a duplicate of this bug. ***