Skip to content

Conversation

Simon-Laux
Copy link
Member

@Simon-Laux Simon-Laux commented Jul 22, 2025

TODO

  • rephrase sandboxing paragraph in Security section
  • mention audit and quotes from it (only if it is done by the end of this week (CW29), otherwise we may complete this blogpost without it)
  • rework conclusion?
  • maybe add nlnet logo somewhere

Copy link

github-actions bot commented Jul 22, 2025

Check out the page preview at https://staging.delta.chat/1146/en/2025-07-20-delta-tauri-project

@WofWca WofWca self-requested a review July 22, 2025 09:53
Copy link
Member

@WofWca WofWca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks alright overall

@@ -0,0 +1,231 @@
---
title: DeltaTauri – Porting Delta Chat Desktop to Tauri.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
title: DeltaTauri – Porting Delta Chat Desktop to Tauri.
title: DeltaTauri – Porting Delta Chat Desktop to Tauri

The size of the Flatpak download decreased, but the platform dependency increased by 54%, so the space-saving is not that huge, unless you also have other Flatpak apps using the gnome platform dependency.

<figure>
<img src="{{ page.asset_prefix }}/download-size-comparison-chart.svg">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider labeling the axis.

Copy link
Member Author

@Simon-Laux Simon-Laux Aug 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added it to the <figcaption>, is that enough? or should it be also/rather added to the image?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I meant the images themselves.
But it's probably file.


<br />

| operating system & distribution format | Electron | Tauri |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this a table, but the others are images?

Copy link
Member Author

@Simon-Laux Simon-Laux Aug 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you mean with "others"? the charts for install- and download size or the screenshots in the previous table?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I mean the comparison bar charts.

@@ -0,0 +1,231 @@
---
title: DeltaTauri – Porting Delta Chat Desktop to Tauri.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is a clickbait title for you (might need further adjustments, also of the excerpt)

Suggested change
title: DeltaTauri – Porting Delta Chat Desktop to Tauri.
title: DeltaTauri – how Delta Chat got even more Rusty

Copy link
Member

@nicodh nicodh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general I consider this a good summary of the tauri proejct!

Added some suggestions...

- It's written in Rust - memory safety and a strong type system gives you confidence to contribute.
- The rust package ecosystem has many great systems API crates that work really well and are easy to integrate.
- <!-- TODO: refine and merge this point with the previous one? --> more direct access to everything, like it is easy to contribute and leverage the underlying native APIs from rust, whereas with electron you would need more work, because there your backend code is written in JavaScript not C++, so you additionally need to add bindings for your new code.
- Confidence to contribute:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Confidence to contribute" is already mentioned some lines before. Maybe change the wording in one of the 2 places?

- missing camera and microphone support [deltachat-desktop#4932](https://github.com/deltachat/deltachat-desktop/issues/4932#issuecomment-2927910551) [tauri#8426](https://github.com/tauri-apps/tauri/discussions/8426#discussioncomment-8268622)

We tested the features that depend on system integration and documented the results in [deltachat-desktop#5239](https://github.com/deltachat/deltachat-desktop/issues/5239).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the first paragraph you "some bugs" but later they are "deal-braker".

It would be helpful to say something about the show-stopper. How are the chances they will be addressed "soonish" (especially the upstream issues).

Having no mic & speaker access will be even more severe if deltachat has calls.

Copy link
Member Author

@Simon-Laux Simon-Laux Aug 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be helpful to say something about the show-stopper. How are the chances they will be addressed "soonish" (especially the upstream issues).

I guess it is unlikely that they are addressed soon, unless someone takes the initiative and drives such an effort.

For the issues that we can solve, it depends whether that is a priority for us:

  • the disappearing attachments bug is likely a core bug that we should find and fix anyway, since it could also appear outside of tauri (in theory)
  • single instance hand-off -> that's likely some rust scheduling issue in our code with async, I found that hard to debug, but I guess some of our rust experts could find it easily.

Having no mic & speaker access will be even more severe if deltachat has calls.

we could access those from rust directly, if we do calls with WebRTC then this will be more of a problem, unless we also want to use WebRTC from rust. (atleast on linux, on windows and mac WebRTC, camera and microphone work fine already)

### State of Tauri Edition

The Tauri edition has all features that the electron version has besides of the location streaming map, but there are still some bugs especially on Linux.

Copy link
Member

@nicodh nicodh Jul 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the reason for the missing location streaming map? Just not implemented due to lack of time or are there technical limitations?

Copy link
Member Author

@Simon-Laux Simon-Laux Aug 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lack of "time", basically I wanted to prototype an extension system for it instead of mixing it with the webxdc code. - but this was out of scope for the nlnet project.

the webxdc method could probably be implemented in a few days, but we should really use core's http proxy instead of allowing internet access and fetching the map tiles over the browser bypassing the proxy that the user set. (also the limitation of only allowing one instance per account is not that nice when it opens in a detached window deltachat/deltachat-desktop#3846 (comment))


</style>

There are quite some opinions floating around that Electron apps are bad because they "waste" too many resources.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of quoting "opinions" floating around I would say "Electron apps are often critisized...

Copy link
Member

@WofWca WofWca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, looks good.

The date and com_id will need to be updated, of course.

Copy link
Member

@nicodh nicodh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In view of the fact that there are some show stoppers with an uncertain outlook the last 2 paragraphs (Status & Conclusion) should make clear that:

  • Tauri is in beta status
  • it is not an official deltachat client and Tauri maintenance is depending on voluntary community work
  • there is no set timetable for how it can be brought to production readiness, as there are some upstream issues whose resolution is uncertain in terms of when and how they will be fixed

The "we" in the blog post is not really clear, it could give the impression that Delta Tauri was from the very first beginning planned as next step on the official roadmap of deltachat-desktop development, while it was and is a side project to find out if it could become a step of that roadmap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants