RetroFed Forum
Your home away from modern life.
Oh look, another Electron app. How original…
Post Reply
AuthorMessage
cannedtuna lemmy.world cannedtuna@lemmy.world
Joined: 2023-06-21
Quote

436   Original
slazer2au lemmy.world slazer2au@lemmy.world
Joined: 2023-06-30
#2 · Quote Reply

Because why go for native performance when you can go for minimum effort on all platforms.

150
SavvyBeardedFish reddthat.com SavvyBeardedFish@reddthat.com
Joined: 2023-08-11
#3 · (edited) Quote Reply

Because why go for native performance when you can go for minimum effort on all platforms.

Why have a consistent Wayland experience when each application can run it's own Electron version with varying degrees of enforced Wayland flags, and/or such an outdated Chromium version Wayland is just jank.

Edit:

Was trying to say that most of these CEF/Electron applications all need their own separate Wayland specific (Chromium) flags to have better Wayland support/integration. And the older Electron applications typically use an older Chromium as base, having even worse Wayland support... Was not trying to make this a "Wayland bad!" kind of post.

TL;DR: Electron applications have wildly varying level of Wayland support/integration, don't have any Wayland issues other than specific CEF/Electron apps!

4
dan upvote.au dan@upvote.au
Joined: 2023-06-14
#4 · Quote Reply

Why have a consistent Wayland experience when each application can run it's own Electron version with varying degrees of enforced Wayland flags, and/or such an outdated Chromium version Wayland is just jank. Edit: Was trying to say that most of these CEF/Electron applications all need their own separate Wayland specific (Chromium) flags to have better Wayland support/integration. And the older ...

Wayland isn't the problem. Chrome just doesn't behave well with it. I haven't had any Wayland-related issues with Firefox.

28
Semperverus lemmy.world semperverus@lemmy.world
Joined: 2023-06-11
#5 · Quote Reply

Why have a consistent Wayland experience when each application can run it's own Electron version with varying degrees of enforced Wayland flags, and/or such an outdated Chromium version Wayland is just jank. Edit: Was trying to say that most of these CEF/Electron applications all need their own separate Wayland specific (Chromium) flags to have better Wayland support/integration. And the older ...

I think you're missing the point. What you said is a problem for sure, but that problem isn't related to what we are talking about here.

2
SavvyBeardedFish reddthat.com SavvyBeardedFish@reddthat.com
Joined: 2023-08-11
#6 · (edited) Quote Reply

Wayland isn't the problem. Chrome just doesn't behave well with it. I haven't had any Wayland-related issues with Firefox.

Yeah, maybe it was just badly worded by me...

most (if not all) Wayland issues I currently have are related to Chromium, and especially CEF/Electron applications that are based on older Chromium versions. Weren't trying to say that this is an inherent Wayland issue, considering most of the applications works as expected.

13
paydequeso piefed.social uuj8za@piefed.social
Joined: 2026-03-17
#7 · Quote Reply

I know it's easy to dunk on Electron... but have any of yall written any desktop apps with native frameworks? I wrote a small GTK4+Vala app once and I discovered desktop frameworks are very different than developing webapps. Customizing the look, feel, interaction of elements, and general mechanics, seems like a toooon of effort. (It kinda seems like you're not supposed to customize it.) Web development is waaaaaaaay more friendly towards customization. Which as a company, you want your app to look like your company, not some generic OS bundled app.

And then you have to repeat all that effort for crappleOS and Wangblows?... And then you gotta hope that it's even possible to do the thing you want in different OSes. Sheesh.

I mean, I'd be happy if everything was native apps, but I also understand why people don't tend to choose that route.

40
lemmydividebyzero reddthat.com lemmydividebyzero@reddthat.com
Joined: 2024-08-28
#8 · Quote Reply

Lol, this is funny

6
RheumatoidArthritis mander.xyz RheumatoidArthritis@mander.xyz
Joined: 2025-06-04
#9 · (edited) Quote Reply

I know it's easy to dunk on Electron... but have any of yall written any desktop apps with native frameworks? I wrote a small GTK4+Vala app once and I discovered desktop frameworks are very different than developing webapps. Customizing the look, feel, interaction of elements, and general mechanics, seems like a toooon of effort. (It kinda seems like you're not supposed to customize it.) Web de...

That's kind of the point of the frameworks though? Electron apps suck not only because of resource footprint, they don't look and feel native, if they have any accessibility it's usually custom and different for every program. Too much customization is bad.

I remember the times before UI toolkits took over. These programs had soul and were beautiful in their own way, but you had to learn how UI elements worked in each of them separately. The same thing happens with web apps now. Tab and the other usual keyboard shortcuts rarely work, controls are all custom.

X-Copy-Probably-the-most-popular-Amiga-program-ever-Amiga-news-commodore-news-piracy-on-the-80s-and-90s-2334938446

dpaint01-1293592928

a5003-crop-2302041451-01

32
Wildmimic anarchist.nexus Wildmimic@anarchist.nexus
Joined: 2025-09-05
#10 · Quote Reply

Why have a consistent Wayland experience when each application can run it's own Electron version with varying degrees of enforced Wayland flags, and/or such an outdated Chromium version Wayland is just jank. Edit: Was trying to say that most of these CEF/Electron applications all need their own separate Wayland specific (Chromium) flags to have better Wayland support/integration. And the older ...

Always that reflex against Wayland - as someone who has switched to Linux not so long ago i have a hard time with the mindset long time Linux users have against Wayland. I understand that it might be annoying if someone is used to his X-Server and that some tools that people are used to for a decade will get left behind. But as a new user I do not have anything negative to say about Wayland. It behaves nicely with my multi-monitor setup and VRR, has no issues with my Nvidia graphics card, and Xwayland covers tools that can't or won't migrate. Using Pipewire allows Steam Remote Play. In the year or so since i switched to Linux, the stability has changed from "it's ok, but annoys me sometimes" to "rock-solid".

Y'all have to recognize that there is a new generation of Linux Users around, which does not have nostalgic feelings towards X, and for those Wayland is simply the normal way things run. Whining will not change that.

8
dan upvote.au dan@upvote.au
Joined: 2023-06-14
#11 · (edited) Quote Reply

Yeah, maybe it was just badly worded by me... most (if not all) Wayland issues I currently have are related to Chromium, and especially CEF/Electron applications that are based on older Chromium versions. Weren't trying to say that this is an inherent Wayland issue, considering most of the applications works as expected.

Ah I see. I understand now! I thought you may have been one of the people that is still saying X11 is superior, even though Wayland is very usable now.

Ive been hitting weird issues in Chrome too, and had to disable GPU compositing to fix them. Unfortunately I have to use Chrome at work - we're not allowed to use other browsers, as only Chrome has the endpoint security functionality they require (provided by Chrome Enterprise Premium). No other browsers have or can provide the same features.

4
SavvyBeardedFish reddthat.com SavvyBeardedFish@reddthat.com
Joined: 2023-08-11
#12 · Quote Reply

Always that reflex against Wayland - as someone who has switched to Linux not so long ago i have a hard time with the mindset long time Linux users have against Wayland. I understand that it might be annoying if someone is used to his X-Server and that some tools that people are used to for a decade will get left behind. But as a new user I do not have anything negative to say about Wayland. It...

Very much pro-Wayland in my case.

Just saying that certain CEF/Electron apps (especially those running on older Chromium version) are what is causing certain Wayland specific issues, hence my issue is on the application side (Steam, Spotify etc.), not on Wayland's side... My bad for the badly worded post which made it seem like the classical "Wayland bad!" posts.

I haven't touched X11/Xorg in years, nor am I planning on reverting back to it anytime.

2
Eat_Your_Paisley lemmy.world Eat_Your_Paisley@lemmy.world
Joined: 2025-06-13
#13 · Quote Reply

Always that reflex against Wayland - as someone who has switched to Linux not so long ago i have a hard time with the mindset long time Linux users have against Wayland. I understand that it might be annoying if someone is used to his X-Server and that some tools that people are used to for a decade will get left behind. But as a new user I do not have anything negative to say about Wayland. It...

The Wayland debate is the same as the systemd debate of 2015 minus the death threats.

8
irelephant [he/him] lemmy.dbzer0.com irelephant@lemmy.dbzer0.com
Joined: 2025-06-04
#14 · Quote Reply

[deleted]
20
ooterness lemmy.world ooterness@lemmy.world
Joined: 2023-06-17
#15 · Quote Reply

[deleted]

Counterpoint: Every developer should have to test their app on a machine with 1 GB of RAM and a dialup modem before inflicting their bloat on the rest of the world.

49
Wildmimic anarchist.nexus Wildmimic@anarchist.nexus
Joined: 2025-09-05
#16 · Quote Reply

Very much pro-Wayland in my case. Just saying that certain CEF/Electron apps (especially those running on older Chromium version) are what is causing certain Wayland specific issues, hence my issue is on the application side (Steam, Spotify etc.), not on Wayland's side... My bad for the badly worded post which made it seem like the classical "Wayland bad!" posts. I haven't touched X11/Xorg in y...

I misread that, but it seems i am not the only one :-) We can agree on Electron being a lazy way of providing a program - I'll excuse it if it's a small game from a single dev, but everyone else should do it the right way.

4
SavvyBeardedFish reddthat.com SavvyBeardedFish@reddthat.com
Joined: 2023-08-11
#17 · Quote Reply

I misread that, but it seems i am not the only one :-) We can agree on Electron being a lazy way of providing a program - I'll excuse it if it's a small game from a single dev, but everyone else should do it the right way.

Overall a fair assessment! 🤝

3
GreyEyedGhost piefed.ca GreyEyedGhost@piefed.ca
Joined: 2025-11-30
#18 · Quote Reply

I know it's easy to dunk on Electron... but have any of yall written any desktop apps with native frameworks? I wrote a small GTK4+Vala app once and I discovered desktop frameworks are very different than developing webapps. Customizing the look, feel, interaction of elements, and general mechanics, seems like a toooon of effort. (It kinda seems like you're not supposed to customize it.) Web de...

Once upon a time, we differentiated our apps based on their capabilities and gave them a consistent interface so people who knew how to use Windows|Linux|MacOS apps would already be familiar with how they operated. Now we differentiate on looks/user experience, and many of them arent capable at all.

29
grue lemmy.world grue@lemmy.world
Joined: 2023-06-13
#19 · (edited) Quote Reply

Because why go for native performance when you can go for minimum effort on all platforms.

When all you have is a hammer JavaScript, everything looks like a nail web page.

Kids these days don't bother learning languages that actually compile to native apps.

69
grue lemmy.world grue@lemmy.world
Joined: 2023-06-13
#20 · Quote Reply

I know it's easy to dunk on Electron... but have any of yall written any desktop apps with native frameworks? I wrote a small GTK4+Vala app once and I discovered desktop frameworks are very different than developing webapps. Customizing the look, feel, interaction of elements, and general mechanics, seems like a toooon of effort. (It kinda seems like you're not supposed to customize it.) Web de...

Customizing the look, feel, interaction of elements, and general mechanics, seems like a toooon of effort. (It kinda seems like you’re not supposed to customize it.)

Holy shit, he figured it out!

So yeah, it turns out that platform human interface guidelines are a thing, and for good reason.

15
zr0 lemmy.dbzer0.com zr0@lemmy.dbzer0.com
Joined: 2025-03-15
#21 · Quote Reply

I get that it sucks. Are there any alternatives, where I have one codebase for all platforms?

6
paraphrand lemmy.world paraphrand@lemmy.world
Joined: 2023-07-12
#22 · Quote Reply

Once upon a time, we differentiated our apps based on their capabilities and gave them a consistent interface so people who knew how to use Windows|Linux|MacOS apps would already be familiar with how they operated. Now we differentiate on looks/user experience, and many of them arent capable at all.

People took the wrong lessons from beautiful GUI design. Anyone who felt it was just aesthetics missed the point. It wasn’t just flashy UI on what boils down to a database.

8
paraphrand lemmy.world paraphrand@lemmy.world
Joined: 2023-07-12
#23 · (edited) Quote Reply

Counterpoint: Every developer should have to test their app on a machine with 1 GB of RAM and a dialup modem before inflicting their bloat on the rest of the world.

I just tried doing some work on a convention center WiFi connection in a small town. And it was clear the software I was using had no concept of slow internet. No progress bars on downloads, no resuming when connections dropped.

Everything just assumes max performance and fast network.

works on my machine

22
atomicbocks sh.itjust.works atomicbocks@sh.itjust.works
Joined: 2025-02-16
#24 · Quote Reply

When all you have is a hammer JavaScript, everything looks like a nail web page. Kids these days don't bother learning languages that actually compile to native apps.

All of my degree was in C, C++, C#, Java, etc. and the one class I had that did web applications did Java backends and middleware with PHP frontends. It wasn’t until I got into the industry that I had to learn Angular, Electron, React, Django, etc.

I don’t think it’s the devs making these decisions.

50
deadbeef79000 lemmy.nz deadbeef79000@lemmy.nz
Joined: 2023-06-17
#25 · Quote Reply

Ah I see. I understand now! I thought you may have been one of the people that is still saying X11 is superior, even though Wayland is very usable now. Ive been hitting weird issues in Chrome too, and had to disable GPU compositing to fix them. Unfortunately I have to use Chrome at work - we're not allowed to use other browsers, as only Chrome has the endpoint security functionality they requir...

GPU composting

That might be the problem.

2
macniel feddit.org DmMacniel@feddit.org
Joined: 2024-06-22
#26 · Quote Reply

[deleted]

Thank the makers that we have gui builders on most languages for most platforms, so all you need to do is wire up the controls with your backend :)

1
zod000 lemmy.dbzer0.com zod000@lemmy.dbzer0.com
Joined: 2025-08-12
#27 · Quote Reply

That's kind of the point of the frameworks though? Electron apps suck not only because of resource footprint, they don't look and feel native, if they have any accessibility it's usually custom and different for every program. Too much customization is bad. I remember the times before UI toolkits took over. These programs had soul and were beautiful in their own way, but you had to learn how UI...

100%, but man these are making me nostalgic.

9
PM_ME_VINTAGE_30S [he/him] anarchist.nexus PM_ME_VINTAGE_30S@anarchist.nexus
Joined: 2026-01-09
#28 · Quote Reply

FUTURE

47
TrickDacy lemmy.world TrickDacy@lemmy.world
Joined: 2023-07-27
#29 · Quote Reply

I get that it sucks. Are there any alternatives, where I have one codebase for all platforms?

The whiners won't answer

-1
TrickDacy lemmy.world TrickDacy@lemmy.world
Joined: 2023-07-27
#30 · Quote Reply

Because why go for native performance when you can go for minimum effort on all platforms.

Because you want a cross platform solution?

I get that electron can be slow, bloated, etc, but the amount of ire it draws is overboard.

8
chunes lemmy.world chunes@lemmy.world
Joined: 2025-04-08
#31 · (edited) Quote Reply

I know it's easy to dunk on Electron... but have any of yall written any desktop apps with native frameworks? I wrote a small GTK4+Vala app once and I discovered desktop frameworks are very different than developing webapps. Customizing the look, feel, interaction of elements, and general mechanics, seems like a toooon of effort. (It kinda seems like you're not supposed to customize it.) Web de...

Which as a company, you want your app to look like your company, not some generic OS bundled app

Consistency of UI used to be treasured.

19
macniel feddit.org DmMacniel@feddit.org
Joined: 2024-06-22
#32 · Quote Reply

I get that it sucks. Are there any alternatives, where I have one codebase for all platforms?

Have you heard of Java? Or any other language that abstracts away the GUI gluecode. Or don't just even go electron and provide a web app instead.

1
macniel feddit.org DmMacniel@feddit.org
Joined: 2024-06-22
#33 · (edited) Quote Reply

Because you want a cross platform solution? I get that electron can be slow, bloated, etc, but the amount of ire it draws is overboard.

Because different OSes follow different Human Interaction Guidelines and I expect that applications follow the native look and feel.

4
macniel feddit.org DmMacniel@feddit.org
Joined: 2024-06-22
#34 · Quote Reply

I know it's easy to dunk on Electron... but have any of yall written any desktop apps with native frameworks? I wrote a small GTK4+Vala app once and I discovered desktop frameworks are very different than developing webapps. Customizing the look, feel, interaction of elements, and general mechanics, seems like a toooon of effort. (It kinda seems like you're not supposed to customize it.) Web de...

Sorry but the window real estate of an application isn't meant for branding and advertisement. For that you have splash screens and the about dialogue, or even the help pages. And for more branding your webpage.

7
macniel feddit.org DmMacniel@feddit.org
Joined: 2024-06-22
#35 · (edited) Quote Reply

That's kind of the point of the frameworks though? Electron apps suck not only because of resource footprint, they don't look and feel native, if they have any accessibility it's usually custom and different for every program. Too much customization is bad. I remember the times before UI toolkits took over. These programs had soul and were beautiful in their own way, but you had to learn how UI...

X-Copy with 81 sectors?! What kind of madness is that?

3
dreamkeeper literature.cafe dreamkeeper@literature.cafe
Joined: 2025-10-28
#36 · Quote Reply

Have you heard of Java? Or any other language that abstracts away the GUI gluecode. Or don't just even go electron and provide a web app instead.

Java apps are even worse than electron. Not to mention you need to install Java to run them.

2
donnachaidh lemmy.world donnachaidh@lemmy.world
Joined: 2023-06-15
#37 · Quote Reply

I get that it sucks. Are there any alternatives, where I have one codebase for all platforms?

Tauri is one I'm aware of.

2
dan upvote.au dan@upvote.au
Joined: 2023-06-14
#38 · Quote Reply

GPU composting That might be the problem.

Oops. Fixed!

2
Billegh lemmy.world bhamlin@lemmy.world
Joined: 2023-07-01
#39 · Quote Reply

Because you want a cross platform solution? I get that electron can be slow, bloated, etc, but the amount of ire it draws is overboard.

Having built applications with Microsoft's mfc, Java's swing, the omnipresent Qt, and whatever nastiness Mac was using in the early 00's, electron is worth the silliness. Trust me. Trust me.

10
gwl [he/him] lemmy.blahaj.zone gwl@lemmy.blahaj.zone
Joined: 2025-10-16
#40 · Quote Reply

Have you heard of Java? Or any other language that abstracts away the GUI gluecode. Or don't just even go electron and provide a web app instead.

Java 😂

4
AnExerciseInFalling programming.dev AnExerciseInFalling@programming.dev
Joined: 2023-06-30
#41 · Quote Reply

All of my degree was in C, C++, C#, Java, etc. and the one class I had that did web applications did Java backends and middleware with PHP frontends. It wasn’t until I got into the industry that I had to learn Angular, Electron, React, Django, etc. I don’t think it’s the devs making these decisions.

It's the minimum effort that translates to minimum time that translates to minimum cost for the business. Why hire another developer for a mobile app (or another platform) when you could just have the same web dev write it. Or without hiring another dev, why have the same dev need to build up tooling in another language when you can just reuse from the existing platform

21
InternetCitizen2 lemmy.world InternetCitizen2@lemmy.world
Joined: 2023-06-16
#42 · Quote Reply

Having built applications with Microsoft's mfc, Java's swing, the omnipresent Qt, and whatever nastiness Mac was using in the early 00's, electron is worth the silliness. Trust me. Trust me.

Reminder to talk to your doctor about a colonoscopy

8
ikidd lemmy.world ikidd@lemmy.world
Joined: 2023-06-23
#43 · Quote Reply

I get that it sucks. Are there any alternatives, where I have one codebase for all platforms?

Flutter

5
lobut lemmy.ca lobut@lemmy.ca
Joined: 2023-06-13
#44 · Quote Reply

Java apps are even worse than electron. Not to mention you need to install Java to run them.

I heard Java can compile down to native binaries now. I interviewed someone that told me, I haven't written a line of Java in 15 years.

3
yetAnotherUser lemmy.ca yetAnotherUser@lemmy.ca
Joined: 2023-07-08
#45 · Quote Reply

This edit is really well done.

29
atomicbocks sh.itjust.works atomicbocks@sh.itjust.works
Joined: 2025-02-16
#46 · Quote Reply

It's the minimum effort that translates to minimum time that translates to minimum cost for the business. Why hire another developer for a mobile app (or another platform) when you could just have the same web dev write it. Or without hiring another dev, why have the same dev need to build up tooling in another language when you can just reuse from the existing platform

Exactly, that and the “we are a [insert product name here] shop” mentality. The things I have had to fight for over the years are mind boggling.

7
TrickDacy lemmy.world TrickDacy@lemmy.world
Joined: 2023-07-27
#47 · Quote Reply

Because different OSes follow different Human Interaction Guidelines and I expect that applications follow the native look and feel.

Ok, seems like a separate issue. The question was why do this and I gave an answer. Doesn't mean it's wrong because you can find a reason not to do it.

3
Wispy2891 lemmy.world Wispy2891@lemmy.world
Joined: 2023-07-13
#48 · Quote Reply

Because you want a cross platform solution? I get that electron can be slow, bloated, etc, but the amount of ire it draws is overboard.

Yes but sometimes, for example core parts of windows 11 like the start menu, don't need to be cross platform and should be native, not a pwa

26
TrickDacy lemmy.world TrickDacy@lemmy.world
Joined: 2023-07-27
#49 · Quote Reply

Yes but sometimes, for example core parts of windows 11 like the start menu, don't need to be cross platform and should be native, not a pwa

Lol I mean I would never use windows 11 or defend that use of it. I'm just saying a valid use of electron is to target multiple platforms with minimal development hurdles.

9
BlackLaZoR lemmy.world BlackLaZoR@lemmy.world
Joined: 2026-02-26
#50 · Quote Reply

Yes but sometimes, for example core parts of windows 11 like the start menu, don't need to be cross platform and should be native, not a pwa

Especially since they had already native code in previous windows...

11
BlackLaZoR lemmy.world BlackLaZoR@lemmy.world
Joined: 2026-02-26
#51 · Quote Reply

Java apps are even worse than electron. Not to mention you need to install Java to run them.

Because Java totally doesn't exist for every platform ever

3
Post Reply Page 1 of 2   Goto page 1, 2 Last »
Back to top