SUMMARY Video linked at bottom. At using an applet when a window is fullscreened, the dock goes transparent before fading bake to the correct color. In addition, it correctly fades when a window is maximized, but when minimized, it doesnt have any fading. STEPS TO REPRODUCE 1. Use latte-dock as a top panel, latest version, color matching settings 2. Minimize a window or open an applet. Video here: https://drive.google.com/file/d/1V3QO5ELmnmaDWFV_ogC7J9EkmtyCe2aP/view?usp=sharing
send your layout file
sorry I can not find a way to improve this without breaking other things, feel free to contribute if you have a better way to handle it
(In reply to Michail Vourlakos from comment #2) > sorry I can not find a way to improve this without breaking other things, > feel free to contribute if you have a better way to handle it Why is it infeasible? What is causing the problem?
(In reply to Michail Vourlakos from comment #2) > sorry I can not find a way to improve this without breaking other things, > feel free to contribute if you have a better way to handle it And why did this not happen on Kubuntu, but does now on Manjaro?
Git commit 1f1188bfc8794786ddcbf1fd910c38059523c5ec by Michail Vourlakos. Committed on 23/06/2019 at 16:26. Pushed by mvourlakos into branch 'master'. improve painting between different backgrounds M +7 -3 containment/package/contents/ui/PanelBox.qml https://commits.kde.org/latte-dock/1f1188bfc8794786ddcbf1fd910c38059523c5ec
Plasma Themes do not support plenty of things for panel backgrounds (different colors, paint themselves etc). In order to overcome this and at the same time Latte to be able to provide the original Plasma experience it uses THREE different backgrounds that cooperate in order to make as smooth to the user as possible. The in question code is found at: https://phabricator.kde.org/source/latte-dock/browse/master/containment/package/contents/ui/PanelBox.qml 1. Background 1 is called (backgroundLowestRectangle) and it is responsible to provide full solidness for those plasma themes that DO NOT provide full solidness... There are plenty of plasma themes that the maximum opacity for the panel background is at 80% so the user can not make them fully solid 2. Background 2 is called (solidBackground) it is resposible to provide the plasma experience 3. Background 3 is called (overlayedBackground) it is responsible to provide all the rest Latte enhancements concerning painting... different colors for different windows etc... Feel free to play with it and provide patches if you are able to improve things without breaking functionality
(In reply to Michail Vourlakos from comment #6) > Plasma Themes do not support plenty of things for panel backgrounds > (different colors, paint themselves etc). In order to overcome this and at > the same time Latte to be able to provide the original Plasma experience it > uses THREE different backgrounds that cooperate in order to make as smooth > to the user as possible. > > The in question code is found at: > https://phabricator.kde.org/source/latte-dock/browse/master/containment/ > package/contents/ui/PanelBox.qml > > > 1. Background 1 is called (backgroundLowestRectangle) and it is responsible > to provide full solidness for those plasma themes that DO NOT provide full > solidness... There are plenty of plasma themes that the maximum opacity for > the panel background is at 80% so the user can not make them fully solid > 2. Background 2 is called (solidBackground) it is resposible to provide the > plasma experience > 3. Background 3 is called (overlayedBackground) it is responsible to provide > all the rest Latte enhancements concerning painting... different colors for > different windows etc... > > > Feel free to play with it and provide patches if you are able to improve > things without breaking functionality Correct me if I am wrong, (just so I know what I am going to do) Would it be possible to place a condition before animating the background to check if it is already darkened?
I am not sure