Or even with (which should be supported on Electron 33):
mailspring --ozone-platform-hint=auto
I have tried with/without the --enable-features=WaylandWindowDecorations switch.
Whatever I do, Mailspring appears to start normally, and the tray icon appears. However, when I click on Open Inbox from the tray icon menu, nothing happens (no visible window).
Am I missing something???
To Reproduceā¦
Steps to reproduce the behavior:
Run Mailspring with any combination of Wayland switches
Click on Open Inbox in the tray icon menu
Expected Behavior
Mailspring window should show normally.
Screenshots
N/A
Setup
OS and Version: Arch Linux with GNOME
Installation Method: from AUR, mailspring-bin package with electron33-bin dependency
I am also curious, I tried similar settings, and it was not working. I already had to hack myself into using kwalletā¦
I suspect this issue is also related to the fact that Mailspring (its Flatpak version in particular) does not allow shifting the focus on new (browser) window when clicking on any link in KDE
Hey folks, good news! Weāre about to release an update to Mailspring (1.17.0) which moves it to Electron 39. Electron 39 supports Wayland and actually defaults to it. So I expect that this will not be an issue any more.
Still getting the same error on 1.17, i.e. Mailspring appears to start normally, and the tray icon appears. However, when I click on Open Inbox from the tray icon menu, nothing happens (no visible window).
Checked and Mailspring is running on Wayland, but the problem persists.
Works normally if I start it with mailspring --ozone-platform=x11.
I also get an error regarding libtidy in 1.17:
[0115/000905.948840:ERROR:third_party/crashpad/crashpad/util/file/file_io_posix.cc:153] open /home/drakkar/.config/Mailspring/Crashpad/pending/43f98123-3795-4e7d-a053-ccaabbda310a.lock: File exists (17)
Running database migrations
App load time: 269ms
Error: Could not load libtidy. Tried: libtidy.so.5, libtidy.so.58, libtidy.so.5deb1, libtidy.so.60, libtidy.so.6, libtidy.so. Last error: libtidy.so: cannot open shared object file: No such file or directory
Install libtidy on your system (e.g., āapt install libtidy-devā or ādnf install libtidy-develā)
{āerrorā:null}
Manual update check (updates.getmailspring.com/check/linux/x64/1.17.0-5e478521/anonymous/stable) returned 204
(node:45685) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use electron --trace-deprecation ... to show where the warning was created)
Fixed the error by installing the tidy package (on Arch Linux)
Same issue here. I opened a separate bug report. Installing Tidy fixed the issues with āError: Could not load libtidyā, but I still have Wayland errors and cannot open it under Wayland.
Same. Well, it works on a machine with intel onboard graphics but not on another one with NVIDIA graphics.
Hereās the output with wayland (X11 also works)
$ mailspring --ozone-platform=wayland Running database migrations App load time: 262ms {"error":null} [7348:0121/102242.862432:ERROR:ui/ozone/platform/wayland/host/wayland_wp_color_manager.cc:273] Unable to set image t ransfer function. [7348:0121/102242.862447:ERROR:ui/ozone/platform/wayland/host/wayland_wp_color_manager.cc:191] Failed to populate im age description for color space {primaries:BT709, transfer:SRGB, matrix:RGB, range:FULL} [7348:0121/102242.864050:ERROR:ui/ozone/platform/wayland/host/wayland_wp_color_manager.cc:273] Unable to set image t ransfer function. [7348:0121/102242.864063:ERROR:ui/ozone/platform/wayland/host/wayland_wp_color_manager.cc:191] Failed to populate im age description for color space {primaries:BT709, transfer:SRGB, matrix:RGB, range:FULL} Manual update check (``updates.getmailspring.com/check/linux/x64/1.17.1-dd5b3e56/3c19f457-d2a3-4bb7-9589-d788c9b3c9b9/ stable) returned 204 [7348:0121/102243.358693:ERROR:ui/ozone/platform/wayland/host/wayland_wp_color_manager.cc:273] Unable to set image t ransfer function. [7348:0121/102243.358710:ERROR:ui/ozone/platform/wayland/host/wayland_wp_color_manager.cc:191] Failed to populate im age description for color space {primaries:BT709, transfer:SRGB, matrix:RGB, range:FULL} (node:7348) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.