dracula / gtk

🧛🏻‍♂️ Dark theme for GTK
https://draculatheme.com/gtk
GNU General Public License v3.0
912 stars 82 forks source link

Theme directory actions/* of theme Dracula has no size field #212

Open jdnumm opened 1 year ago

jdnumm commented 1 year ago

GTK Applications are trowing warnings on startup:

(org.pwmt.zathura:22354): Gtk-WARNING **: 14:09:23.563: Theme directory actions/24 of theme Dracula has no size field

(org.pwmt.zathura:22354): Gtk-WARNING **: 14:09:23.563: Theme directory actions/32 of theme Dracula has no size field

(org.pwmt.zathura:22354): Gtk-WARNING **: 14:09:23.563: Theme directory actions/16@2x of theme Dracula has no size field

(org.pwmt.zathura:22354): Gtk-WARNING **: 14:09:23.563: Theme directory actions/22@2x of theme Dracula has no size field

(org.pwmt.zathura:22354): Gtk-WARNING **: 14:09:23.563: Theme directory actions/24@2x of theme Dracula has no size field

(org.pwmt.zathura:22354): Gtk-WARNING **: 14:09:23.563: Theme directory actions/32@2x of theme Dracula has no size field

(org.pwmt.zathura:22354): Gtk-WARNING **: 14:09:23.563: Theme directory actions/symbolic of theme Dracula has no size field
EliverLara commented 1 year ago

HI, that's an issue with your icon theme not gtk.

jdnumm commented 1 year ago

@EliverLara ok, but the icons are part of the GTK Dracula theme.

https://draculatheme.com/gtk

CBroz1 commented 1 year ago

Are there manual edits that can be made to address this issue?

Also experienced with redshift-gtk

(redshift-gtk:205693): Gtk-WARNING **: 12:56:35.368: Theme directory actions/24 of theme Dracula has no size field
(redshift-gtk:205693): Gtk-WARNING **: 12:56:35.368: Theme directory actions/32 of theme Dracula has no size field
(redshift-gtk:205693): Gtk-WARNING **: 12:56:35.368: Theme directory actions/16@2x of theme Dracula has no size field
(redshift-gtk:205693): Gtk-WARNING **: 12:56:35.368: Theme directory actions/22@2x of theme Dracula has no size field
(redshift-gtk:205693): Gtk-WARNING **: 12:56:35.368: Theme directory actions/24@2x of theme Dracula has no size field
(redshift-gtk:205693): Gtk-WARNING **: 12:56:35.368: Theme directory actions/32@2x of theme Dracula has no size field
(redshift-gtk:205693): Gtk-WARNING **: 12:56:35.368: Theme directory actions/symbolic of theme Dracula has no size field
CBroz1 commented 1 year ago

I added the lines below to /usr/share/Dracula/index.theme, the location of which may differ based on installation. These solved the warnings.

I get the sense that these warnings are due to a mismatch of design spec across GTK 2 v 3, SO post. I don't know what I'm doing here, so copy at your own risk.

[actions/24] 
Context=Actions
Size=24
Type=Fixed

[actions/32] 
Context=Actions
Size=32
Type=Fixed

[actions/32] 
Context=Actions
Size=32
Type=Fixed

[actions/16@2x] 
Context=Actions
Size=16
Type=Fixed

[actions/22@2x] 
Context=Actions
Size=22
Type=Fixed

[actions/24@2x] 
Context=Actions
Size=24
Type=Fixed

[actions/32@2x] 
Context=Actions
Size=32
Type=Fixed

[actions/symbolic] 
Context=Actions
Size=22
Type=Fixed