Coder Social home page Coder Social logo

Comments (8)

plfiorini avatar plfiorini commented on September 24, 2024

This is a Gtk+ bug that Green Island work around by implementing the gtk-shell protocol.
Apparently Gtk+ applications communicate the right appId with gtk-shell but not with xdg-shell, the problem is that sometimes we receive the set_app_id from gtk-shell sooner than xdg-shell sometimes after and there's a workaround in place that doesn't set the appId twice. So if xdg-shell got there first we miss set_app_id from gtk-shell.
The workaround can be improved but it's better if Gtk+ get its stuff fixed.

from shell.

plfiorini avatar plfiorini commented on September 24, 2024

That's supposed to be fixed except it's not: https://bugzilla.gnome.org/show_bug.cgi?id=746435

As far as I remember g_get_prgname() returns the executable name which is not what the application id is...

from shell.

plfiorini avatar plfiorini commented on September 24, 2024

I see a lot of confusion on app IDs from the GNOME camp: https://bugzilla.gnome.org/show_bug.cgi?id=752258

Reported bug here: https://bugzilla.gnome.org/show_bug.cgi?id=769641

Let's hope it will get fixed!

from shell.

iBelieve avatar iBelieve commented on September 24, 2024

Temporary workaround here.

from shell.

plfiorini avatar plfiorini commented on September 24, 2024

@ibeliever We can expand on that and add a little daemon that runs periodically for each logged in user and dump a binary data structure that associates app id (that is the desktop entry base name without extension) to the executable in the Exec line. Ubuntu had something like that called bamf ages go.

Though it's sad that we keep having the same issues all over again with Wayland because toolkit developers can't get their code together after years.

from shell.

plfiorini avatar plfiorini commented on September 24, 2024

That said, I'd prefer to implement the daemon as a last resort...

from shell.

plfiorini avatar plfiorini commented on September 24, 2024

Bug moved to GitLab: https://gitlab.gnome.org/GNOME/gtk/issues/653

from shell.

plfiorini avatar plfiorini commented on September 24, 2024

Seems like it has been fixed upstream.

from shell.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.