News for hackers. Stuff that matters.
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.