-
Notifications
You must be signed in to change notification settings - Fork 7
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
Trying to snap raises AttributeError: 'int' object has no attribute 'get_geometry' #4
Comments
I have the same error. |
Same error here, Is any solution available already? |
I don't see any comment mentioning that, so I wouldn't think so. I don't have any experience with tkinter (I picked PyQt once and stuck with it) so unless I'm magically given hours of spare time, I won't go looking for it myself very soon... |
sorry that it has taken me a while to chime in here The issue that we're gonna have is that I wrote this on KDE and I don't have a Cinnamon DE to play around on for debugging. Furthermore, being able to solo support issues across the Nth linux DE is going to be impossible. I'd be more than happy to accept merge requests if you find a fix; one thing you might be able to try is running snappyzones in the context of the python debugger using My guess is that KDE and Cinnamon just have different philosophies for wrapping windows, maybe we're calling but IDK 🤷🏻 |
Michael, obviously no worries about not responding earlier or not supporting other DE's than the one you're using. |
Hi, In
I can see the windows snapping around but they arent snapping correctly. At first, I noticed that the zones.json in I manually edited the file for my ultra wide monitor (5120x1440) to this:
This configuration should be basically like this: However, left_shift + dragging seems to conflict with some other tool (will figure that one later) and left_shift + arrows moves the windows around but to the wrong locations. Left arrow: on first press puts it at full screen, on second press puts it on the left side but with some pretty big edges around the window. What I would expect is to be able to move from left -> center -> right and vice versa. Edit: I am diving deeper into it and seeing if I can fix all the issues and send out a PR |
I have two issues, The first is minor and likely a mistake on my end after installing/uninstalling several times but I'll add it just in case it is related.
I installed Snappyzones through pip (
python -m pip install snappyzones
) succesfully.I'm running 5.4.0-128-generic kernel, Python 3.8.10, using Cinnamon.
My first issue: when trying to run
snappy start
from the command line, I getbash: /usr/local/bin/snappy: No such file or directory
. Runningwhich snappy
returns/home/dieter/.local/bin/snappy
. That executable actually runs, so/home/dieter/.local/bin/snappy start
works perfect. I've used that to config and save three zones.Second (real issue): When trying to snap (so pressing and holding left shift, then dragging a window) I get an AttributeError with the following traceback:
Running
tkinter.TkVersion
from a Python repl returns version 8.6If there is any more info required, please let me know!
The text was updated successfully, but these errors were encountered: