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

Title bar with gtk3-nocsd #809

Closed
luigifab opened this issue Mar 14, 2020 · 3 comments · May be fixed by #1195
Closed

Title bar with gtk3-nocsd #809

luigifab opened this issue Mar 14, 2020 · 3 comments · May be fixed by #1195
Labels
gui graphical user interface platform: linux

Comments

@luigifab
Copy link

GTK 3 removed the title bar, but with gtk3-nocsd, we can re-add it.

But this does not work with Bleachbit 3.0.1 on Debian testing with gtk 3.24.13.

@luigifab luigifab changed the title Tilte bar with gtk3-nocsd Title bar with gtk3-nocsd Mar 14, 2020
@az0
Copy link
Member

az0 commented Mar 14, 2020

So is this a problem with gtk3-nocsd then? On Linux, BleachBit uses the system's GTK themes. (In other words, BleachBit on Linux doesn't use a custom theme.)

@luigifab
Copy link
Author

luigifab commented Mar 20, 2020

Okay! I found somethings.

In bleachbit/GUI.py, there is: self.set_titlebar(self.headerbar)

When I remove it (or adding if os.environ.get('GTK_CSD') != '0':), standard window decoration appear, but the toolbar is lost, (and the GTK inspector of the bleachbit window start without standard window decoration).

bb

@az0 az0 added the gui graphical user interface label Mar 29, 2020
@az0 az0 linked a pull request Jun 19, 2021 that will close this issue
@luigifab
Copy link
Author

luigifab commented Feb 6, 2022

The problem is fixed with gtk3-classic.
gtk3-classic replace gtk3-nocsd.

image

@luigifab luigifab closed this as completed Feb 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gui graphical user interface platform: linux
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants