Bug 419419 - [feature] - per applet background
Summary: [feature] - per applet background
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Plasma
Component: plasmoid (show other bugs)
Version: git (master)
Platform: Kubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-30 14:56 UTC by Thomas
Modified: 2020-05-16 08:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas 2020-03-30 14:56:49 UTC
This is not a bug, but it was the only way I found to get in touch, I found this link in the comments on the Latte Dock page on the KDE Store, if you have a more suitable place, please inform.

Hello Psifidotos, first of all I would like to congratulate and thank you for one of your best works, which is the Latte Dock, the Swiss army knife of the docks!

Plasma with Latte Dock is more beautiful, flexible, productive and functional, with it you can create the main layouts of the most famous operating systems, as well as create unique and original layouts!

A layout that is very successful on the internet is the video "Re-imagining the Windows Experience" (https://youtu.be/8kmyWVnmjwQ), what strikes me the most is its modular panel, I would love to be able To do this with the Latte Dock, I thought that maybe you can create a new type of separator, this one with the objective of separating the background of the dock, but still being a single dock.

I'm not a programmer, so I apologize for my reasoning about how I think the delimitation of the dock's background works.

The Plasma theme uses an SVG file, the background is a rectangle made up of a total of 9 parts, treating these as columns, we have 3 parts composing the left side column, 3 parts for the central and 3 parts for the column right side, to draw the left side of the dock, Latte should consider doing this on the left side of the first applet of the dock, then filling the entire dock with the center column and finishing by drawing the right side on the right side of the last applet .

When creating this new tab, it would have the function of informing Latte that at the point where it is in the dock, when drawing the background, the left of the separator, it would draw the right side of the background and the right of the separator would draw the left side.

It would be interesting if the user could define the width of the separator (px), I believe that for this you can use the logic of your applet "Latte Spacer".

Thanks for your attention, have a great day.
Comment 1 Michail Vourlakos 2020-03-30 15:17:54 UTC
Too difficult to implement.

Easiest way to support is to choose that layout and then ALL applets would gain their own background. The separation between them could be achieved through the Items external margin in Appearance page.

BUT I have not thought how to solve the Blur issue... It is too difficult to calculate properly the blurred QRegion at per applet basis and at the same time combine all blurred areas into a single QRegion element. 

So that is a feature request so I will leave it open and see how it goes. Personally I don't have much motivation for it.
Comment 2 Michail Vourlakos 2020-03-30 15:20:26 UTC
In a imaginary world the user could choose Background Style as : Full, Per Area, Per Applet
Comment 3 Michail Vourlakos 2020-04-28 21:10:23 UTC
Rethinking about this... Why the user shouldn't use the Latte Dock 0.10 multiple panels in the same edge?

So this is already solvable with Latte v0.10.

The user can add multiple panels at the bottom edge and set their minimum and maximum lengths accordingly in order to succeed on that layout.
Comment 4 Michail Vourlakos 2020-05-16 08:01:07 UTC
is not going to be supported...

Latte panels implementation has been vastly improved.. The user can use multiple Latte panels in order to succeed in this.