News for hackers. Stuff that matters.
Re:Pop_OS Cosmic Desktop to Make Use of Iced Rust Toolkit Ra... by superkuh on Monday October 03, 2022 @10:28AM (#33067991)
They can do this for the desktop environment programs but the vast majority of GUI programs for linux are going to use Gtk or Qt. Not having to do all the distro-side patches required to fix the GNOME dev's Gtk3 breakage (not sure if Qt is this way or not) will leave their distro much rougher than other distros when running non-Pop_OS programs.

Also, the fact that Iced Rust also targets the 'web' suggests to me it will not be a fully capable toolkit (as web cannot do what native can). Seems like they're going to be using this by themselves... and that's fine. Pop_OS has gone off on their own successfully before.

Re:Pop_OS Cosmic Desktop to Make Use of Iced Rust Toolkit Ra... by pkulak on Monday October 03, 2022 @12:04PM (#33069386)
Plenty of folks use WMs like Sway that don't use GTK or QT and everything is fine. You just pick a theme and it gets passed to GTK and QT apps. I guess if you show decorations, they differ between apps, but it's really not terrible. I think we're all used to that by now, on every OS.
Re:Pop_OS Cosmic Desktop to Make Use of Iced Rust Toolkit Ra... by superkuh on Monday October 03, 2022 @09:43PM (#33075912)
I'm not talking problems with DE toolkit applications. I'm saying that without the additional incentive to round down the sharp edges in Gtk3 with a custom distro patch set to get their DE working right (they won't have to because it's not gtk) they probably won't maintain the aformentioned required distro patches to gtk to fix all the frozen in bugs/feature removals. And so running gtk applications (most linux GUI applications) on these distros is more likely to have these sharp edges.
Re:Pop_OS Cosmic Desktop to Make Use of Iced Rust Toolkit Ra... by linmob on Tuesday October 04, 2022 @01:09AM (#33076868)
Pop!_OS is still based on Ubuntu, so I doubt that they are going to ship unpatched upstream GTK, it's more likely going to be patched by Canonical.
Re:Pop_OS Cosmic Desktop to Make Use of Iced Rust Toolkit Ra... by superkuh on Tuesday October 04, 2022 @11:44AM (#33082038)
Unfortunately Canonical does not fix gtk3 either. Ubuntu after 14.04 is broken and you cannot paste file paths into Gtk3 program's File-Open dialogs without an elaborate key sequence to bring up the pathbar first. But it is fixed in gtk4, which Gnome uses, so Canonical doesn't care.
Re:Pop_OS Cosmic Desktop to Make Use of Iced Rust Toolkit Ra... by mmstick76 on Saturday October 08, 2022 @10:16PM (#33137750)
We will have our own file dialogs as we complete the Iced GUI library.
Re:Pop_OS Cosmic Desktop to Make Use of Iced Rust Toolkit Ra... by givemeethekeys on Monday October 03, 2022 @11:32AM (#33068939)
I remember running GTK apps on KDE desktops just fine. Why wouldn't I be able to run GTK apps on their ICE powered desktop?

Re: web - isn't the purpose of WASM to make possible in web environments that which is possible on desktop environments?

Re:Pop_OS Cosmic Desktop to Make Use of Iced Rust Toolkit Ra... by 1langisbad on Monday October 03, 2022 @11:47AM (#33069146)
> Why wouldn't I be able to run GTK apps on their ICE powered desktop?

Of course you would be able to, just don't expect the theming to match, the menus to have similar structures, dialogs having buttons in predictable places, etc.

> isn't the purpose of WASM to make possible in web environments that which is possible on desktop environments?

I don't think so. I think this is the purpose of all the new Web APIs more than WASM. The sandboxing and the inability to call out to the system is crippling for GUIs in WebAssembly. It works well if you control the drawing and are able to output raw data to a <canvas>, but it's a hassle. WASM works the best for things like opencv or dlib, but I think the GUI for the apps compiled to WASM will need to be written in JS for quite some time, if not forever.

Re:Pop_OS Cosmic Desktop to Make Use of Iced Rust Toolkit Ra... by dmd on Monday October 03, 2022 @12:14PM (#33069545)
> Of course you would be able to, just don't expect the theming to match, the menus to have similar structures, dialogs having buttons in predictable places, etc.

I think nearly all Linux users - and most Mac/Windows users who don't remember how things were back in the XP or classic Mac era - don't realize these are even goals or something that has ever existed.

Re:Pop_OS Cosmic Desktop to Make Use of Iced Rust Toolkit Ra... by tssva on Monday October 03, 2022 @01:46PM (#33071036)
I remember exactly how things were with Windows going back to Windows 3.0. This never existed on Windows.
Re:Pop_OS Cosmic Desktop to Make Use of Iced Rust Toolkit Ra... by 5d8767c68926 on Monday October 03, 2022 @01:38PM (#33070932)
It does feel like an odd complaint. I have had mismatched desktop elements for a very long time now. What's another oddball entry on the list?
Re:Pop_OS Cosmic Desktop to Make Use of Iced Rust Toolkit Ra... by mmstick76 on Saturday October 08, 2022 @10:18PM (#33137758)
Rest assured that anyone with experience with a GTK3/4 application is going to have an easy time with the COSMIC designs. A lot of aspects will be similar. Maybe even a bit more standardized in some ways.
Re:Pop_OS Cosmic Desktop to Make Use of Iced Rust Toolkit Ra... by nvrspyx on Monday October 03, 2022 @11:39AM (#33069044)
Maybe they mean aesthetically? KDE basically makes a clone of their Breeze theme for GTK to try to make all apps have a consistent look on KDE. I believe the reverse is true with an Adwaita theme for KDE/Qt apps, but don't quote me on that.
Re:Pop_OS Cosmic Desktop to Make Use of Iced Rust Toolkit Ra... by linmob on Tuesday October 04, 2022 @01:16AM (#33076893)
The same is true with an Adwaita theme for KDE/Qt Apps. I used to do this on both, Plasma and GNOME.

These days I style my Qt/KDE apps all Breeze on GNOME and vice versa when I am on KDE, because unfortunately icon sets just don’t match up and I've run into 'invisible buttons' issues way to often.

As long as both are in dark/light mode I find this way less annoying than having to hope for a good enough tooltip on mouse over (or just tap and see on mobile).

Re:Pop_OS Cosmic Desktop to Make Use of Iced Rust Toolkit Ra... by spookie on Monday October 03, 2022 @12:10PM (#33069473)
You can find versions for both "toolkits" even in custom themes. For the end user it's mostly a non issue. Even with different backends it looks more consistent than Windows.
Re:Pop_OS Cosmic Desktop to Make Use of Iced Rust Toolkit Ra... by nvrspyx on Monday October 03, 2022 @01:33PM (#33070848)
That's true, but the Iced theme that they're showing in the images looks like it would be very difficult to recreate in GTK and Qt. That's not mentioning the increased amount of time and effort in maintaining those themes. Perhaps this is an area that the community will contribute to though.
Re:Pop_OS Cosmic Desktop to Make Use of Iced Rust Toolkit Ra... by mmstick76 on Saturday October 08, 2022 @10:19PM (#33137763)
Color palette adjustments alone would bring it pretty close. We can automatically generate them on the fly.