Conversation

pov: writing a custom scrollable widget

2
0
1

My experiment to write a custom GtkScrollable instead of GtkColumnView to get rid of a bunch of widget performance overhead.

All of these are still real Pango labels (which take a while to layout). But no per-cell CSS (slow) and per-cell signal item bind/unbind (slow) and gtk_label_set_text (apparently also slow, adds up). I also plan to make it keep the scroll pos on reload (a bit broken in ColumnView).

---

sorry, should've titled this "i rewrote my rust app in zig and it became 5x faster 🚀"

0
0
0

@YaLTeR finally, vertical scrolling. took you long enough

2
0
0

@sodiboo @YaLTeR it’s for the phone version of niri

1
0
1

@YaLTeR oh . right.

actually ever since the zoom-out overview it’s been much easier for me to keep track of windows on multiple workspaces and i do regularly zoom in and out and up and down and now . really all 6 directions. but also this makes it hell to find a window that i forgot where i left it. with just one dimension of layout, i can at least easily comb through from start to finish .

0
0
0

@charlotte @sodiboo vertical is reserved for doomscrolling

1
1
3

@YaLTeR @charlotte doomscrolling through my vertical android launcher application

1
0
0

@sodiboo @charlotte "i have just checked all my IMs and social media feeds but I still have time to pass" type mood

0
0
2