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

Tray context menu doesn't pop up if a fullscreen application is focused #12760

Closed
InventivetalentDev opened this issue May 1, 2018 · 7 comments

Comments

@InventivetalentDev
Copy link

InventivetalentDev commented May 1, 2018

  • Electron version: 1.8.6, 3.1.0
  • Operating system: Windows 10

Expected behavior

I expect the tray context menu to open when I right-click it.

Actual behavior

When there's a fullscreen app running and focused (behind the taskbar), nothing happens when right-clicking the tray icon.

How to reproduce

  • Start the program
  • Right-click the tray while on desktop/with a non-fullscreen app - works fine
  • Open a fullscreen app
    • I discovered it while playing Guild Wars 2, but it also occurs on any other fullscreen application, e.g. Google Chrome (F11)
  • Press the Windows key to bring up the taskbar
  • Try right-clicking the tray icon again - nothing happens

(I also tried it on another computer (also Win 10), just to make sure it's not a quirk with my dev pc.)

EDIT: I noticed the same issue with Discord, which is also built with electron.

You can use the repo below to see for yourself:

  $ git clone https://github.com/InventivetalentDev/GuildWars2EmoteWheel.git
  $ npm install
  $ npm run electron-rebuild
  $ npm start
@welcome
Copy link

welcome bot commented May 1, 2018

👋 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.

@sofianguy
Copy link
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.

@InventivetalentDev
Copy link
Author

Yep, still happening on electron 3.1.0

@sofianguy sofianguy added 3-0-x and removed blocked/need-info ❌ Cannot proceed without more information labels Jan 8, 2019
@sofianguy
Copy link
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 v4.2.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. This issue will be closed 7 days from now if there is no response.

Thanks in advance! Your help is appreciated.

@sofianguy sofianguy added the blocked/need-info ❌ Cannot proceed without more information label Aug 9, 2019
@fmeyertoens
Copy link

electron-tray
I made a gif showing that the context menu doesn't show up when you click the tray icon while it does show when the tray icon is in the overflow menu.
Electron version: 6.0.1

@sofianguy sofianguy added 6-0-x and removed blocked/need-info ❌ Cannot proceed without more information labels Aug 12, 2019
@sofianguy sofianguy added this to Unsorted Issues in 6.1.x Aug 12, 2019
@Kyusung4698
Copy link

Kyusung4698 commented Apr 9, 2020

Hi, this is still an issue for me. Are there any updates on this? Using electron 8.2.0

@electron-triage
Copy link

The Electron version reported on this issue is no longer supported. See our supported versions documentation.

If this is still reproducible on a supported version, please open a new issue with any other new information that a maintainer should know.

Thank you for taking the time to report this issue and helping to make Electron better! Your help is appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
6.1.x
Unsorted Issues
Development

No branches or pull requests

5 participants