Bug 398257 - Weird Black Line Appears Above the Dock On Startup
Summary: Weird Black Line Appears Above the Dock On Startup
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: git (master)
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
: 424813 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-09-04 16:44 UTC by williamniu
Modified: 2020-12-31 16:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Black line flickers above the dock (176.75 KB, image/jpeg)
2018-09-04 16:44 UTC, williamniu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description williamniu 2018-09-04 16:44:27 UTC
Created attachment 114782 [details]
Black line flickers above the dock

On startup, when first hovering the cursor above the dock, a weird black line flickers for aboit half a second. I have am using the default settings. Please refer to the image.
Comment 1 Michail Vourlakos 2018-09-04 16:48:38 UTC
X11 issue because of its painting and Latte cant do something about it...
In Wayland you wont notice it...
Comment 2 Michail Vourlakos 2019-07-11 10:20:43 UTC
Reopening in order to keep a more visible tracking for this.

Concerning my last findings in my system this is produced when the View::Window::Geometry changes TOO much e.g. during startup OR view changing edge location.

What probably happens is that the window geometry changes and the window is masked before the entire window has been painted fully transparent from Qt. That points that this is a Qt+X11 issue, in wayland the issue does not appear.
Comment 3 Michail Vourlakos 2020-04-10 09:15:18 UTC
Some more info this produced when a not visible visible changes its size and afterwards reappears and updates its mask...

This is a necessity of course and so it is Qt and X11 responsibility to fix their implementation.
Comment 4 Michail Vourlakos 2020-07-30 05:32:36 UTC
*** Bug 424813 has been marked as a duplicate of this bug. ***
Comment 5 alenertz 2020-11-27 16:03:59 UTC
In Wayland-Session Latte-Dock is not affected by this graphical bug.In Plasma-Session this bug exists for TWO YEARS now.Still active today! So,there must be a REASON,why Latte-Dock is bugfree in Wayland and still present in Plasma-Session? The reason must be evident for KDE developpers,I suppose.So,You must automatically have the solution for Plasma-Session.Why don't you apply it then? I've found the solution for other bugs in KDE,thinking about it,experimenting or through the help of other users.I'm only ONE Bug away to installing Archlinux KDE on my main drive and this is the Latte-Dock bug.
Comment 6 Michail Vourlakos 2020-11-27 17:06:53 UTC
The solution is wayland. Wayland fixes the issue by design. The issue is not Latte fault under X11. Wayland was created to fix such issues.

Nonetheless because I see you have arguments and a way to approach a solution for X11, I will wait for your workaround/fix to be submitted at Latte kde gitlab.

The bug is open and not tagged upstream for the simple reason that was too much interest about it. 

So I can not fix this, if you can do any better, feel free to do so.
Comment 7 Michail Vourlakos 2020-12-27 00:21:30 UTC
finally I found a solution for X11 by accident.
Comment 8 trmdi 2020-12-27 01:00:51 UTC
(In reply to Michail Vourlakos from comment #7)
> finally I found a solution for X11 by accident.

Really nice. :)
Comment 9 Michail Vourlakos 2020-12-27 12:20:37 UTC
fixed in latest master version
Comment 10 trmdi 2020-12-28 02:39:52 UTC
(In reply to Michail Vourlakos from comment #7)
> finally I found a solution for X11 by accident.

Oh, this also fixes the glitch when hiding floating grap for maximized windows? I try it and it looks much better.
Comment 11 Michail Vourlakos 2020-12-28 07:36:38 UTC
(In reply to trmdi from comment #10)
> (In reply to Michail Vourlakos from comment #7)
> > finally I found a solution for X11 by accident.
> 
> Oh, this also fixes the glitch when hiding floating grap for maximized
> windows? I try it and it looks much better.

probably yes...
Window is keeping its visual painting area at all cases.
It is much cleaner.
Comment 12 Michail Vourlakos 2020-12-28 07:41:01 UTC
@trmdi I need a favor, is it possible to test a specific branch I will tell you?
Comment 13 Michail Vourlakos 2020-12-28 08:33:34 UTC
ok... fixed one two things, and then I merged in master the all NEW Parabolic Effect architecture.. Can you test it please?

1. You should not any difference
2. All Parabolic hacks are removed and the experience must be identical to plasma even when applets are zoomed, for example when hovering a zoomed Pager then hovering a desktop you notice the original plasma desktop hovering animation
Comment 14 trmdi 2020-12-28 11:41:40 UTC
(In reply to Michail Vourlakos from comment #12)
> @trmdi I need a favor, is it possible to test a specific branch I will tell
> you?

No problem, I am using the git version.
Comment 15 Michail Vourlakos 2020-12-28 12:22:02 UTC
(In reply to trmdi from comment #14)
> (In reply to Michail Vourlakos from comment #12)
> > @trmdi I need a favor, is it possible to test a specific branch I will tell
> > you?
> 
> No problem, I am using the git version.

It is now in master version, the new parabolic effect approach.
Comment 16 trmdi 2020-12-29 03:37:53 UTC
(In reply to Michail Vourlakos from comment #15)
> (In reply to trmdi from comment #14)
> > (In reply to Michail Vourlakos from comment #12)
> > > @trmdi I need a favor, is it possible to test a specific branch I will tell
> > > you?
> > 
> > No problem, I am using the git version.
> 
> It is now in master version, the new parabolic effect approach.

Build failed on Leap: https://build.opensuse.org/package/live_build_log/home:trmdi/latte-dock/openSUSE_Leap_15.2/x86_64
Comment 17 Michail Vourlakos 2020-12-29 05:41:27 UTC
fixed
Comment 19 Michail Vourlakos 2020-12-31 15:02:24 UTC
fixed.. all these are just missing headers...
Comment 20 trmdi 2020-12-31 15:13:40 UTC
(In reply to Michail Vourlakos from comment #13)
> when applets are zoomed, for example when hovering a zoomed
> Pager then hovering a desktop you notice the original plasma desktop
> hovering animation

I don't understand this. The zoom effect is always disabled on the Activities Pager widget. Is it an intention?
Comment 21 Michail Vourlakos 2020-12-31 16:27:34 UTC
No, parabolic effect requires applets to be a bit in square for. Set its layout to vertical to become parabolicable.