ArcaEge / day-progress

A GNOME shell extension that shows a progress bar of your day
https://extensions.gnome.org/extension/7042/day-progress/
GNU General Public License v3.0
38 stars 1 forks source link

Color scheme in Ubuntu #13

Closed alk3mist closed 2 weeks ago

alk3mist commented 2 weeks ago

Hello, I use Ubuntu 24.04 / Gnome 46. By default, the top bar in Ubuntu is always black. And the day-progress bar is barely visible.

The configuration parameter org.gnome.desktop.interface.color-scheme in Ubuntu is the enumeration: 'default', 'prefer-light', 'prefer-dark'. When I select either the 'prefer-light' or 'prefer-dark' option, then the day-progress bar is white. But when the 'default' option is set, then the bar is barely visible(rgba(40, 40, 40, 1) I guess).

ArcaEge commented 2 weeks ago

Hello, are you using any extensions such as Light Style? I'm creating an Ubuntu virtual machine to have a look at your issue.

alk3mist commented 2 weeks ago

I tried with and without the Light Style enabled. The behaviour has not changed.

ArcaEge commented 2 weeks ago

I can't reproduce the issue on Fedora 40 which is what I'm using; it's probably related to the Ubuntu customisations. I'm having a look now in the VM. Can you tell me whether you're using X11 or Wayland?

alk3mist commented 2 weeks ago

I use Wayland

ArcaEge commented 2 weeks ago

image Alright, I can reproduce this. I'm having a look

ArcaEge commented 2 weeks ago

I've fixed it now, but it breaks compatibility with the Light Style extension. I'm trying to get both of them to work now.

ArcaEge commented 2 weeks ago

The Light Style extension uses a weird way of setting the theme so I'm going to ignore it for now.

ArcaEge commented 2 weeks ago

I'm now sending the extension off to be reviewed (edit: it's active now). Once you get the update and check it worked, can you please update your review at https://extensions.gnome.org/extension/7042/day-progress/ to reflect the changes? (I'm assuming it was your review based on timing and when it was posted, sorry if I'm wrong)

alk3mist commented 2 weeks ago

Thank you, @ArcaEge. I can confirm that the bar is well visible now on Ubuntu 24.04. I tried different values for the color-scheme options: With 'default' I get white, with 'prefer-light' - black and with 'prefer-dark' - white again. I think this is what Ubuntu users expect.

This isn't my review, I went straight to Github)