Skip to content

Resize handle both inside and outside frameless window #51497

Closed

Description

@t57ser

Preflight Checklist

Electron Version

42.0.0-beta.7

What operating system(s) are you using?

Windows

Operating System Version

Win10

What arch are you using?

x64

Last Known Working Electron version

No response

Does the issue also appear in Chromium / Google Chrome?

I don't know how to test

Expected Behavior

Resize area should start right at the edge of the content area

Actual Behavior

Resize area starts within the content area

Testcase Gist URL

No response

Additional Information

Related: #50706

Corrects the placement of resize hit targets for frameless windows on Windows, which are supposed to be outside the window at the sides and bottom, not inset into the web content.

When I create a simple window

const mainWindow1 = new BrowserWindow({
		x: 0,
		y: 0,
		width: 1000,
		height: 600,
		show: true,
		frame: false,
	});

I can still see a few pixels of resize area being within the content area. The area does go outside of the window but starts within the content area.
Is this intended?
@mitchchn

Activity

  1. added theissue type on May 5, 2026
  2. moved this to 👀 Unsorted Items in 42-x-yon May 5, 2026
  3. changed the title [-]Resize handle both inside and outside the window[/-] [+]Resize handle both inside and outside frameless window[/+] on May 5, 2026
  4. added
    has-repro-comment
    on May 5, 2026
  5. mitchchn commented on May 5, 2026

    @mitchchn
    Member

    @t57ser Thanks, you are correct that the handles should only be on the outside.

  6. moved this from 👀 Unsorted Items to 🛑 Blocks Stable in 42-x-yon May 6, 2026
  7. moved this from 🛑 Blocks Stable to 🛠️ Fixed for Next Release in 42-x-yon May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions