Bug 446951 - App windows go below the left panel all the time
Summary: App windows go below the left panel all the time
Status: RESOLVED INTENTIONAL
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:
Depends on:
Blocks:
 
Reported: 2021-12-13 21:26 UTC by yamiyukisenpai
Modified: 2021-12-14 15:25 UTC (History)
0 users

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


Attachments
Latte file (17.01 KB, text/plain)
2021-12-13 21:26 UTC, yamiyukisenpai
Details
Panel on the left (268.53 KB, image/png)
2021-12-13 21:28 UTC, yamiyukisenpai
Details
Panel on the right (293.74 KB, image/png)
2021-12-13 21:28 UTC, yamiyukisenpai
Details
Different device Latte panel on the left (205.40 KB, image/png)
2021-12-13 22:26 UTC, yamiyukisenpai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yamiyukisenpai 2021-12-13 21:26:16 UTC
Created attachment 144522 [details]
Latte file

SUMMARY
The left panel always appear on top of app windows, not beside it.  If I move the same panel  to right, it works fine.

STEPS TO REPRODUCE
1. Create a panel on the left side
2. Move the panel to the right

OBSERVED RESULT
Left panel - app windows always go below
Right panel - app windows work as expected - beside them

EXPECTED RESULT
It should act the same when the panel is at the right.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Testing Edition
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.3
Kernel Version: 5.15.5-76051505-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6500 CPU @ 3.20GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2

ADDITIONAL INFORMATION
I have a multi-monitor setup with a1080p and a 1440p display.  Screenshot is from 1080p
Comment 1 yamiyukisenpai 2021-12-13 21:28:06 UTC
Created attachment 144523 [details]
Panel on the left

This screenshot shows that the left panel is on top of the app window.  It won't move the window beside the panel.
Comment 2 yamiyukisenpai 2021-12-13 21:28:48 UTC
Created attachment 144524 [details]
Panel on the right

How it should be
Comment 3 yamiyukisenpai 2021-12-13 21:30:29 UTC
The version of Latte on Neon Testing repo is 0.10.4+p20.04+tstable+git20211213.0037-0
Comment 4 Michail Vourlakos 2021-12-13 21:56:24 UTC
Maybe your left panel  is between your two monitors?
In my system with a single screen your left panel works fine with no issues.
Comment 5 Michail Vourlakos 2021-12-13 21:56:38 UTC
waiting feedback
Comment 6 yamiyukisenpai 2021-12-13 22:00:44 UTC
(In reply to Michail Vourlakos from comment #4)
> Maybe your left panel  is between your two monitors?
> In my system with a single screen your left panel works fine with no issues.

That thought occurred, but not sure how to check?

i tried to put a gap between 2 displays in System Settings, but didn't work.
Comment 7 yamiyukisenpai 2021-12-13 22:03:52 UTC
FYI, ain't fixed
Comment 8 Michail Vourlakos 2021-12-13 22:06:55 UTC
(In reply to techxgames from comment #6)
> (In reply to Michail Vourlakos from comment #4)
> > Maybe your left panel  is between your two monitors?
> > In my system with a single screen your left panel works fine with no issues.
> 
> That thought occurred, but not sure how to check?
> 
> i tried to put a gap between 2 displays in System Settings, but didn't work.

It wont work, that was introduced between 0.10.4 and 0.10.5 . Plasma is already doing this for its panels under x11. The issue is that if the panel is between your two monitors KWin does not provide a nice user experience. Dragging windows from their titlebars between the two monitors does not work and maximizing windows at the first monitor that does not contain  panels is also broken.

The code checks is there is a monitor left to a left panel so it wont let you having that case enabled. 

1. Is this your first time trying Latte?
2. With previous Latte versions your multi screen setup was working ok without the previous mentioned issues?
3. Dont you get the same behavior if you use a left plasma panel?
Comment 9 yamiyukisenpai 2021-12-13 22:11:04 UTC
(In reply to Michail Vourlakos from comment #8)
> (In reply to techxgames from comment #6)
> > (In reply to Michail Vourlakos from comment #4)
> > > Maybe your left panel  is between your two monitors?
> > > In my system with a single screen your left panel works fine with no issues.
> > 
> > That thought occurred, but not sure how to check?
> > 
> > i tried to put a gap between 2 displays in System Settings, but didn't work.
> 
> It wont work, that was introduced between 0.10.4 and 0.10.5 . Plasma is
> already doing this for its panels under x11. The issue is that if the panel
> is between your two monitors KWin does not provide a nice user experience.
> Dragging windows from their titlebars between the two monitors does not work
> and maximizing windows at the first monitor that does not contain  panels is
> also broken.
> 
> The code checks is there is a monitor left to a left panel so it wont let
> you having that case enabled. 
> 
> 1. Is this your first time trying Latte?
Nope.  Been using it for years.
> 2. With previous Latte versions your multi screen setup was working ok
> without the previous mentioned issues?
Yes.  This only happened today after I updated Latte around midnight
> 3. Dont you get the same behavior if you use a left plasma panel?
You mean the right?  That one's perfectly fine.
Comment 10 yamiyukisenpai 2021-12-13 22:26:54 UTC
Created attachment 144525 [details]
Different device Latte panel on the left

This screenshot is from my laptop running on Kubuntu 21.10.  This one has an external monitor on the left side

Operating System: Kubuntu 21.10
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.13.0-22-generic (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-10510U CPU @ 1.80GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Comment 11 Michail Vourlakos 2021-12-13 22:30:06 UTC
> > 3. Dont you get the same behavior if you use a left plasma panel?
> You mean the right?  That one's perfectly fine.

4. No I mean the left, if you replace your in-question left latte panel with an AlwaysVisible plasma panel, dont you have the same issue?
5. Show me a screenshot of your screens layout please
6. In the past that you did not have that issue how did you move windows between the two screens? with a mouse? dragging titlebar?
7. Are you using KWin as your window manager?
Comment 12 Michail Vourlakos 2021-12-13 22:31:36 UTC
(In reply to techxgames from comment #10)
> Created attachment 144525 [details]
> Different device Latte panel on the left
> 

I suppose you have not updated Latte yet in that laptop. The commit in question is this one: https://invent.kde.org/plasma/latte-dock/-/commit/80fa1022a57f5cdb41a6d40e1603987034095098
Comment 13 yamiyukisenpai 2021-12-13 22:34:02 UTC
(In reply to Michail Vourlakos from comment #12)
> (In reply to techxgames from comment #10)
> > Created attachment 144525 [details]
> > Different device Latte panel on the left
> > 
> 
> I suppose you have not updated Latte yet in that laptop. The commit in
> question is this one:
> https://invent.kde.org/plasma/latte-dock/-/commit/
> 80fa1022a57f5cdb41a6d40e1603987034095098

Latte is on 0.10.4 on Kubuntu.  I guess Latte on Neon is using Git?
Comment 14 yamiyukisenpai 2021-12-13 22:34:23 UTC
(In reply to techxgames from comment #13)
> (In reply to Michail Vourlakos from comment #12)
> > (In reply to techxgames from comment #10)
> > > Created attachment 144525 [details]
> > > Different device Latte panel on the left
> > > 
> > 
> > I suppose you have not updated Latte yet in that laptop. The commit in
> > question is this one:
> > https://invent.kde.org/plasma/latte-dock/-/commit/
> > 80fa1022a57f5cdb41a6d40e1603987034095098
> 
> Latte is on 0.10.4 on Kubuntu.  I guess Latte on Neon is using Git?

* Neon Testing
Comment 15 Michail Vourlakos 2021-12-13 22:37:19 UTC
(In reply to techxgames from comment #14)
> (In reply to techxgames from comment #13)
> > (In reply to Michail Vourlakos from comment #12)
> > > (In reply to techxgames from comment #10)
> > > > Created attachment 144525 [details]
> > > > Different device Latte panel on the left
> > > > 
> > > 
> > > I suppose you have not updated Latte yet in that laptop. The commit in
> > > question is this one:
> > > https://invent.kde.org/plasma/latte-dock/-/commit/
> > > 80fa1022a57f5cdb41a6d40e1603987034095098
> > 
> > Latte is on 0.10.4 on Kubuntu.  I guess Latte on Neon is using Git?
> 
> * Neon Testing

Neon testing is using the latest of the latest from the stable branch. That commit is part of the upcoming Latte 0.10.5
Comment 16 Michail Vourlakos 2021-12-14 15:25:20 UTC
tested this with x11. The fix is so important that must say. In multimonitor setup with kwin under x11 docks and panels between screens should not set struts in any case... Windows are disappearing, moving windows is crazy faulty at the screen that does not contain the mentioned panel.