8000 Taskbar items to the right of TC are moved when WM_SYSCOLORCHANGE is sent to the tray · Issue #87 · White-Tiger/T-Clock · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Taskbar items to the right of TC are moved when WM_SYSCOLORCHANGE is sent to the tray #87
Closed
@qwerty12

Description

@qwerty12

Hi,

I don't know if this is an issue peculiar to my system (Windows 10 64-bit 1607 / 14393.726) but I can reproduce the following bug with T-Clock x64 2.4.2 b. 459 (dynamically linked) every single time. Save for T-Clock, no taskbar enhancements are running (7+ Taskbar Tweaker was closed and explorer.exe killed and restarted).

If WM_SYSCOLORCHANGE is sent to the tray window, the Action Centre and show desktop icons are pushed to the right each time until, eventually, they go off screen.
I can see this when:

  • I change Windows theme
  • call SetUserColorPreference to workaround a Windows bug that messes up my accent colour when Windows changes the active desktop to WinSta0\Winlogon

(the WM_DWMCOLORIZATIONCOLORCHANGED case falls through to the code handling WM_SYSCOLORCHANGE )

and if I send WM_SYSCOLORCHANGE myself with AutoHotkey:

#NoEnv
#NoTrayIcon ; Showing the tray icon actually fixes this bug for one occurrence...

msg := 0x0015
PostMessage, %msg%, 0, 0,, ahk_class Shell_TrayWnd

My taskbar is on the top of the screen, but the same happens if I place it at the bottom

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0