https://bugs.kde.org/show_bug.cgi?id=402634
--- Comment #7 from Oded Arbel <o...@geek.co.il> --- (In reply to Tiernan Hubble from comment #6) > you can see this > behaviour in Kate if you un-focus the Kate window and then open a new file > with "kate [file_name]" in a terminal. That seems like a deficiency in Kate (or in QCoreApplication?) - the trivial approach is to have the new process (the one you invoke by typing `kate` in the terminal), after it becomes active and determines that there's another window that should get the focus - to grab an activation token and pass it to the older Kate instance: it is quite obvious that the use would want to see the file editor immediately, so doing anything else is a bug. I love Kate, but this isn't my workflow so I won't work on that, but someone who is interested should definitely report that bug. > The problem with > yakuake is that it's not the currently-active application "passing" focus, > it's the hotkey. Unless there's some way in KGlobalAccel to do it? I'm currently on Wayland, and yakuake knows top open and activate its window when it is closed - I believe it is definitely the KGlobalAccel framework doing it, though I'm not sure how - tracing on Yakuake's `toggleWindow()` the calls comes from deep within Qt core, and I have no idea how KGlobalAccel work, but as it obviously does work - I'll chalk it up as "magic" and trust it :-D With the above merge request, the only thing that is still missing - for me - is why KGlobalAccel correctly activates an existing Yakuake app with a hidden window but not an existing Yakuake with a visible window. I think its is again something to do with Yakuake's over-reliance on KWindowSystem as a window abstraction layer - but as its Wayland implementation is basically "nothing to see here, move along", KWindowSystem is an abstraction layer for X11 only and for everything else you'd need the app to implement windowing support on its own. I'll try to figure that out. -- You are receiving this mail because: You are watching all bug changes.