Shell
Shell copied to clipboard
Some elements on the taskbar return false when calling this.taskbar
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))))

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
@Nicryc, Yes, it is a bug because these window handles of these menus do not return to the taskbar function.