Skip to content

BrowserWindow with customButtonsOnHover and frame:false no longer rounds the corners on Mac #10424

Closed

Description

@emilylaguna
  • Electron version: 1.7.5
  • Operating system: macOS 10.12.6

Expected behavior

The corners should be rounded like they were in 1.6.x

Actual behavior

The browser windows corners are no longer rounded when running with electron 1.7.5

How to reproduce

git clone https://github.com/emilylaguna/electron-quick-start.git
cd electron-quick-start
npm install
./node_modules/.bin/electron .

Activity

  1. welcome commented on Sep 1, 2017

    @welcome

    👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

    To help make it easier for us to investigate your issue, please follow the contributing guidelines.

  2. envomer commented on Sep 22, 2017

    @envomer

    I have the same issue. Any update on this?

  3. JSzaszvari commented on Oct 22, 2017

    @JSzaszvari

    Seeing this issue too.

    After setting 'customButtonsOnHover' and frame: false

    image

    Looking for a workaround or fix but have not found anything yet.

    Reproducible by setting

    mainWindow = createWindow('main', { width: 1000, height: 600, titleBarStyle: 'customButtonsOnHover', frame: false });

    If you set frame: true then you get the rounded corners back

    image

    But with the expected side effect of the menu buttons showing back up.

  4. sofianguy commented on Jan 15, 2019

    @sofianguy
    Contributor

    Thank you for taking the time to report this issue and helping to make Electron better.

    The version of Electron you reported this on has been superseded by newer releases.

    If you're still experiencing this issue in Electron v2.0.x or later, please add a comment specifying the version you're testing with and any other new information that a maintainer trying to reproduce the issue should know.

    I'm setting the blocked/need-info label for the above reasons.

    Thanks in advance! Your help is appreciated.

  5. added
    blocked/need-info ❌
    on Jan 15, 2019
  6. astoilkov commented on Jan 16, 2019

    @astoilkov
    Contributor

    I can verify that the issue still exists in Electron 4.0.

  7. added and removed
    blocked/need-info ❌
    on Jan 17, 2019
  8. bjoernm commented on Jun 18, 2019

    @bjoernm

    Confirmed still an issue on "electron": "^5.0.4"
    When using titleBarStyle: 'customButtonsOnHover', and frame: false, window edges become square, and not rounded.

  9. pronebird commented on Sep 5, 2019

    @pronebird

    Suddenly became an issue on Electron 6 as well. 😢

  10. Jip-Hop commented on Sep 8, 2019

    @Jip-Hop

    For a multi-window video application I need the corners of my Browser Windows on MacOS not to be rounded. So I'm making use of this bug in Electron 4.2.10. But would be nice if there'd be a choice to round or not. However seems like that's not going to happen: #414.

  11. self-assigned this
    on Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions