Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Windows 7 - resize handle on top right corner is hard to click #4144

Closed
bsclifton opened this issue Sep 21, 2016 · 0 comments
Closed

Windows 7 - resize handle on top right corner is hard to click #4144

bsclifton opened this issue Sep 21, 2016 · 0 comments

Comments

@bsclifton
Copy link
Member

bsclifton commented Sep 21, 2016

Did you search for similar issues before submitting this one?
Yes

Describe the issue you encountered:
With the new Windows titlebar (which uses Electron's frameless window), the top right corner of the window is very hard to resize. It only returns back the resize icon on the exact last pixels, instead of within 5 pixels (see screenshot for example)

Expected behavior:
By default, Windows will typically give a width/height of about 5-10 pixels for resizing on either the non-client areas or the window frame (done via the hit test event processing).

The new custom titlebar uses electron's frameless option. Many areas are tagged as draggable with -webkit-app-region: drag;. When something is draggable, the hit test is going to return CAPTION (ex: the draggable area). This interferes with the default resizing functionality.

This should be fixable by giving the top right corner a margin-top/margin-right of 5px

  • Platform (Win7, 8, 10? macOS? Linux distro?):
    Windows 7 Pro, x64
  • Brave Version:
    HEAD on master
  • Steps to reproduce:
    1. Launch Brave
    2. Try to resize window from the top right corner
    3. Get upset and/or sad
  • Screenshot if needed:
    top-right
  • Any related issues: Titlebar on Windows has a lot of wasted space #3036
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants