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

Some elements on the taskbar return false when calling this.taskbar #21

Closed
Nicryc opened this issue Aug 7, 2022 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@Nicryc
Copy link

Nicryc commented Aug 7, 2022

I don't know if it is a bug or an expected behaviour but some elements on the taskbar return false when calling this.taskbar and even more they return false when calling any of this.desktop, this.explorer or this.nav. This could be confusing, prone to error and inconsistent theming.

Steps to reproduce:

If you write the following code, you will see that the contextual menus from the start button, the tray icons or the notification button will appear black while a right click on an empty part of the taskbar will appear white.

theme = if(this.taskbar, theme.white, if(this.explorer, theme.white, if(this.nav, theme.white, if(this.desktop, theme.white, theme.black))))

taskbar_windows_10

Expected behaviour

I think any click on the taskbar should be themed following the this.taskbar function.

System informations

OS: Windows 10
Shell version: 1.7.0

@moudey moudey added the bug Something isn't working label Aug 7, 2022
@moudey
Copy link
Owner

moudey commented Aug 7, 2022

@Nicryc,
Yes, it is a bug because these window handles of these menus do not return to the taskbar function.

@moudey moudey closed this as completed Dec 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants