-
Notifications
You must be signed in to change notification settings - Fork 96
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
I shall open an Issue - Error tk Mac OSX #97
Comments
Thanks for the report, @tcptps ! 👍 |
Hi @tcptps, today I installed Sierra in a VM and tried to reproduce the issue, but without success. To me, it seems like everything's working as expected. Can you please provide additional information?
Thanks! |
Hi,
|
You observations are quite interesting! What technically should happen is, that
Setting window 2) to fullscreen was quite difficult, because the behavior is different across the operation systems and because I also wanted multi-monitor setup. Especially on MacOS it was a struggle. The best I could come up with so far is a certain combination of options. If you are familiar with Python, this would be the section of code to experiment with. Now the interesting part for me: It looks a bit like in your case fullscreen mode is somehow enabled, but window 2) just not visible. Maybe it is not at the correct position/size... In any case, I'd be happy about help or hints anyone. |
I tried a change which might fix this problem. Could anyone affected by this issue please try v0.1.11 and report back?
|
just bumped into your project through mss, cool stuff :> encountered somewhat similar behavior on 0.1.10:
can confirm that 0.1.11 mostly fixes both of these in my case;
this was using the system-provided python 3.8 and tkinter on catalina 10.15.7 |
@9001 Thanks for your valuable feedback! This seems like updating to I leave this ticket open, because it still doesn't behave as it should (menu bar should be covered, too.) I'm currently experimenting with a different GUI-Framework (Kivy) that hopefully fixes this issue and makes other things more easier for me, too. I'll drop a notice here, as soon as it's ready for testing. |
@dynobo I'm not a super expert in developing for MacOS, but I think I may have here something interesting for you. Here's an example of how to use Python and the PyObjC library to draw a window which in the fullscreen mode will render over the menu bar:
I hope this might be useful for this issue. I think that you could try to use the same Objective-C APIs with tcl/tk. |
@y4rr Thanks a lot for your efforts and this information. I'm currently working hard on a switch from Tk to Qt (see the respective branch), which hopefully makes it more easy to maintain NormCap for multiple platforms. Interestingly, showing the fullscreen already works quite well with Qt on MacOS, but there are some other Mac-specific issues I have to sort out, e.g. I can't change the cursor to crosshair yet and the window doesn't get focused to receive keypress events... But maybe objc can be of use here, too! :-) |
In the new beta release 0.2.0-b1 I got completely rid of the "dummy window". In general it should provide a much nicer experience on MacOS (still not perfect, e.g. it still is behind the application menu and dock). Please help by testing and providing feedback. |
It said so so I did.
Mac OS Sierra (10.12)
installed with pip (Python3.9)
launched from Terminal normcap
useful Application Window never appeared.
If you need anymore information ask for it I am happy to help.
The text was updated successfully, but these errors were encountered: