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

Tree views don't show expand arrows #336

Open
alexisvl opened this issue May 3, 2024 · 4 comments
Open

Tree views don't show expand arrows #336

alexisvl opened this issue May 3, 2024 · 4 comments

Comments

@alexisvl
Copy link

alexisvl commented May 3, 2024

(sorry, not sure what these are actually called)

Tree views, or at least some of them, don't render the arrows (or was it a +/- on w95? i genuinely don't remember lol). You can still click on the empty space to expand/collapse.

See this pic of the Accounts dialog in Evolution: "On This Computer" should be a child of "Address Books", and "CalDAV" "Contacts" and "On This Computer" should be children of "Calendars":

image

xfce 4.18 and GTK 3.24.38 on Debian 12 bookworm

@1chan-level-journalist
Copy link
Contributor

1chan-level-journalist commented Feb 17, 2025

Can confirm, there shoulf be + and - signs, but there aren't any.
How it should look:

Image

How it actually looks:

Image

Something must've changed in the way Xfce 4.18 handles treeviews that is causing this.

@1chan-level-journalist
Copy link
Contributor

I managed to fix it (at least for Thunar, haven't tried it for anything else yet):

  1. Drop the contents of this archive into your ~/.icons/Chicago95/actions/16/ folder.
  2. Update your icon cache (sudo gtk-update-icon-cache ~/.icons/Chicago95/)
  3. Add the following lines of code to your ~/.themes/Chicago95/gtk-3.0/gtk-treeviews.css:
    treeview.view.expander { -gtk-icon-source: -gtk-icontheme("treeview-closed"); } treeview.view.expander:selected { -gtk-icon-source: -gtk-icontheme("treeview-closed-inverted"); } treeview.view.expander:checked { -gtk-icon-source: -gtk-icontheme("treeview-opened"); } treeview.view.expander:checked:selected { -gtk-icon-source: -gtk-icontheme("treeview-opened-inverted"); }
    And then reboot.

Done!

@grassmunk
Copy link
Owner

awesome, do you mind making a pull request?

@1chan-level-journalist
Copy link
Contributor

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants