Skip to content

[Bug]: Frameless window can't be resized while cursor is next to but outside of window #40505

Closed

Description

@rzhao271

Preflight Checklist

Electron Version

28.0.0-beta.3

What operating system are you using?

Windows

Operating System Version

Windows 11 10.0.22621

What arch are you using?

x64

Last Known Working Electron version

N/A

Expected Behavior

When I place my cursor to the right of the right border of a frameless Electron window, I expect for the cursor to change to a resize one.

Actual Behavior

When I place my cursor to the right of the right border of a frameless Electron window, the cursor does not change to a resize one.

Testcase Gist URL

https://gist.github.com/rzhao271/a267df622a0f62f71b1e47e45d1b66fc

Additional Information

Downstream issue: microsoft/vscode#185249

This problem does not reproduce in Chrome with a PWA, or on Edge.
This problem does not reproduce with an Electron window that contains a frame.

I'm unsure how an Electron window with a frame seems to have a resize area that extends beyond the borders of the window, but I'd prefer if a frameless Electron window did the same thing so that a user can resize a frameless Electron application more easily.

Activity

  1. rzhao271 commented on Nov 10, 2023

    @rzhao271
    ContributorAuthor

    Also reproduces in Electron v27.0.3 and likely in earlier versions as well.
    The first post of microsoft/vscode#157197 gives an example of how the resize area differs between framed and frameless windows.

  2. added
    status/confirmed
    has-repro-gist
    on Nov 13, 2023
  3. moved this to 👀 Unsorted Items in 28-x-yon Nov 13, 2023
  4. moved this from 👀 Unsorted Items to 👍 Does Not Block Stable in 28-x-yon Nov 16, 2023
  5. added 3 commits that reference this issue on Apr 21, 2025
    a82cf89
    34269d0
    f6872f7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    27-x-y28-x-ybug 🪲has-repro-gistplatform/windowsstatus/confirmed

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions