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

Can not click any button on menu bar of Cypress or the built-in Electron browser #16323

Closed
EricKY26 opened this issue May 4, 2021 · 16 comments · Fixed by #17037 or #17408
Closed

Can not click any button on menu bar of Cypress or the built-in Electron browser #16323

EricKY26 opened this issue May 4, 2021 · 16 comments · Fixed by #17037 or #17408
Labels
OS: windows pkg/desktop-gui This is due to an issue in the packages/desktop-gui directory type: regression A bug that didn't appear until a specific Cy version release v7.2.0 🐛 Issue present since 7.2.0

Comments

@EricKY26
Copy link

EricKY26 commented May 4, 2021

Current behavior

Can not click any button on menu bar of Cypress or the built-in Electron browser, Even when I use ALT button on keyboard to select these ones, I cannot open any of these menus.
image

Desired behavior

Can click buttons on menu bar of Cypress and the built-in Electron browser

Test code to reproduce

Doesn't involve

Versions

Cypress 7.2.0

@lukeapage
Copy link
Contributor

just got the same issue, had to work-around getting devtools open using inspect element.

@jennifer-shehane
Copy link
Member

Yah I saw someone else mention this but they didn't provide context. Are you both using Windows operating system?

@jennifer-shehane jennifer-shehane added the stage: needs information Not enough info to reproduce the issue label May 4, 2021
@lukeapage
Copy link
Contributor

I’m windows 10 yes

@EricKY26
Copy link
Author

EricKY26 commented May 5, 2021

Yah I saw someone else mention this but they didn't provide context. Are you both using Windows operating system?

@jennifer-shehane Yes, I'm using Windows 10

@jennifer-shehane jennifer-shehane added OS: windows pkg/desktop-gui This is due to an issue in the packages/desktop-gui directory labels May 5, 2021
@jennifer-shehane
Copy link
Member

I can recreate this in Windows 10. The menu bar is not selectable in 7.2.0.

@jennifer-shehane jennifer-shehane added type: bug stage: ready for work The issue is reproducible and in scope type: regression A bug that didn't appear until a specific Cy version release and removed stage: needs information Not enough info to reproduce the issue type: bug labels May 5, 2021
@jennifer-shehane
Copy link
Member

This issue does not exist in Cypress 7.1.0, so was introduced in 7.2.0. Pretty strange. All I can think that may be relevant is the Electron downgrade in 7.2.0? But I don't see this bug mentioned in Electron anywhere.

@csdivine
Copy link

csdivine commented May 5, 2021

I just noticed this as well. I'm running Cypress 7.2.0 on CentOS 7.

@EricKY26
Copy link
Author

EricKY26 commented May 6, 2021

This issue does not exist in Cypress 7.1.0, so was introduced in 7.2.0. Pretty strange. All I can think that may be relevant is the Electron downgrade in 7.2.0?

That's exactly what I thought.

@CypressCecelia
Copy link
Contributor

windows menu

Received additional reports of this, using latest version of Cypress.

@jennifer-shehane
Copy link
Member

This bug was introduced in #16113

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Jul 12, 2021

The code for this is done in cypress-io/cypress#17037, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@jennifer-shehane
Copy link
Member

Reopening as we are reverting the previous PR to avoid possible performance implications for many users on low resources machines recording video. We'll continue investigating and hopefully move towards updating Electron to fix this issue.

@strowk
Copy link

strowk commented Jul 20, 2021

I have it on Ubuntu 20.04 (just fyi)

@srp-at-ah
Copy link

srp-at-ah commented Jul 21, 2021

Same problem: Cypress 7.7.0 and Manjaro (XFCE) and npx cypress open

I also fetched the ZIP from https://download.cypress.io/desktop
Then extract it and cd and .\Cypress: the problem remains

I had upgraded an existing project from 4.10.0, and just reverted back to that version. In that case I can operate the menu bar. So it not an issue that my OS is not supported but as someone mentioned it a problem which appeared around version 7.2.0 I believe.

I afterwards updated to Cypress 8.0.0 and the problem remains.

Is there any workaround I could use? Thanks in advance.

@cypress-bot cypress-bot bot added stage: pending release and removed stage: needs review The PR code is done & tested, needs review labels Aug 9, 2021
@cypress-bot
Copy link
Contributor

cypress-bot bot commented Aug 9, 2021

The code for this is done in cypress-io/cypress#17408, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Aug 16, 2021

Released in 8.3.0.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v8.3.0, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Aug 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
OS: windows pkg/desktop-gui This is due to an issue in the packages/desktop-gui directory type: regression A bug that didn't appear until a specific Cy version release v7.2.0 🐛 Issue present since 7.2.0
Projects
None yet
7 participants