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

[EXPLORER] menu flickery improvement

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Untriaged
    • Priority: Trivial
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: Shell
    • Labels:
      None

      Description

      Hello,
      this is my first time in jira, so please don't worry about mistakes.
      I have look over the ros code for 0.4.14 in file:
      \base\shell\explorer\startmnusite.cpp

      at line: 125  (nearly at:

      virtual HRESULT STDMETHODCALLTYPE AppendMenu(
      OUT HMENU phMenu)*

      I replace, and add following code:

      ...
      static int flag = 0;
      if (!flag) {
         flag = 1;
         *phMenu = LoadPopupMenu(hExplorerInstance,
          MAKEINTRESOURCEW(IDM_STARTMENU));
        hMenu = *phMenu;
        if (hMenu == NULL)
        return E_FAIL;
      }
      ...

      this reduce the flikkery of start-menue items to some cycles down.

      tested under Windows 11, Virtual Box, Version 6.1

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                paule32 paule32
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: