linuxmint / xapp

Cross-desktop libraries and common resources
GNU Lesser General Public License v3.0
127 stars 44 forks source link

XApp Status Applet - statusicon_css_string style does not apply in LM22 (MATE) #185

Closed WinterSnowfall closed 2 months ago

WinterSnowfall commented 2 months ago

Distribution

Mint 22 (MATE)

Package version

2.8.5

Graphics hardware in use

Nvidia GeForce 4070

Frequency

Always

Bug description

The statuswidget-horizontal and statuswidget-vertical css styles for border and padding are no longer applied in LM22 (MATE), while they previously worked correctly in LM21.x (MATE).

Steps to reproduce

Perform a fresh installation of LM22 (MATE).

Expected behavior

Styles should be applied and the status icons (container widgets actually) should be padded/distanced properly. The default widget padding on a fresh installation of LM22 (MATE) is too wide.

Additional information

The problem can be worked around by creating a file under ~/.config/gtk-3.0/gtk.css with the same content as the statusicon_css_string variable within mate-xapp-status-applet.py. The styles are then picked up and applied properly.