Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AcrylicBrush does not work for docklike #140

Open
berkesalar opened this issue Nov 21, 2024 · 8 comments
Open

AcrylicBrush does not work for docklike #140

berkesalar opened this issue Nov 21, 2024 · 8 comments

Comments

@berkesalar
Copy link

I try to apply the Acrylic effect to the taskbar background, but whatever I try it does not work

@berkesalar
Copy link
Author

I really dislike the guide here, it doesnt give a target or examples of a target. Really frustrating to use

@SandTechStuff
Copy link

DockLike uses different targets from my testing, try this:

Target: Windows.UI.Xaml.Controls.Grid#RootGrid

Styles: Background:=<AcrylicBrush TintColor="Black" TintOpacity="0"/>

image

@SandTechStuff
Copy link

@m417z Since this question has come up twice now (#127), maybe something should be added to the README to prevent further confusion?

@m417z
Copy link
Member

m417z commented Nov 22, 2024

I don't understand, all this information is readily accessible in the guide, including targets, how to find them, colors, taskbar background, and setting acrylic.
[...]

image

[...]

From what I understand, the main confusion here is that for the default taskbar and for most themes, Rectangle#BackgroundFill is the target for customizing the taskbar background, but that doesn't work for DockLike which hides this element.

I added a note in the relevant section in the readme:

image

@berkesalar
Copy link
Author

berkesalar commented Nov 23, 2024

I should've been more clear in my problem description.

I have gone over all the targets listed below, found with UWspy as per the guide, trying to apply specifically the acrylic brush :

->Taskbar.TaskbarFrame
->Windows.UI.Xaml.Controls.Grid
->Taskbar.TaskbarBackground#BackgroundControl
->Windows.UI.Xaml.Shapes.Rectangle
->Windows.UI.Xaml.Shapes.Rectangle#BackgroundFill
->Windows.UI.Xaml.Controls.Grid#RootGrid

The issue I'm encountering is that either the taskbar is completely black, or its completely translucent. Which oddly only occurs when applying the acrylicbrush as either:

-> Background:=<AcrylicBrush TintColor="Black" TintOpacity="0.5"/>
-> Fill:=<AcrylicBrush TintColor="Black" TintOpacity="0.5"/>

I could perhaps think of 4 issues:
-> Interference from some other program such as Wallpaper Engine (I have tried to disable this to no avail)
-> My installed version of windows is unsupported (23H2, perhaps unlikely?) (Sidenote: I would like to try this on Windows 11 24H2 but that version has networking issues yet to be addressed by Microsoft.)
-> I'm missing some sort of dependency to call this instruction
-> Issues with the Operating System proper being unable to call this command, though I have tried translucent taskbar in the past. (Some other customization tool which I think also calls upon the acrylic brush)

Thanks for the prompt replies

@m417z
Copy link
Member

m417z commented Nov 23, 2024

@berkesalar are you perhaps using multiple monitors? There's a known limitation with multiple taskbars, I added a note in the relevant section in the readme for that too:

image

@berkesalar
Copy link
Author

@m417z I am indeed utilizing multiple monitors, I shall try this when I have time and will update accordingly. Again thanks for the quick response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@m417z @berkesalar @SandTechStuff and others