ErikReider / SwayOSD

A GTK based on screen display for keyboard shortcuts like caps-lock and volume
GNU General Public License v3.0
562 stars 35 forks source link

Port to GTK4 ? #75

Open werdahias opened 8 months ago

werdahias commented 8 months ago

Thanks for your work. gtk4-layershell is already available. No idea how much effort a port from GTK3 to 4 is in this scope, but that would be nice to have imo. I might look into this.

Ferdi265 commented 3 weeks ago

Just looked into this a bit. The main issue is likely that gtk4-rs removed the Sender and Receiver channels that are extensively used throughout SwayOSD. The issue that suggested the removal seems to note that async should be used instead. This looks like it's a nontrivial change though.

werdahias commented 3 weeks ago

Thanks for looking into this ! Note that gtk3-rs is EOL and archived upstream so a GTK4 port would make sense sooner or later