elementary / stylesheet

The GTK Stylesheet for elementary OS
https://elementary.io
GNU General Public License v3.0
321 stars 74 forks source link

No expanders and sort arrows in Gtk4 TreeView widget #1273

Open stsdc opened 9 months ago

stsdc commented 9 months ago

What Happened?

After I moved my app to Gtk4 I found out that TreeView widget does not display expanders and sort arrows, despite show-expanders=true. When I uncheck this property it jumps to the left 1-2px, so it feels like there is no asset (?). Also worth to mention that if I do Adw.init(); they appear, but I'm having some Adwaita style elements appear on top of the elementary style.

Steps to Reproduce

Example Python code to reproduce the issue in the attached file. expanders.txt

Expected Behavior

Gtk4 vs Gtk3 obraz obraz

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

danirabbit commented 9 months ago

Gtk.TreeView is deprectated since Gtk 4.10 so I'm not sure it's worth adding additional support for it since it shouldn't be used anymore.

If someone else wants to provide a branch, I don't mind merging it, but not a priority for me. Sorry!