Bug 366726

Summary: KRunner always shows up under top panel
Product: [Plasma] krunner Reporter: Igor Poboiko <igor.poboiko>
Component: generalAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED WORKSFORME    
Severity: normal CC: clearmartin, mgraesslin
Priority: NOR    
Version: 5.7.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: A picture is better than a thousand words
Plasma 5.7.95 update

Description Igor Poboiko 2016-08-13 09:43:09 UTC
I have Plasma panel on the top edge of my screen, which is set to be "Always Visible".

When I press Alt+F2, KRunner always shows up right under it, also on the top edge. It gains focus and it is usable, however I just can't see what I'm typing.

Other windows (e.g. Chromium or Dolphin) respect that option (e.g when I maximize window).

Reproducible: Always
Comment 1 Igor Poboiko 2016-08-13 09:43:58 UTC
Created attachment 100575 [details]
A picture is better than a thousand words
Comment 2 Martin Flöser 2016-08-13 10:26:23 UTC
Reassigning to KRunner.

From KWin side there is not much we can do. KRunner uses the PlasmaShellSurface protocol to request a position. This is honored by KWin. The base assumption of the protocol is that the window knows what it does in a better way than KWin does.

I'm not exactly sure what we can do here. I see two general possibilities:
1) Ensure that KRunner will be opened on top of the Plasma panel
2) Make KRunner track window geometries and struts, that would probably require some more extensions to PlasmaWindowManagement to make struts announced and wrap it nicely in KWindowSystem

@Kai: what do you think?
Comment 3 Igor Poboiko 2016-09-18 11:43:40 UTC
Created attachment 101166 [details]
Plasma 5.7.95 update

Ping!

With Plasma 5.8 Beta 1 it's even worse: the KRunner window apparently became smaller and now it completely hides under the panel. It is even impossible to say whether it has shown up or not (apart from typing and hoping that it got the focus).
Comment 4 Igor Poboiko 2017-02-10 18:43:42 UTC
Apparently, this is not an issue anymore (checked with Plasma 5.9.1)
Comment 5 Martin Kostolný 2017-10-23 14:51:53 UTC
Hi! The exact same issue now happens in wayland session. X11 is fine. Should I open another ticket for that?
Comment 6 Martin Flöser 2017-10-23 15:22:52 UTC
(In reply to Martin Kostolný from comment #5)
> Hi! The exact same issue now happens in wayland session. X11 is fine. Should
> I open another ticket for that?

Yes, that is a different issue and requires some new counter measures.
Comment 7 Martin Kostolný 2017-10-23 15:40:51 UTC
Ticket for wayland related issue: https://bugs.kde.org/show_bug.cgi?id=386114