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

Browse for Folder : Button looses focus when using Keyboard navigation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.15
    • SDK
    • None

    Description

      reactos-bootcd-0.4.15-dev-8079-g5db69da-x86-gcc-lin-dbg

      Now that keyboard navigation is fixed thanks to https://github.com/reactos/reactos/pull/6853 from gato_dev it unhides another bug :

      • Open "Browse for folder"
      • Use tab to put focus on "Create new folder"
      • Use Right/Left to move focus : it works
      • Use Right when already on Rightmost position (or Left when already on Leftmost position)
      • Focus is lost and goes nowhere, and log loops on (already seen in CORE-10308)

      (win32ss/user/ntuser/caret.c:52) err: Failed to get bitmap dimensions 

       

      • Focus should stay on the Rightmost (resp. Leftmost) button position
      • Video : ROS-screen0.webm

      Inspecting the code, it "focus" is attempted to be passed to the window's sizing handle which is a VS_VISIBLE ScrollBar control

      W2K3 : WS_GROUP is set. Removing WS_GROUP with WinSpy at runtime leads to the same the bug.

      ReactOS : WS_GROUP not set. Forcing WS_GROUP with WinSpy at runtime fixes the bug.

      But it clearly shows the bug :

      PATCH : WS_GROUP.patch

      Attachments

        1. WS_GROUP.patch
          0.7 kB
        2. ROS-screen0.webm
          79 kB
        3. putty.log
          142 kB
        4. image-2024-05-25-10-47-46-705.png
          image-2024-05-25-10-47-46-705.png
          18 kB
        5. image-2024-05-25-10-31-41-050.png
          image-2024-05-25-10-31-41-050.png
          19 kB
        6. image-2024-05-21-20-43-33-603.png
          image-2024-05-21-20-43-33-603.png
          2 kB
        7. image-2024-05-21-20-39-29-778.png
          image-2024-05-21-20-39-29-778.png
          100 kB
        8. image-2024-05-18-10-43-06-733.png
          image-2024-05-18-10-43-06-733.png
          33 kB
        9. image-2024-05-18-10-24-22-200.png
          image-2024-05-18-10-24-22-200.png
          8 kB
        10. image-2024-05-18-10-23-32-225.png
          image-2024-05-18-10-23-32-225.png
          13 kB
        11. image-2024-05-12-12-37-53-576.png
          image-2024-05-12-12-37-53-576.png
          20 kB

        Issue Links

          Activity

            People

              gato_dev gato_dev
              KRosUser KRosUser
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: