Bug 404483 - Multicolor works wrong when Im using Active Screen Corners and Edges to show desktop
Summary: Multicolor works wrong when Im using Active Screen Corners and Edges to show ...
Status: RESOLVED DUPLICATE of bug 404773
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-17 16:42 UTC by Jacobtey
Modified: 2019-02-24 14:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
When I move cursor to the corner to show desktop (1.42 MB, image/png)
2019-02-17 19:18 UTC, Jacobtey
Details
When I just minimize a window (works properly) (801.60 KB, image/png)
2019-02-17 19:21 UTC, Jacobtey
Details
Appearance #1 (35.72 KB, image/png)
2019-02-17 19:23 UTC, Jacobtey
Details
Appearance #2 (31.84 KB, image/png)
2019-02-17 19:24 UTC, Jacobtey
Details
v0.8.5 (191.21 KB, image/png)
2019-02-19 08:13 UTC, Jacobtey
Details
v0.8.6 (214.53 KB, image/png)
2019-02-19 08:14 UTC, Jacobtey
Details
systemsettings (258.29 KB, image/png)
2019-02-20 17:23 UTC, Jacobtey
Details
Appearance new (57.34 KB, image/png)
2019-02-20 22:05 UTC, Jacobtey
Details
background (507.82 KB, image/png)
2019-02-20 22:17 UTC, Jacobtey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jacobtey 2019-02-17 16:42:11 UTC
SUMMARY


STEPS TO REPRODUCE
1. I move the cursor to the active corner
2. Desktop is shown. 

OBSERVED RESULT
Color of latte panels doesn't changed to transparnt

EXPECTED RESULT
Color of latte panels should be changed to transparnt  when windows are closed not only by buttons but also by active corner showing desktop

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro Linux 18.0.2 Illyria 4.14.101-1 x86_64 
KDE Plasma Version: 5.15.0
KDE Frameworks Version:  5.55.0
Qt Version: 5.12.1

ADDITIONAL INFORMATION
Comment 1 Michail Vourlakos 2019-02-17 17:35:37 UTC
1. show me a screenshot of the issue
2. show me a screenshot of your Appearance settings
Comment 2 Jacobtey 2019-02-17 19:18:32 UTC
Created attachment 118159 [details]
When I move cursor to the corner to show desktop
Comment 3 Jacobtey 2019-02-17 19:21:43 UTC
Created attachment 118160 [details]
When I just minimize a window (works properly)
Comment 4 Jacobtey 2019-02-17 19:23:24 UTC
Created attachment 118161 [details]
Appearance #1
Comment 5 Jacobtey 2019-02-17 19:24:06 UTC
Created attachment 118162 [details]
Appearance #2
Comment 6 Michail Vourlakos 2019-02-17 19:56:09 UTC
You are not using Latte git version, you are using probably v0.8 branch

this issue does not exist in git version and I am so sorry but I can not find a small fix for v0.8 branch...
Comment 7 Jacobtey 2019-02-18 02:25:34 UTC
Multicolor feature is in v0.8 at first time special for plasma 5.15. What is git virsion?
Comment 8 Jacobtey 2019-02-19 08:13:21 UTC
Created attachment 118193 [details]
v0.8.5
Comment 9 Jacobtey 2019-02-19 08:14:18 UTC
Created attachment 118194 [details]
v0.8.6
Comment 10 Jacobtey 2019-02-20 08:16:54 UTC
See screencast https://youtu.be/GCqptYLQoxw
Comment 11 Michail Vourlakos 2019-02-20 08:22:37 UTC
git version is the one in development from master branch, it can be called as git master version until becomes the upcoming stable release v0.9

with git version you can get https://www.youtube.com/watch?v=8hcfpWNLL2M

that issue can not be reproduced from git version

for example under Arch git version can  be found at https://aur.archlinux.org/packages/latte-dock-git/
Comment 12 Jacobtey 2019-02-20 10:13:46 UTC
Well, lattedock 0.8.75 is build from git. It seems that we are each other just misunderstood. Okay, I wait until release of version 0.9, for sure.
Comment 13 Michail Vourlakos 2019-02-20 10:25:38 UTC
(In reply to Jacobtey from comment #12)
> Well, lattedock 0.8.75 is build from git. It seems that we are each other
> just misunderstood. Okay, I wait until release of version 0.9, for sure.

Are you using 0.8.75?
Comment 14 Jacobtey 2019-02-20 14:37:51 UTC
(In reply to Michail Vourlakos from comment #13)
> Are you using 0.8.75?

Installed from AUR latte-dock -v gets me 0.8.75
Comment 15 Michail Vourlakos 2019-02-20 16:05:33 UTC
(In reply to Jacobtey from comment #14)
> (In reply to Michail Vourlakos from comment #13)
> > Are you using 0.8.75?
> 
> Installed from AUR latte-dock -v gets me 0.8.75

how can I produce this then? 

your first [1] and [2] steps didnt work for me, do I have to do something more?
Comment 16 Jacobtey 2019-02-20 17:22:11 UTC
Systemsettings -> Workspace -> Desktop Behavior -> Screen Edges -> Show Desktop (for right bottom corner)
Comment 17 Jacobtey 2019-02-20 17:23:45 UTC
Created attachment 118222 [details]
systemsettings
Comment 18 Jacobtey 2019-02-20 17:35:46 UTC
And pay attention to attachments 0.8.5 and 0.8.6. The resulting changes are not associated with plasma's active edges.
Or I should create a new bugreport for it?
Comment 19 Michail Vourlakos 2019-02-20 19:54:39 UTC
Can you provide a video with the issue and upload it at Dropbox or Google drive?
Comment 20 Jacobtey 2019-02-20 20:21:30 UTC
https://www.youtube.com/watch?v=GCqptYLQoxw
Comment 21 Michail Vourlakos 2019-02-20 20:31:34 UTC
1. something is very strange in your system, it looks as if compositing is NOT enabled there are no animations from kwin
2. [screenshot] from plasma systemsettings -> display and monitor -> Compositor
3. [screenshot] from top panel -> Appearance advanced settings. I am interested for Colors and Background sections
Comment 22 Michail Vourlakos 2019-02-20 20:33:37 UTC
forget [1]-[3] I manage to reproduce...

it happens only when there is a maximized window and afterward we try to show desktop correct ?
Comment 23 Michail Vourlakos 2019-02-20 20:53:41 UTC
Git commit c6178e58bde07324ced5db91ecaf08abee90b852 by Michail Vourlakos.
Committed on 20/02/2019 at 20:52.
Pushed by mvourlakos into branch 'master'.

only touching windows at DynamicBackground criteria

--at the same time disable Blur for isBusy state of
panel drawing

M  +1    -2    containment/package/contents/ui/VisibilityManager.qml
M  +4    -5    containment/package/contents/ui/main.qml

https://commits.kde.org/latte-dock/c6178e58bde07324ced5db91ecaf08abee90b852
Comment 24 Jacobtey 2019-02-20 20:57:37 UTC
(In reply to Michail Vourlakos from comment #21)
> 1. something is very strange in your system, it looks as if compositing is
> NOT enabled there are no animations from kwin
> 2. [screenshot] from plasma systemsettings -> display and monitor ->
> Compositor
> 3. [screenshot] from top panel -> Appearance advanced settings. I am
> interested for Colors and Background sections

I turned off the compositing while recording screencast, to save resources

(In reply to Michail Vourlakos from comment #21)
> 1. something is very strange in your system, it looks as if compositing is
> NOT enabled there are no animations from kwin
> 2. [screenshot] from plasma systemsettings -> display and monitor ->
> Compositor
> 3. [screenshot] from top panel -> Appearance advanced settings. I am
> interested for Colors and Background sections

I turned off the compositing while recording screencast, to save resources
Comment 25 Jacobtey 2019-02-20 20:58:54 UTC
(In reply to Michail Vourlakos from comment #22)
> forget [1]-[3] I manage to reproduce...
> 
> it happens only when there is a maximized window and afterward we try to
> show desktop correct ?

sure
Comment 26 Jacobtey 2019-02-20 22:05:47 UTC
Created attachment 118237 [details]
Appearance new
Comment 27 Jacobtey 2019-02-20 22:15:20 UTC
(In reply to Jacobtey from comment #18)
> And pay attention to attachments 0.8.5 and 0.8.6. The resulting changes are
> not associated with plasma's active edges.
> Or I should create a new bugreport for it?

What should i do with this? I suddenly found out that this is a special case of another global problem. If you open  NOT maximized window over another maximized one, the panel background disappears
Comment 28 Jacobtey 2019-02-20 22:17:14 UTC
Created attachment 118238 [details]
background
Comment 29 Michail Vourlakos 2019-02-20 22:44:33 UTC
(In reply to Jacobtey from comment #27)
> (In reply to Jacobtey from comment #18)
> > And pay attention to attachments 0.8.5 and 0.8.6. The resulting changes are
> > not associated with plasma's active edges.
> > Or I should create a new bugreport for it?
> 
> What should i do with this? I suddenly found out that this is a special case
> of another global problem. If you open  NOT maximized window over another
> maximized one, the panel background disappears

yes open a new bug report for this because it needs to be discussed, concerning what colors should be shown in that case.
Comment 30 Jacobtey 2019-02-23 20:11:51 UTC
Problem back after fixing bug 404745
Comment 31 Michail Vourlakos 2019-02-23 20:51:39 UTC
Git commit 903988ff7133a5f123f80a2ca80b8058b16bc4e2 by Michail Vourlakos.
Committed on 23/02/2019 at 20:50.
Pushed by mvourlakos into branch 'master'.

identify correctly touching flags with kwin effects

-- KWin Effects such as ShowDesktop have no way to be identified and as such
create issues with identifying properly touching and maximized windows. BUT when
they are enabled then NO ACTIVE window is found. This is a way to identify these
effects trigerring and disable the touch flags.

M  +39   -16   app/view/windowstracker.cpp
M  +1    -0    app/view/windowstracker.h

https://commits.kde.org/latte-dock/903988ff7133a5f123f80a2ca80b8058b16bc4e2
Comment 32 Michail Vourlakos 2019-02-24 06:55:10 UTC
I reverted this... The hack returns many false identifications. This is a KWin limitation and I think in wayland it may be already fixed because windows are always updating the geometries even while they are dragged.

I will leave it open until I forward a new bug report to KWin for technical advice
Comment 33 Michail Vourlakos 2019-02-24 14:53:08 UTC

*** This bug has been marked as a duplicate of bug 404773 ***