mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.6K
active users

#gtk

9 posts9 participants1 post today
Continued thread

And today at 10:10 AM Brescia time I'm going to be speaking about #GTK widget layout things.

Ever ran into "gtk_widget_measure: assertion 'for_size >= -1' failed"? Yeah, those layout things.

I had some less time to prepare compared to yesterday's talk (procrastination got the best of me); let's see whether I can still manage it 😅

One of the dumbest design decisions of #GTK is to have "warp scrolling" the default primary mouse button behavior.

Previously, if you middle-clicked the scrollbar, it would jump to that position within the buffer. Primary click moved up/down by page. GTK 3 reversed this for no reason.

There are some limited scenarios where jump scrolling is desired, but you should never break a standard UX convention without a tremendous benefit. There wasn't one.

The new modal dialogs in GTK/gnome that are nailed to the parent window's center and can't be moved are such unintelligent design. Libreoffice now uses these for the paragraph style editing dialog so now you can't move the dialog anymore to look at the effect of your settings on the actual document. A similar issue happens with the "save as" dialog in many GTK applications. Often you'd want to look at the content of the document to decide on a file name.

Web sites are these days insanely bloated, sometimes youtube trows 1GB of RAM consumption per tab at me. GNOME Web is infamously known for consuming several gigs of RAM for almost nothing.

If GNU/Linux on phones is a serious issue, then i think the development of native apps (like GTK apps) for most of the web services that are out there is critical to make the experience bearable. Some of them are good but there's still a lot to be done.

Share of programming languages used by #GTK3 / #GTK4 applications (2025-07-12):

28% #Python
21% #Rust
20% #Vala
17% #C
06% #C++ #Cplusplus
06% #gjs #Javascript #Typescript
03% Other: #Csharp #Go #Lua #Haskell #Swift #Crystal #Swift #D #Perl

65% use GTK4 (90% of them use #libadwaita), while still 35% use GTK3

Method: Source [1] lists 620 awesome #gtk (3/4) #opensource applications and their #programminglanguage

[1] github.com/valpackett/awesome-

#GTK #FLOSS #Linux #Programming #Gnome

@GTK @gnome