julian-alarcon / prospect-mail

Prospect is an Outlook mail desktop client powered by Electron
MIT License
459 stars 66 forks source link

Clicking attachment download link crashes application #255

Closed adamgomes closed 1 year ago

adamgomes commented 1 year ago

When viewing a message in the reading pane that an attachment, clicking the option to download the attachment causes propect-mail to crash. The option to save to one drive works, however.

Installed propect-mail via the snap store:

03:23:54 gomer@callisto Prospect Mail → snap info prospect-mail
name:      prospect-mail
summary:   Unofficial Outlook client
publisher: Julian Alarcon (alarconj)
store-url: https://snapcraft.io/prospect-mail
contact:   https://github.com/julian-alarcon
license:   unset
description: |
  Unofficial Outlook client using Electron. It uses the Web App and wraps it as a standalone
  application using Electron.
  This **only works for Microsoft/Office 365 accounts **, don't use it for personal Outlook.com
  accounts.

  It has **NO DIRECT AFFILIATION** with Microsoft, Microsoft 365 or any product by Microsoft.
commands:
  - prospect-mail
snap-id:      ayYEnTUghgNUVwV5qAYugdfxikzAcSRM
tracking:     latest/stable
refresh-date: 7 days ago, at 11:13 EST
channels:
  latest/stable:    0.4.0 2021-12-13 (22) 85MB -
  latest/candidate: ↑                          
  latest/beta:      ↑                          
  latest/edge:      0.4.0 2021-12-13 (22) 85MB -
installed:          0.4.0            (22) 85MB -

Running prospect-mail on Manjaro Linux:

03:26:13 gomer@callisto Prospect Mail → cat /etc/lsb-release 
DISTRIB_ID=ManjaroLinux
DISTRIB_RELEASE=22.0.0
DISTRIB_CODENAME=Sikaris
DISTRIB_DESCRIPTION="Manjaro Linux"

03:26:14 gomer@callisto Prospect Mail → uname -a
Linux callisto 6.0.15-1-MANJARO #1 SMP PREEMPT_DYNAMIC Wed Dec 21 21:14:38 UTC 2022 x86_64 GNU/Linux

I have to run it w/out the sandbox to make it work at all (is that source of my problem?): BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/prospect-mail_prospect-mail.desktop /var/lib/snapd/snap/bin/prospect-mail --no-sandbox >/dev/null 2>&1 &

03:27:48 gomer@callisto Prospect Mail → ps auxw | grep -i [p]rospect
gomer    1321525  0.1  0.0 21602300 128132 pts/8 Sl   15:14   0:01 /snap/prospect-mail/22/prospect-mail --no-sandbox --no-sandbox --enable-crashpad
gomer    1321655  0.0  0.0 17171180 44908 pts/8  S    15:14   0:00 /snap/prospect-mail/22/prospect-mail --type=zygote --no-zygote-sandbox --no-sandbox --enable-crashpad --enable-crashpad
gomer    1321656  0.0  0.0 17171180 46572 pts/8  S    15:14   0:00 /snap/prospect-mail/22/prospect-mail --type=zygote --no-sandbox --enable-crashpad --enable-crashpad
gomer    1321678  0.2  0.0 17523828 130356 pts/8 Sl   15:14   0:02 /snap/prospect-mail/22/prospect-mail --type=gpu-process --field-trial-handle=13442983297034949840,5811384687057748112,131072 --disable-features=PlzServiceWorker,SpareRendererForSitePerProcess --no-sandbox --enable-crashpad --enable-crash-reporter=6ef4956d-0f16-434a-8b38-13514d06ac13,no_channel --user-data-dir=/home/gomer/snap/prospect-mail/22/.config/Prospect Mail --gpu-preferences=UAAAAAAAAAAgAAAIAAAAAAAAAAAAAAAAAABgAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAABgAAAAAAAAAGAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAACAAAAAAAAAA= --shared-files
gomer    1321680  0.1  0.0 17241880 68844 pts/8  Sl   15:14   0:01 /snap/prospect-mail/22/prospect-mail --type=utility --utility-sub-type=network.mojom.NetworkService --field-trial-handle=13442983297034949840,5811384687057748112,131072 --disable-features=PlzServiceWorker,SpareRendererForSitePerProcess --lang=en-US --service-sandbox-type=none --no-sandbox --enable-crashpad --enable-crash-reporter=6ef4956d-0f16-434a-8b38-13514d06ac13,no_channel --user-data-dir=/home/gomer/snap/prospect-mail/22/.config/Prospect Mail --shared-files=v8_context_snapshot_data:100 --enable-crashpad
gomer    1321682  2.2  0.2 25715904 285248 pts/8 Sl   15:14   0:18 /snap/prospect-mail/22/prospect-mail --type=renderer --enable-crashpad --enable-crash-reporter=6ef4956d-0f16-434a-8b38-13514d06ac13,no_channel --user-data-dir=/home/gomer/snap/prospect-mail/22/.config/Prospect Mail --app-path=/snap/prospect-mail/22/resources/app.asar --enable-sandbox --no-sandbox --field-trial-handle=13442983297034949840,5811384687057748112,131072 --disable-features=PlzServiceWorker,SpareRendererForSitePerProcess --lang=en-US --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=4 --shared-files=v8_context_snapshot_data:100

Please let me know if there's any other information I can provide that might be of help.

julian-alarcon commented 1 year ago

Can you try with the latest beta version (0.5-beta1)? sudo snap install prospect-mail --channel=beta

Also available here in other packages: https://github.com/julian-alarcon/prospect-mail/releases/tag/v0.5.0-beta1

julian-alarcon commented 1 year ago

Closed as no response was given. Please create a new ticket with newer information if you experience a similar issue.