Code Monkey home page Code Monkey logo

Comments (2)

victorz avatar victorz commented on June 20, 2024 1

Have you tried to remove all: unset; at the top of the default SCSS file?

* {
    all:unset;
}

Removing it will revert back to the default GTK style from your theme (unless you already styled the systray menus). It's not exactly what you are asking for, but better than nothing.

If you wish to style it yourself, I wrote about my attempt to style it with radio buttons, check boxes and sub-menu arrows visible, please refer to my comment here #1067 (comment)

Yes, I've tried without that unset. (I never had one to begin with.)

I don't think the Telegram menu is GTK though? It's a custom menu drawn by Telegram, surely? Did you take a look at the video clips?

I see you wrote it's not really what I'm asking for. No, it isn't. 😅 I really wish it would let the apps decide on their menus. 👍

from eww.

cry0x11 avatar cry0x11 commented on June 20, 2024

Checklist before submitting an issue

  • I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
  • I have specifically verified that this bug is not a common user error
  • I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)

Description of the bug

The systray widget seems to draw its own menus, whereas I would like it to let the program draw its own menus instead, if that makes sense. I'm not sure how it all works, but I have a couple of video clips I can show to demonstrate.

Apologies if this should be a feature request instead(?). Let me know if so and I'll do my best to convert it to one.

Reproducing the issue

Use the systray widget somewhere, and right-click an icon to bring up their menu. Preferably some program that renders a custom menu, e.g. Telegram Desktop.

Here's a video clip to show what it looks like with eww's systray widget.

eww_systray.mp4

Expected behaviour

Here's a video of stalonetray, and I am right-clicking the Telegram icon to bring up its menu -- seemingly a custom menu rendered by Telegram itself, rather than stalonetray.

stalonetray.mp4

Additional context

Anyway, I'm super stoked to have this functionality in eww! This is just great! 🙂 👏

Have you tried to remove all: unset; at the top of the default SCSS file?

* {
    all:unset;
}

Removing it will revert back to the default GTK style from your theme (unless you already styled the systray menus). It's not exactly what you are asking for, but better than nothing.

If you wish to style it yourself, I wrote about my attempt to style it with radio buttons, check boxes and sub-menu arrows visible, please refer to my comment here #1067 (comment)

from eww.

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.