Closed tari01 closed 3 months ago
Patching magnus, maybe? Other magnifiers available?
Patching magnus, maybe?
Or rewriting it in C, adding features and call it MAGNUM! Magnus is Python and packed with deprecation warnings.
Other magnifiers available?
Neh, I looked very hard. There is one, but it's for KDE. I say let's stick with Gtk.
On Mi 06 Dez 2023 10:29:17 CET, Robert Tari wrote:
Patching magnus, maybe?
Or rewriting it in C, adding features and call it MAGNUM! Magnus is Python and packed with deprecation warnings.
Rewriting -> not yet. GNOME has a screen magnifier, probably written
in C. Maybe fork parts of the code and put it into something standalone?
Let's go with the Python version for now and continue from here later.
--
DAS-NETZWERKTEAM c\o Technik- und Ökologiezentrum Eckernförde Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde mobile: +49 (1520) 1976 148 landline: +49 (4351) 850 8940
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: @.***, http://das-netzwerkteam.de
Is it stealing the focus? Isn't the actual issue that there's no window manager, so that focus requests are just discarded? A different magnifier probably won't help.
Is it stealing the focus? Isn't the actual issue that there's no window manager, so that focus requests are just discarded? A different magnifier probably won't help.
Actually it would help - if we wrote it or hacked it in a way that the window and its widgets are set to be unfocusable. Then this would simply bounce off:
But that would be more of a hack than a proper solution.
I think there is a better way, however - one which I tried working on but gave up as I was burning too much time on this already:
If we could get hold of the Magnus window, we could prevent it from getting focus calls, just like we do with Onboard.
(My approach was to get all toplevel windows, check which one was Magnus and then add the xid to the condition. The problem was finding a property that would distinguish Magnus from the other windows. The window title did not work.)
Maybe helpful: in src/arctica-greeter.vala there is a little bit of WM code: https://github.com/ArcticaProject/arctica-greeter/blob/master/src/arctica-greeter.vala#L652
Maybe we you can hack some special case for magnus into it?
As the title says, while Magnus is active one cannot type into the entry. I tried a bunch of potential fixes, but nothing productive came out.