Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: There is an issue with the title bar button #42080

Open
3 tasks done
ChenTraveler opened this issue May 8, 2024 · 1 comment
Open
3 tasks done

[Bug]: There is an issue with the title bar button #42080

ChenTraveler opened this issue May 8, 2024 · 1 comment
Labels
blocked/need-info ❌ Cannot proceed without more information bug 🪲

Comments

@ChenTraveler
Copy link

Preflight Checklist

Electron Version

20.0.0

What operating system are you using?

Windows

Operating System Version

Windows 10 家庭中文版

What arch are you using?

x64

Last Known Working Electron version

20.0.0

Expected Behavior

The button triggers the move in and move out effect normally, and the corresponding display effect is displayed normally

Actual Behavior

The main process code is as follows:

new BrowserWindow({
    width: 1440,
    height: 810,
    show: false,
    autoHideMenuBar: true,
    ...(process.platform === 'linux' ? { icon } : {}),
    webPreferences: {
      preload: join(__dirname, '../preload/index.js'),
      sandbox: false,
    },
    titleBarStyle: 'hidden',
    titleBarOverlay: {
      color: 'rgba(0,0,0,0)',
      symbolColor: 'white',
      height: 40
    },
    webviewTag: true
  })

default
image
hover
image
Maximize
image

The display effect did not meet expectations, and the suspension effect did not disappear after removal, resulting in full white after multiple attempts

Testcase Gist URL

https://github.com/ChenTraveler/electron-issue-demo

Additional Information

I reproduced this problem with a demo and placed it in my GitHub project

@codebytere
Copy link
Member

Electron 20 isn't supported and hasn't been in some time. For us to continue triaging this issue, it must be present on a currently supported version of Electron. This issue will be closed in 10 daysi f there is no response.

@codebytere codebytere added the blocked/need-info ❌ Cannot proceed without more information label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked/need-info ❌ Cannot proceed without more information bug 🪲
Projects
None yet
Development

No branches or pull requests

2 participants