Coder Social home page Coder Social logo

Comments (8)

nwg-piotr avatar nwg-piotr commented on August 19, 2024 1

Closed unintentionally. What I fixed should have nothing to do with your issue.

I do believe that somehow you're still using improper css file. Otherwise the warnings:

Not using units is deprecated. Assuming 'px'.

should not appear. They have been fixed in my version of your drawer.css.

from nwg-drawer.

nwg-piotr avatar nwg-piotr commented on August 19, 2024

You missed #. Should be:

#category-button {
    background-color: transparent;
    padding: 1px;
}

from nwg-drawer.

OdiousImp2604 avatar OdiousImp2604 commented on August 19, 2024

No change.

from nwg-drawer.

nwg-piotr avatar nwg-piotr commented on August 19, 2024

Works well for me. With button defined as above, for transparent buttons you also need box-shadow: none in #category-button. BTW: you should use px in lines 7 and 14.

window {
    background-color: rgba (36, 47, 79, 0.95);
    color: #eeeeee
}

entry {
   box-shadow: 0 0 6px 5px #2e3440;
   background-color: #3b4252;
   border: none;
   border-radius:10px;
}

button {
    box-shadow: 0 0 6px 5px #2e3440;
    background-color: #3b4252;
    border: none;
    border-radius:5px;
    margin: 4px;
}

#category-button {
    background-color: transparent;
    box-shadow: none;
    padding: 1px;
}

button:hover {
    background-color: rgba(129,161,193,0.7);
}

button:focus {
    background-color: #5e81ac;
}

#pinned-box {
    padding-bottom: 10px;
    border-bottom: 1px dotted gray
}

#files-box {
    padding: 10px;
    border: 1px dotted gray;
}

2021-07-12-001000_screenshot

from nwg-drawer.

OdiousImp2604 avatar OdiousImp2604 commented on August 19, 2024

Using the exact the drawer.css you gave me it still does work. This is installed from the Chaotic-AUR - up to date with the repo. I previously updated from the version below.

This is what shows after launching it in terminal.

lang: en_GB
Found 113 desktop files
Skipped 0 duplicates; 16 .desktop entries hidden by "NoDisplay=true"

(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:7:20: Not using units is deprecated. Assuming 'px'.

(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:7:22: Not using units is deprecated. Assuming 'px'.

(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:14:21: Not using units is deprecated. Assuming 'px'.

(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:14:23: Not using units is deprecated. Assuming 'px'.
Using style from /home/aryan/.config/nwg-panel/drawer.css

(nwg-drawer:3564): Gtk-CRITICAL **: 18:54:50.185: gtk_flow_box_set_max_children_per_line: assertion 'n_children > 0' failed
(0x56361539a718,0xc000217640)
(0x56361539a718,0xc000217b80)
(0x56361539a718,0xc000217c50)
Using XDG user dirs from /home/aryan/.config/user-dirs.dirs

** (nwg-drawer:3564): WARNING **: 18:54:50.372: gtk-layer-shell v0.6.0 may not work on GTK v3.24.30. If you experience crashes, check https://github.com/wmww/gtk-layer-shell/blob/master/compatibility.md
UI created in 300 ms. 

Thank you for your patience and
thank you for all your quick responses!

from nwg-drawer.

nwg-piotr avatar nwg-piotr commented on August 19, 2024

These warnings:

(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:7:20: Not using units is deprecated. Assuming 'px'.

(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:7:22: Not using units is deprecated. Assuming 'px'.

(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:14:21: Not using units is deprecated. Assuming 'px'.

(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:14:23: Not using units is deprecated. Assuming 'px'.

come from your version of the css file, and should be absent when using my fixed version.

The next line, starting from (nwg-drawer:3564): Gtk-CRITICAL **: 18:54:50.185: does not show up for me. It's odd. The only warning you should see is the one coming from gtk-layer shell. That's what it looks like here:

$ nwg-drawer
lang: pl_PL
Found 180 desktop files
Skipped 21 duplicates; 58 .desktop entries hidden by "NoDisplay=true"
Using style from /home/piotr/.config/nwg-panel/drawer.css
Using XDG user dirs from /home/piotr/.config/user-dirs.dirs

** (nwg-drawer:1812): WARNING **: 20:47:03.638: gtk-layer-shell v0.6.0 may not work on GTK v3.24.30. If you experience crashes, check https://github.com/wmww/gtk-layer-shell/blob/master/compatibility.md
UI created in 284 ms. Thank you for your patience.

It looks as if you're using an old, bugged version. What's the output of nwg-drawer -v?

[edit] I've just found the reason of the Gtk-CRITICAL warning: it shows up when no pinned cache was found. I'll fix it.

from nwg-drawer.

OdiousImp2604 avatar OdiousImp2604 commented on August 19, 2024

Sorry for the wait. No idea why those error still show. I'm using your exact drawer.css.

I'm assuming the problem is with me rather than something with nwg-drawer. Any ideas on any debug I could attempt etc...

from nwg-drawer.

nwg-piotr avatar nwg-piotr commented on August 19, 2024

Try another GTK theme to learn if it changes something.

from nwg-drawer.

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.