-
-
Notifications
You must be signed in to change notification settings - Fork 450
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
When use the block mode, not all workspaces are blocked in Mac OS X #256
Comments
Yes, I have this option "breaks are shown on all screens" checked. I think it comes checked by default. Note, I am not talking about all monitors, I am talking about all workspaces within my mac book bro monitor. ( I am not attaching external monitor in this case) |
Gotcha. I have found API for this so I will take a look whether it works. |
@hovancik , it is working as expected on windows, the issue only occurs on mac. Shall I open this issue on electron instead? |
@mhewedy The API I mentioned is not used right now in stretchly, so no need to open issue with electron, yet. I will test turning it on and we shall see. Electron's docs don't mention whether it's on or off by default. |
@hovancik I tried the function you mentioned but didn't manage to get the issue solved. |
how did you do it? I haven't had time yet... |
I called the method setVisibleOnAllWorkspaces(true) in two places,
And in both cases, the issue still exists. |
I guess if you would like to dig deeper you could try trying the api call from this repo: https://github.com/electron/electron-quick-start If this does not work there, then it is electron bug and you could report it. If it works then we probably need to call it in another place or some another stretchly code is interfering with it. I've already did few reports like this (https://github.com/hovancik/stretchly#known-issues) |
It seems we have a complex issue: Call to Still One issue remaining is to hide mac menubar and dockbar here's diffs
|
I see. Could you push your code and make a pr so I can play with it as well? And have you tried it on electron-quick-start? Does it behave the same? |
Mac contains two types of workspaces: The following table illustrates the diff between stretchly and electron-quick-start regarding specific features:
|
Any updates on this from your side? |
Hi, I haven't had time yet ;[ There are some old PRs haunting me and my time is limited ;[ I need to do some code challenge for job interview tomorrow but after that I hope to find at least hour of time. |
Good luck with your interview 👍 👍 |
Thanks, I have moved interview for tomorrow, probably :D Anyway, I have tried your PR and it seems that we can not put window over whole screen in that way ;[ At least I haven't found one ;[ there is also
that is a bit better but the titlebar is still visible and skipping break text often gets hidden by bar ;[ So I guess what we can try is to open issue in electron and ask them to make |
Or maybe there is hope I'm just trying I remember it not doing anything long time ago, so maybe they fixed it? |
Woooow! |
Would you like to update PR so that we only update I've tested on linux and it's broken, but the fullscreen is as well (electron/electron#11632) I have to test on Windows |
@hovancik I noticed that the |
It seemed to work from me. What I did was to replace |
Have you tried to press ALT+TAB? |
Yes, that is able to workaround fullscreen break ;[ Unless electron devs come up with some mode where fullscreen is always fullscreen and on top, I don't think we can fix that ;/ |
@mhewedy will you update your PR to use kiosk mode as I mentioned so we can have you as contributor? I think the most we can do now is to keep behavior as it was before but use Kiosk, not Fullscreen. Will still need to check on Windows and Linux... |
@hovancik It's my honor. but let me double check it because I am pretty sure the kiosk only working as expected in the electron-quick-stater. |
@hovancik Sorry for being late, currently I am too busy, in one or two days I should be resume working on this issue. |
No problem ;] take your time |
I think there is a setting in the app mac app bundle plist that helps but I can't remember what it was. |
Prerequisites
Description
[Description of the issue]
Operating system: Mac OS X
Steps to Reproduce
Expected behavior: Block happened on all workspaces
Actual behavior: Block happened on single workspace which make it easy to skip the break and continue working
Reproduces how often: alaways
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
The text was updated successfully, but these errors were encountered: