Bug 442524 - Widgets/menus are placed incorrectly and windows cannot move beyond some invisible bounds after connecting a second screen
Summary: Widgets/menus are placed incorrectly and windows cannot move beyond some invi...
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Unmaintained
Component: application (other bugs)
Version First Reported In: 0.10.4
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
: 433561 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-09-16 14:02 UTC by Riccardo Robecchi
Modified: 2022-02-12 15:09 UTC (History)
1 user (show)

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


Attachments
Latte Dock log (38.40 KB, text/x-log)
2021-12-15 15:50 UTC, Riccardo Robecchi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Riccardo Robecchi 2021-09-16 14:02:03 UTC
SUMMARY
It seems like KWin has issues with placing windows on a second screen. My setup uses X and two screens with identical resolution (1080p), one is the laptop's screen and the second is an external monitor, connected through a USB-C docking station and a DisplayPort to HDMI cable. It is on top of the laptop's screen, both physically and in the settings.
When I connect the monitor, KWin correctly detects it and shows windows on it, but those windows appear to be placed incorrectly. As an example, the application launcher opens in the centre of the screen instead of the left corner where the related button is. Windows then appear not to be able to move around the laptop's screen correctly, as if there was an invisible border.
Restarting KWin makes the issue go away.

STEPS TO REPRODUCE
1. Connect an external screen.

OBSERVED RESULT
Windows and widgets are not placed correctly and behave weirdly.

EXPECTED RESULT
Windows and widgets work normally.

SOFTWARE/OS VERSIONS
Linux: KDE neon
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Riccardo Robecchi 2021-12-15 15:50:59 UTC
Created attachment 144575 [details]
Latte Dock log

I am moving this issue from KWin to Latte as I found out that the issue, which I initially thought was stemming from KWin, is actually from Latte Dock. Whenever I encounter the issue, quitting Latte makes things work as they should, which is quite a clear indication that the issue stems from Latte.
I am attaching a log from Latte.
Comment 2 Michail Vourlakos 2021-12-15 19:52:09 UTC
my guess is that this will be fixed with upcoming 0.10.5 from commit: https://invent.kde.org/plasma/latte-dock/-/commit/ca83433ce0a2bf67decb66bc9e0620830c9884a4
Comment 3 Riccardo Robecchi 2021-12-16 09:48:16 UTC
(In reply to Michail Vourlakos from comment #2)
> my guess is that this will be fixed with upcoming 0.10.5 from commit:
> https://invent.kde.org/plasma/latte-dock/-/commit/
> ca83433ce0a2bf67decb66bc9e0620830c9884a4

Thank you for your help, Michail! I will test this once it's out.
Comment 4 Michail Vourlakos 2021-12-18 09:48:59 UTC
is it fixed with 0.10.5?
Comment 5 Riccardo Robecchi 2021-12-21 19:51:13 UTC
(In reply to Michail Vourlakos from comment #4)
> is it fixed with 0.10.5?

I was only able to test it today with version 10.6. It does indeed fix the issue, thanks!
Comment 6 Riccardo Robecchi 2022-02-12 15:09:47 UTC
*** Bug 433561 has been marked as a duplicate of this bug. ***