Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-17658

power icon in systray misses a WM_COMMAND handler for bpp change

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Trivial
    • None
    • Shell
    • None

    Description

      I noticed that many times already, most of our systray icons behave fine when changing the monitors bpp via desk.cpl.
      But the power icon has problems and is not painted anymore when I change the bpp from 32bpp to 24bpp
      initially drawn correctly with 32bpp 32bpp_ok.png
      But after the switch to 24bpp it does not draw. 24bpp_wrong_not_painted.png
      If I restart the explorer.exe with 24bpp then it draws properly.
      So we most likely must just handle some windows-message for this stobject.
      dll/shellext/stobject/power.cpp

      0.4.14-RC-84-g4295544.log
      ftr the (win32ss/user/ntuser/windc.c:749) err: [0002015A] GetDC() without ReleaseDC()!
      is unrelated happened after the bug, and is from closing desk.cpl (that part is fixed in master head already. Just not yet in the 0.4.14RC).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              reactosfanboy reactosfanboy
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: