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]: setAlwaysOnTop(true, 'screen-saver') Does not stop the windows task bar from displaying #38020

Closed
3 tasks done
tehanby opened this issue Apr 18, 2023 · 11 comments
Closed
3 tasks done

Comments

@tehanby
Copy link

tehanby commented Apr 18, 2023

Preflight Checklist

Electron Version

23.0.0

What operating system are you using?

Windows

Operating System Version

Windows 11 22621.1265

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

When in Kiosk mode and setting the browserWindow to setAlwaysOnTop(true, 'screen-saver') should not allow the windows key on a keyboard to display the task bar in front of the browserWindow.

Actual Behavior

The task bar displays in front of the browser.

Testcase Gist URL

No response

Additional Information

No response

@tehanby
Copy link
Author

tehanby commented Apr 18, 2023

image

@mlaurencin mlaurencin added the blocked/need-repro Needs a test case to reproduce the bug label Apr 24, 2023
@github-actions
Copy link
Contributor

Hello @tehanby. Thanks for reporting this and helping to make Electron better!

Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.

Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.

Now adding the blocked/need-repro label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.

@tehanby
Copy link
Author

tehanby commented Apr 25, 2023

@github-actions github-actions bot removed the blocked/need-repro Needs a test case to reproduce the bug label Apr 25, 2023
@tehanby
Copy link
Author

tehanby commented May 18, 2023

Any updates on this?

@github-actions
Copy link
Contributor

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

@github-actions github-actions bot added the stale label Aug 17, 2023
@Suraj-Bhandarkar-S
Copy link

any updates on this ?

@sandyfigueroa
Copy link

I have the same issue on Electron v27.0.2

I set win.setAlwaysOnTop(true, 'screen-saver');

Even tried win.setAlwaysOnTop(true, 'screen-saver', 1); or increasing the number of the layer, but it doesn't work, the window is always below windows taskbar.

Only setting fullscreen to true works, but that is not what I need.

The documentation mentions this:

From pop-up-menu to a higher it is shown above the Dock on macOS and above the taskbar on Windows

But setting pop-up-menu or screen-saver doesn't cause the desired effect

My OS is Windows 11 Home 22H2.

@electron-issue-triage
Copy link

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

@RandoMixs
Copy link

RandoMixs commented Feb 2, 2024

The same issue on Electron v28.2.0, I set win.setAlwaysOnTop(true, 'screen-saver'); too!

My OS: Windows 11 Pro 23H2

@electron-issue-triage
Copy link

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

@electron-issue-triage
Copy link

This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue on a supported version of Electron please open a new issue and include instructions for reproducing the issue.

@electron-issue-triage electron-issue-triage bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants