Menu

#488 Window resize not working as expected

NextRelease
closed-fixed
UI (4) win32 (7)
4
2023-04-14
2022-01-02
Jujan
No

Hello. Currently using Fuse 1.5.7 on Windows.
As you may know the button "window maximalize" is greyed out. So it is not possible to resize the window.
If you hover over top edge of the window you can see the window size controls are available, frankly. If you try to hold mouse to resize the window nothing happens.
But if you try to doubleclick the top edge, then the window will stretch into abomination.

2 Attachments

Discussion

  • Arki55

    Arki55 - 2023-04-04

    Bug confirmed as described on Windows.

    There is also arrow in bottom right corner of window that when holding can resize window to 1x, 2x, etc times as supported. This however works only on primary screen. It glitches on extended screen. I submitted a separate bug about that.

    Any hints where to start this bug hunt quest ?

     
  • Arki55

    Arki55 - 2023-04-04

    win32display.c :: 1170

    / Set position inside workarea /
    SystemParametersInfo( SPI_GETWORKAREA, 0, &or, 0 );

    https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-systemparametersinfoa

    SPI_GETWORKAREA = Retrieves the size of the work area on the primary display monitor. ....

    So the implementation works as if there was only the primary screen used. I'll try some replacements..

     
  • Arki55

    Arki55 - 2023-04-04

    I will address the problem from previous comment in a separate ticket.
    For this bug to fix, it should be enough to suppress specialized message like this.
    It works.

    https://sourceforge.net/p/fuse-emulator/fuse/merge-requests/17/

    THis also suppresses possibility to move window by double clicking on its title bar.
    Is that anyway needed ?

     
    • Sergio Baldoví

      Sergio Baldoví - 2023-04-09

      I will address the problem from previous comment in a separate ticket.

      Thanks. Windows UI was initially compatible with Windows 9x and secondary screens were not as usual as nowadays.

      For this bug to fix, it should be enough to suppress specialized message like this.
      It works.

      Merged in [dad3ee].

      THis also suppresses possibility to move window by double clicking on its title bar.
      Is that anyway needed ?

      I couldn't guess how to move with double click. IMO it is easier moving the windows with single click.

       

      Related

      Commit: [dad3ee]

  • Sergio Baldoví

    Sergio Baldoví - 2023-04-09
    • labels: --> UI, win32
    • status: open --> pending-fixed
    • assigned_to: Sergio Baldoví
    • Group: future --> NextRelease
     
  • Sergio Baldoví

    Sergio Baldoví - 2023-04-14
    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.