Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
md8z
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
301.
▲
by
md8z
5y ago
That's not quite accurate, let me try to explain it. GTK3 and GTK4 both support a kind of limited "theming" with CSS, and that hasn't changed. In GTK3 before certain versions, the CSS selectors were unstable, so theme de
302.
▲
by
md8z
5y ago
I just checked the Gab front page and the feed is filled with heavily biased political content, anti-vaccination memes, and false claims about the 2020 election. This is not an exaggeration, it's every single post. And several of them
303.
▲
by
md8z
5y ago
Anonymous sites like Blind and 4chan (and other semi-anonymous sites like Twitter and its clones) seem to have the same problem but in reverse, where everything is overloaded with negativity and creates that strong signal, even if it'
304.
▲
by
md8z
5y ago
This comment doesn't have much details and is not really constructive, it would help if you could mention specific things that are bad, and could suggest individual steps to improve them.
305.
▲
by
md8z
5y ago
There was some people that tried to change the name but it turned out to be a ridiculous amount of work, and the project unfortunately didn't last. (Edit: Source https://glimpse-editor.org/posts/a-project-on-hiatus
306.
▲
by
md8z
5y ago
It's still possible to get decent results out of GTK, but I've noticed that developers need to stop fighting against the toolkit and do things using the recommended way. Do not try to just make an app that looks and feels like a W
307.
▲
by
md8z
5y ago
The option is there for you if you need it, at some point you may find that apps require it, and trying to hack around it could be impractical.
308.
▲
by
md8z
5y ago
You may also want to update your setup or use a compositor like picom if you want any kind of real transparency effects, X11 compositing is about 15 years old now so I think not having it would qualify as "extremely out of date" i
309.
▲
by
md8z
5y ago
Any CSS you put in ~/.config/gtk-4.0/gtk.css will load, you can put an @import statement there to load from another file. The issue is not the shadows, the popup window itself is shaped. All that black region is supposed to b
310.
▲
by
md8z
5y ago
Sorry, I thought you meant if you wanted to save it in the style of those Relm declarative macros.
311.
▲
by
md8z
5y ago
Libadwaita hasn't crippled that, it's still very possible to load CSS. You just can't use the gtk-theme-name setting anymore. Maybe it would be better if somebody fixed that thing with the menus. But I think IIRC if you wante
312.
▲
by
md8z
5y ago
GTK is currently the only realistic choice for a (somewhat) modern desktop toolkit for Linux written in C. There's still a lot of C programs and programmers out there. For me it's also one of the better options for a Linux toolkit
313.
▲
by
md8z
5y ago
In my experience, that is a side effect of the complications mentioned in the GP. It has become increasingly difficult to create RAD tools that work well for both designers and programmers at the same time. Modern tools will usually target
314.
▲
by
md8z
5y ago
"Automatically figuring out which parent objects the class you're subclassing derives from" AFAIK this is a language limitation, there is no way in a Rust macro to take a type and get all the traits that are implemented for t
315.
▲
by
md8z
5y ago
"the issue is that the macros for subclassing in gtk4-rs are _really_ verbose and confusing." I didn't find it that complicated but I've also worked on plenty of GObject code in C. It's mostly a direct equivalent to
316.
▲
by
md8z
5y ago
I think it would help if someone who was familiar with the technical details of those WMs and knows what exactly is happening could put that in the bug report, that would go a long way towards helping get it fixed.
317.
▲
by
md8z
5y ago
The UI is a bit rough and still unstable, I think you have to press the search button and then type the name of the widget in the search box and double click. It's just a .ui file editor, so unfortunately you can't use it with Rel
318.
▲
by
md8z
5y ago
Sorry, I edited my comment. Check that for the link about templates. This tutorial also has a C example: https://github.com/ToshioCP/Gtk4-tutorial/blob/main/gfm/sec2...
319.
▲
by
md8z
5y ago
That "gladis" crate seems to be redundant since it does the same thing as template widgets [1]. I would say you can probably drop that one. The "gtk_liststore_item" crate seems useful, have you thought about starting a c
320.
▲
by
md8z
5y ago
Ah okay. I think the work required to get this implemented across the stack will still cost a lot more than $11,000, just saying. Also in my opinion 4K monitors at that size are an unfortunate purchase because the PPI is not high enough to
321.
▲
by
md8z
5y ago
In my experience it becomes an issue if you do something like maximize the window on a 4K screen, GTK3 has noticeable slowdown there whereas GTK4 is faster.
322.
▲
by
md8z
5y ago
I think if KDE actually had a working implementation of this then that would go a really long way towards convincing those other things to support it. IIRC Chrome at least doesn't get the scale from GTK. But KDE's Wayland implemen
323.
▲
by
md8z
5y ago
I think that sounds like a great idea. But I just don't understand why you were so invested in GNOME adopting them when it seems clear that they weren't really that interested, and now it seems like it actually doesn't even m
324.
▲
by
md8z
5y ago
I'm really not sure I understand, you don't have to use GNOME or Linux. Don't put yourself through any unnecessary pain. Also please remember that nobody is obligated to listen to you in open source, participation is entirely
325.
▲
by
md8z
5y ago
Can you please publish this work somewhere so somebody else can use it? Or consider writing a blog about it? I think that would be a great way to help out. Also which compositor did you use? If it wasn't Weston then that could be a pro
326.
▲
by
md8z
5y ago
In my experience you can't really tell open source developers what to do, you can give suggestions, but if they don't agree with you then the most effective way to get your point across would be to write the code yourself. Also, i
327.
▲
by
md8z
5y ago
I really have no idea what you're talking about or what committee you're referring to. KDE can develop its own Wayland extensions and already has a lot of them. They don't need GNOME's approval. I believe they are housed
328.
▲
by
md8z
5y ago
It's not going to happen in GTK4 because it would be an API break and GTK4 has already shipped. So that's why it will have to wait for GTK5 or greater. Edit: For further explanation see here for a longer description of GTK's
329.
▲
by
md8z
5y ago
If you have a working patch then I would suggest working with other developers to get a similar thing implemented elsewhere. Also I don't think this needs significant changes in the Wayland protocol at all so I'm really confused
330.
▲
by
md8z
5y ago
That DPI value AFAIK only changed the text scale, not the scale of widgets. You are thinking of two different things, the GTK3 integer scale actually affects widgets. The Xft.dpi setting also originally only meant text scale but has apparen
More ›