-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
[Mate 1.28] geyes no longer seems to work properly if in bottom panel or right panel #674
Comments
Did this ever work on a left or right panel? I don't know if this was ever written to support left and right panels, a lot of applets got work in the 2015-2020 era to improve vertical panel support in many applets. This particularily benefited Ubuntu-MATE's optional "mutiny" layout that resembled the Unity desktop with a wide left panel and a slim top panel |
geyes 1.28 works just fine in the left panel, only the right and bottom panels do not work. On version 1.26.1 the eyes work on all 4 panels. |
Try reverting the suspect commit and see what happens. Also, do you have mate-applets built with the applets out of process or in-process? |
Sorry I'm not much of a developer so I won't really be able to help that much, I have it built however Fedora 41 builds it :/ |
If you can open the package in Engrampa, look to see whether you have a file named geyes.so that goes into /usr/lib or just one named geyes that goes into /usr/libexec (or in both cases whereever Fedora puts them). If you have .so files for geyes (and everything else) you have mate-applets build in-process, meaning it can be used with wayland as well as with x11. If you have the bare applet names for these files (no .so extension) they are built out of process as they always were until 1.28. This matters because the code for finding the pointer is different, and if you have mate-applets built in-process you may have found a bug in code I wrote. I have my normal panel on the bottom, normally test applets I don't normally use on a top panel, so this (and also side panel issues) could have easily gotten by me. To test any change I will of course have to close down my usual mate-wayland session and fire up an x11 session. Geyes cannot work in wayland because wayland won't let the applet see where the pointer is unless it is inside the applet's window. |
Here is are the eyes files that aren't in /usr/share/:
So if I understand you correctly this means in process. |
Yes, this is in-process, so I will take a look at the code for finding the pointer on a bottom/left panel. Getting this applet to work AT ALL in-process was not easy but I'll take a look at this |
If you can build mate-applets locally, please try |
The bottom panel seems to think anytime the cursor is lower than half the height of the screen the eyes should be looking down (when the cursor is clearly above the eyes). The right panel seems to think it should always be looking right.
The left and top panel seems to work.
I've tried changing themes and adjusting the height of panels as that sometimes has an effect on applets, but behavior was consistent across all my tests.
I suspect it has to do with this change:
7021600
but I'm not sure.
The text was updated successfully, but these errors were encountered: