GithubHelp home page GithubHelp logo

Comments (7)

colonelpanic8 avatar colonelpanic8 commented on June 2, 2024

Yes, the Host implementation is, as you have noticed, not technically complete, although the reality is that very few things properly implement the activate or secondaryACtivate methods here

https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/StatusNotifierItem/

This is generally one of the downsides of SNI as compared to XEMBED. There is a bit less flexibility WRT input.

from gtk-sni-tray.

colonelpanic8 avatar colonelpanic8 commented on June 2, 2024

@ARR8 @kurnevsky @nomeata You all expressed interest in this feature -- Do you have examples of sni apps that provide this functionality? @kurnevsky has implemented this in the latest version, but I haven't found any examples that I can use for testing.

from gtk-sni-tray.

kurnevsky avatar kurnevsky commented on June 2, 2024

@IvanMalison
For activate: qbittorrent, qtox, telegram-desktop, deadbeef use it for window showing/hiding.
For secondary activate:
deadbeef with https://github.com/vovochka404/deadbeef-statusnotifier-plugin uses it for play/pause toggle. Derivation: NixOS/nixpkgs#130534
pidgin with https://github.com/philipl/pidgin-indicator uses it to show/hide its roster. Derivation: https://github.com/kurnevsky/nixfiles/blob/master/modules/pidgin-indicator.nix

from gtk-sni-tray.

colonelpanic8 avatar colonelpanic8 commented on June 2, 2024

@kurnevsky I'm going to do a release of gtk-sni-tray soon (probably today). I've merged taffybar/status-notifier-item#8 . Were there some associated changes you wanted to make here that needed that PR?

from gtk-sni-tray.

kurnevsky avatar kurnevsky commented on June 2, 2024

Were there some associated changes you wanted to make here that needed that PR?

Yes. I haven't tested it yet, but should be enough (itemIsMenu is available there and it defines the behavior of left button).

from gtk-sni-tray.

colonelpanic8 avatar colonelpanic8 commented on June 2, 2024

Does it? I don't see the code that does that.

from gtk-sni-tray.

kurnevsky avatar kurnevsky commented on June 2, 2024

I mean specs say it defines :)
We should implement it in gtk-sni-tray with the help of itemIsMenu.

from gtk-sni-tray.

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.