Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A minor issue: Dark mode preference is not working with sudo #1168

Closed
ineuw opened this issue May 30, 2021 · 10 comments
Closed

A minor issue: Dark mode preference is not working with sudo #1168

ineuw opened this issue May 30, 2021 · 10 comments
Labels
gui graphical user interface new

Comments

@ineuw
Copy link

ineuw commented May 30, 2021

Describe the bug
Bleachbit is set to dark theme but remains light.
The error happens every time.

Expected behavior
To be the same shade as the theme

Desktop:

  • OS: Linux Mint Cinnamon 20.1
  • BleachBit version 4.2.0
@ineuw ineuw added the new label May 30, 2021
@abitrolly
Copy link
Contributor

I can't repeat it with latest version from source.

git clone https://github.com/bleachbit/bleachbit/
cd bleachbit
./bleachbit.py

@ineuw
Copy link
Author

ineuw commented May 30, 2021

  1. If you cannot repeat it, does that mean it doesn't exist? Please see the attached image.
  2. I am not a programmer, and your cryptic reply is meaningless to users. Please rephrase your help reply.
  3. I am using the standard cinnamon theme.

bleachbit, light mode in a dark theme

@ineuw
Copy link
Author

ineuw commented May 31, 2021

This happens only in the admin version. I assume it's a permissions issue because the user version works fine.

@ineuw
Copy link
Author

ineuw commented Jun 30, 2021

@abitrolly

I can't repeat it with latest version from source.

git clone https://github.com/bleachbit/bleachbit/
cd bleachbit
./bleachbit.py

You were not reading my post. I cloned bleachbit just now, and this is the user version. The missing color problem is with the admin version. I also switched between various dark theme settings and the result is always the same.

@abitrolly
Copy link
Contributor

@ineuw I hear you. The problem appears only if the BleachBit is run with sudo. Right? It makes sense to rename the ticket to reflect that.

@rados
Copy link
Contributor

rados commented Jun 30, 2021

Just FYI I cannot reproduce it on my Debian 10. So most probably it is related with the user's OS / local settings.

@ineuw ineuw changed the title A minor issue: Dark mode preference is not working A minor issue: Dark mode preference is not working with sudo Jun 30, 2021
@ineuw
Copy link
Author

ineuw commented Jun 30, 2021

I am also certain that it's a Linux Mint issue. I used a variety of dark themes & settings but it had no effect.

@az0 az0 added the gui graphical user interface label Jul 1, 2021
@az0
Copy link
Member

az0 commented Jul 1, 2021

I tested BleachBit version 4.4.0 on a vanilla install of Linux Mint Cinnamon 20.1, and yes, the BleachBit dark theme option has no effect when running as a regular user or as sudo.

Then, I found a way to get it working.

  1. Open the Linux Mint "Themes" application
  2. Click on Controls
  3. Switch to Adwaita

Then, the dark theme preference in BleachBit works, so it is a limitation of the theme.

@ineuw Does this help?

@ineuw
Copy link
Author

ineuw commented Jul 1, 2021

Thank you. I need this info to demonstrate the developer what's wrong.

@ineuw
Copy link
Author

ineuw commented Jul 2, 2021

Changing to Adwaita worked but then, I switched back to my "Cinnamox" theme, and the surprising result was that it remained dark. Now, Unselecting/Selecting works with any theme. Thanks. I consider it resolved.

@ineuw ineuw closed this as completed Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gui graphical user interface new
Projects
None yet
Development

No branches or pull requests

4 participants