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

Process Explorer - Undue "tooltip" with garbage data

    XMLWordPrintable

Details

    Description

      reactos-bootcd-0.4.15-dev-6846-gb3c1f65-x86-gcc-lin-dbg
      Process Explorer 16.21 from https://www.filepuma.com/download/process_explorer_16.21-15301/download/ 

      Shows "ê" as tooltip while on columns. This does NOT occur in Win2K3

      Unabling DEBUGCHANNEL=+tooltips

      it shows :

      trace:(dll/win32/comctl32/tooltips.c:642) Show tooltip 0, L"\00ea", size 10 x 17

      while L"\00ea" is ê

      same problem with PE 15.23 with a different glyph :

      Unabling DEBUGCHANNEL=+tooltips

      it shows :

      trace:(dll/win32/comctl32/tooltips.c:642) Show tooltip 0, L"\0001", size 15 x 17 

      while L"\0001" is Unicode Start of heading  ()

      Guilty code : problem only comes when the "ask parent" fallback code path is used : https://git.reactos.org/?p=reactos.git;a=blob;f=dll/win32/comctl32/tooltips.c;hb=062890ac5f29cdd6ddad3601cbcbec8451a5e455#l487 

      Added in Wine by https://github.com/wine-mirror/wine/commit/ff826eb14a9e3b70e2755f7d9fdd15e117bedc5a but it looks like WM_NOTIFY should not be sent to parent : https://www.winehq.org/pipermail/wine-devel/2007-October/060182.html 

      Fixed by tooltip_fix.patch

      Note : Regression introduced by https://github.com/reactos/reactos/commit/96cdd6485c56b5e488868b93f643c6461ad74fe0 in ReactOS 0.4.7

      ====

      Other log item of interest :

      err:(dll/win32/comctl32/tooltips.c:2407) unknown msg 041f wp=00000001 lp=0012f378 

      This corresponds to TTM_ADJUSTRECT (0x041f) https://learn.microsoft.com/en-us/windows/win32/controls/ttm-adjustrect which is currently unimplemented as per https://git.reactos.org/?p=reactos.git;a=blob;f=dll/win32/comctl32/tooltips.c;hb=6294f5b3ff443af3602275954c1a450c0e7eca45#l35 

      Massively logspam with : 

      (ntoskrnl/ps/query.c:101) NtQueryInformationProcess(): Information verification class failed! (Status -> 0xc0000004, ProcessInformationClass -> 1) 

      Attachments

        1. 0.4.15-dev-7557-gc858429_processExplorer_ok.webm
          991 kB
          reactosfanboy
        2. image-2023-11-05-11-47-52-825.png
          6 kB
          KRosUser
        3. image-2023-11-05-11-48-59-592.png
          6 kB
          KRosUser
        4. image-2024-01-21-19-53-27-542.png
          1 kB
          KRosUser
        5. putty.log
          1.58 MB
          KRosUser
        6. tooltip_fix.patch
          1 kB
          KRosUser

        Activity

          People

            katayama_hirofumi_mz Katayama Hirofumi MZ
            KRosUser KRosUser
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: