stylesheet icon indicating copy to clipboard operation
stylesheet copied to clipboard

No expanders and sort arrows in Gtk4 TreeView widget

Open stsdc opened this issue 1 year ago • 1 comments

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

stsdc avatar Nov 26 '23 19:11 stsdc

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!

danirabbit avatar Dec 06 '23 19:12 danirabbit