Open tyrylu opened 2 years ago
[rave@mother mate-power-manager]$ LANG=C
[rave@mother mate-power-manager]$ git pull https://github.com/tyrylu/mate-power-manager.git trayicon_a11y
From https://github.com/tyrylu/mate-power-manager
* branch trayicon_a11y -> FETCH_HEAD
fatal: Not possible to fast-forward, aborting.
[rave@mother mate-power-manager]$
I don't see any title in the tooltip with PR. It simply looks like before.
Try using Orca for your test, this PR introduces no visual changes.
Sorry, i am not familiar with orca. Pushing that to another reviewer.
gtk_status_icon_set_title has been deprecated since version 3.14 and should not be used in newly-written code.
That's true, however the power manager uses the status icon APIs, so this PR adds accessibility without rewriting the entire status icon handling code which might be somewhere on the roadmap or it might not, I don't know and i have no idea how Mate handles the new notifications either.
Note that ALL status icon code is deprecated in GTK as it depends on GtkPlug/GtkSocket which in turn depend on Xembed, which in turn depends on Xorg and is not available in Wayland.
Therefore, there is no reason given that one is working on a status icon to worry about any particular piece of code being deprecated. We just need to make it work, and GNOME does not remove deprecated symbols within the same major version (Such as GTK 3.anything). As long as we use Gtk3 and do not transition to Gtk4 all of that is still supposed to work. To bitrot this and break it would probably require some big change in cairo or xorg itself. and so far GTK 2 still works and has not become broken.
On 4/25/2022 at 9:32 AM, "Lukáš Tyrychtr" @.***> wrote:
That's true, however the power manager uses the status icon APIs, so this PR adds accessibility without rewriting the entire status icon handling code which might be somewhere on the roadmap or it might not, I don't know and i have no idea how Mate handles the new notifications either.
-- Reply to this email directly or view it on GitHub: https://github.com/mate-desktop/mate-power- manager/pull/375#issuecomment-1108579885 You are receiving this because you are subscribed to this thread.
Message ID: <mate-desktop/mate-power- @.***>
Any updates on this?
I'd like to know myself...
This allows assistive technologies to see the tooltip of the status icon, which makes it much more useful.