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

cmd window horizontal width is erroneously reduced after minimize and restore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 0.4.14
    • Component/s: Win32SS
    • Labels:

      Description

      0.4.8-dev-668-g5966a18 gcc dbg

      Reproduction steps:
      open cmd via desktop link (default is windowed mode)
      notice there is only a vertical scrollbar but no horizontal one and notice the width of the window
      minimize the window
      restore the window

      The window width is erroneously reduced, contents do not longer fit and we have an undesired horizontal scrollbar now.

      Maybe the width that is consumed by the vertical scrollbar is not taken into account correctly upon restore, leading to the window becoming smaller?
      0.4.8-dev-668-cmd.webm

      Upon restore ros logs the following:

      (../win32ss/user/ntuser/winpos.c:789) err: FIXME: Parent is Desktop, Min off screen!

        Attachments

        1. 0.4.8-dev-668-cmd.webm
          594 kB
        2. 1before.png
          1before.png
          32 kB
        3. 2after.png
          2after.png
          32 kB
        4. conwnd_c.patch
          1 kB
        5. conwnd_c.patch
          1 kB
        6. conwnd_c.patch
          3 kB
        7. conwnd_c.patch
          4 kB
        8. conwnd_c.patch
          0.6 kB
        9. conwnd_c.patch
          1 kB
        10. conwnd_c.patch
          1 kB

          Issue Links

            Activity

              People

              • Assignee:
                hbelusca hbelusca
                Reporter:
                reactosfanboy reactosfanboy
              • Votes:
                3 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: