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

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Shell
    • Labels:
      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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              reactosfanboy reactosfanboy
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: