Bug 385882 - Yakuake Wayland: when launching Yakuake the second time it appears in the middle of the screen
Summary: Yakuake Wayland: when launching Yakuake the second time it appears in the mid...
Status: REOPENED
Alias: None
Product: yakuake
Classification: Applications
Component: general (show other bugs)
Version: 3.0.4
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords: wayland
: 389739 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-10-17 20:39 UTC by joergister
Modified: 2024-12-24 15:05 UTC (History)
16 users (show)

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


Attachments
Yakuake having it lauched the second time in a Plasma-Wayland session (437.69 KB, image/png)
2017-10-17 20:39 UTC, joergister
Details
yakuake-on-wayland-f33 (2.28 MB, image/png)
2021-02-01 09:39 UTC, Gurenko Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description joergister 2017-10-17 20:39:26 UTC
Created attachment 108414 [details]
Yakuake having it lauched the second time in a Plasma-Wayland session

When using Yakuake under a Plasma-Wayland session something strange happens:
after having Yakuake started and launched the first time everything seems alright. But when launching it the second time something strange happens:
It doesn't appear as expected at the top of the screen but right in the middle of it. I still can use it for usual terminal work but it is just strange. 
The Attachment shows the problem.
I'm using KDE-Neon User Edition with the Plasma 5.11.1 desktop, KDE-Frameworks-Version 5.39.0
Qt-Version 5.9.1
Kernel-Version 4.10.0-37-gereric
On an old Think-Pad T420
Comment 1 Espen Fossen 2017-10-25 07:07:44 UTC
I have something simular. First run looks good, in the top middle, but from that on all openings of the window moves to the top left of the screen. 

If you try to change yakuake window size via Shift-Alt left/right arrows, the resize will actually reposition the window to the correct top middle location with new size. But if I close the window and repoing it again, it moves back the incorrect top left position.
Comment 2 Espen Fossen 2017-10-27 10:33:29 UTC
Found another problem now. If there is an notifiaction window present at the time of opening Yakuake, the top of the window will be placed right below the bottom of the notifiaction window. Is is still left of the screen.
Comment 3 joergister 2017-11-08 20:24:07 UTC
Im working around this "appearing of the terminal in the middle of the screen" by making it full screen. This is less annoying. Also it keeps on being full-screen under wayland. Even when I launch minimize it and then launch it again, it is still full-screen which is not the case under X.
Comment 4 Arthur Schiwon 2017-11-10 19:12:02 UTC
Also similar strange behaviour (from Arch packages): first time it is almost okay,  it starts too high, first 2½ lines are behind my the panel (it's on the top), subsequentially the height is OK, however it is not centered anymore, but on the left edge.
Comment 5 joergister 2017-11-11 20:44:53 UTC
(In reply to Arthur Schiwon from comment #4)
> Also similar strange behaviour (from Arch packages): first time it is almost
> okay,  it starts too high, first 2½ lines are behind my the panel (it's on
> the top), subsequentially the height is OK, however it is not centered
> anymore, but on the left edge.

checked whether I have this problem aswell and it tourned out I have. I didnt notice before.
Comment 6 Eugene 2018-02-06 23:56:11 UTC
I confirming it. Also when to start it the first time, the kickoff panel overlaps the yakuake window.
Comment 7 Eugene 2018-02-06 23:57:37 UTC
(In reply to Eugene from comment #6)
> I confirming it. Also when to start it the first time, the kickoff panel
> overlaps the yakuake window.

It happens when kickoff panel is situated at top of the screen.
Comment 8 Raman Gupta 2019-01-08 19:08:46 UTC
Similar issues here.
Comment 9 Claudius Ellsel 2020-09-01 21:20:21 UTC
*** Bug 389739 has been marked as a duplicate of this bug. ***
Comment 10 Claudius Ellsel 2020-09-01 21:21:24 UTC
Is this still happening for any of you with current versions? Also reports where it got fixed in the meantime are helpful.
Comment 11 Eugene 2020-09-15 20:13:18 UTC
Currently it is not appears in the middle but overlapped by task bar. Created another one report.
Comment 12 Claudius Ellsel 2020-10-01 17:15:28 UTC
Changing to resolved fixed after that report. Hopefully that one is representative of the behavior also on other systems.

Please reopen if any of you is still experiencing this.
Comment 13 Alexander Potashev 2020-10-01 17:44:12 UTC
(In reply to Eugene from comment #11)
> Currently it is not appears in the middle but overlapped by task bar.
> Created another one report.

Hi Eugene,

With what versions of Plasma and Yakuake did you test?
Comment 14 Gurenko Alex 2021-02-01 09:39:57 UTC
Created attachment 135345 [details]
yakuake-on-wayland-f33

 I still have exactly this problem on Fedora 33 KDE (Plasma 5.20.5) on both my Desktop (Ryzen + RX 5700XT) and laptop (Intel + Intel UHD).
 The overlap issue is also happening on my Pinebook Pro with Manjaro (on wayland).
Comment 15 Gurenko Alex 2021-03-30 09:42:52 UTC
So, it's still happening with latest packages on F34 KDE Beta, with Plasma 5.21.3, KF 5.80 and Yakuake version 20.12.2. Both on AMD GPU and Intel GPU. As Plasma now defaults to Wayland in Fedora, this is now a bigger problem
Comment 16 Aurélien 2021-05-21 21:57:31 UTC
Same problem here under Fedora 34:
 - yakuake 20.12.2
 - plasma 5.21.5
 - kde framework 5.81.0

This is *really* annoying.. we can't work with it..
Comment 17 Carlos Castro 2021-10-20 02:56:53 UTC
Just wanted to report the issue still occurs on Fedora 35

Yakuake Version 21.08.0
Plasma Version 5.22.5
KDE Frameworks Version 5.87.0

This is on a Lenovo TP T14S with AMD Ryzen 7 Pro with integrated graphics
Comment 18 Firestar-Reimu 2024-03-19 13:30:27 UTC
https://imgur.com/a/iMqdXEb This issue has not fixed. Happen on Plasma 6.0.2 + yakuake 24.02.0 + Wayland
Comment 19 Nicolas Fella 2024-03-19 23:47:25 UTC
I cannot directly reproduce the problem.

Yakuake uses the plasma-shell Wayland protocol for positioning on Wayland. Based on the symptoms I suspect that is going wrong.

When I comment out https://invent.kde.org/utilities/yakuake/-/blob/master/app/mainwindow.cpp?ref_type=heads#L168 so that m_plasmaShell is never initialized Yakuake indeed appears in the middle of the screen (which is an artifact of the default 'Centered' window placement policy)
Comment 20 Firestar-Reimu 2024-03-20 05:34:56 UTC
According to me, this issue does not appear every time.
Comment 21 kdebugsq 2024-12-24 15:05:40 UTC
This is happening to me 100% of the time.


Operating System: Arch Linux 
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.4-arch1-1 (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon 780M