Open Bug 1933065 Opened 1 year ago Updated 11 months ago

Account Server Settings, Local Folder is not selectable/changeable with snap version.

Categories

(Thunderbird :: Account Manager, defect, P2)

Thunderbird 133
defect

Tracking

(Not tracked)

People

(Reporter: rumplstielz, Unassigned)

References

Details

(Keywords: snap)

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36

Steps to reproduce:

Upgrade snap version to 133.0b5 (64-Bit) --> Settings --> Account Settings --> Server Settings --> Mail Storage --> Local Folder --> change the path with select folder button --> select a folder --> path does not change from the snap directory /run/user/xxxxx95/mailwhatsoeverfolder

Actual results:

local path does not change from the snap directory /run/user/xxxxx95/mailwhatsoeverfolder

Expected results:

local path should have been changed to the path I want it to point to, as I want to backup this folder.

Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:133.0) Gecko/20100101 Thunderbird/133.0

bla@sepp:~$ snap connections thunderbird
removable-media thunderbird:removable-media :removable-media manual

Please in the Steps to reproduce, Actual results, and Expected results, fill in those things an not some other information.

Are you reporting that the path changes from a "real path" to "/run/user..."? What are the paths.
Which version did it work in?

Keywords: snap

This issue should probably be reported to https://launchpad.net/ubuntu/+source/thunderbird/+bugs

(In reply to Magnus Melin [:mkmelin] from comment #3)

Please in the Steps to reproduce, Actual results, and Expected results, fill in those things an not some other information.

Are you reporting that the path changes from a "real path" to "/run/user..."? What are the paths.
Which version did it work in?

Hi, thank you for your reply. I reported everything what you are asking for already in my first comments and in the description of the issue.

Are you reporting that the path changes from a "real path" to "/run/user..."? What are the paths. --> YES

Which version did it work in? --> thunderbird (Revision 579) (last I know)

Steps to reproduce (again summarized, as I did in the issue description):
Upgrade snap version to 133.0b5 (64-Bit) --> Settings --> Account Settings --> Server Settings --> Mail Storage --> Local Folder --> change the path with select folder button --> select a folder --> path does not change from the snap directory /run/user/xxxxx95/mailwhatsoeverfolder

I, BTW, will open an issue in https://launchpad.net/ubuntu/+source/thunderbird/+bugs (as suggested by @Corey Bryant)

Heather, what can we do to advance this?

Flags: needinfo?(heather)

I tried changing the Local Directory in a few different versions of the Thunderbird snap on an Ubuntu 24.04 system:

  • 128.9.1esr (revision 706): This is from --stable today
  • 138.0b2-1 (revision 708): This is from --beta today
  • 133.0b5-2 (revision 579): This is the reporter's last reported working version
  • 128.0esr-2 (revision 496): This is the first 128 esr snap release
  • 115.12.2-1 (revision 490): This is the last 115 esr snap release

Each version that I tested had the same behavior:

  • The server settings shows the Local Directory to be: /home/heather/snap/thunderbird/common/.thunderbird/<some hash>.default/ImapMail/imap.mail.yahoo.com
  • I Browse to another Local Directory location (/home/heather/.thunderbird)
  • Thunderbird says it has to restart for the changes to take effect.
  • After the restart, the Local Directory is: /run/user/1000/doc/<some other hash>/.thunderbird

I tried browsing to other folders in $HOME, like /home/heather/Documents but Thunderbird said this kind of directory was unsuitable (and didn't say why). That's ok though, the /run/user/1000/doc/<some other hash>/.thunderbird directory it creates has 775 permissions and you can copy it to anywhere you want.

So I agree that it's not ideal (or intuitive) that the Local Directory you set inside Thunderbird is actually overwritten to another place. But if your goal is to simply back up this folder, you can still do that.

Now, that being all said, from the Thunderbird 138.0b2 beta tarball you download from our website and I was able to set the Local Directory to /home/heather/Documents without being told no. After Thunderbird restarted, the Local Directory still says /home/heather/Documents (as expected).

I also tried the beta flatpak (how to use flathub-beta) which is at 138.0b2 as well. With the flatpak, I was able to change the Local Directory to /home/heather/Documents without being told no. After it restarted, I see that the Local Directory is /run/flatpak/doc/132429fd/Documents.

So I suspect the directory path change is related to the confinement that snap and flatpak provides and I'm not sure how to fix this, or even if it is fixable. You are however able to still backup this folder to wherever you want.

Flags: needinfo?(heather)

I guess you were not using snap earlier (so not a regression).

Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2
Summary: Account Server Settings, Local Folder is not selectable/changeable with snap version. It was previously → Account Server Settings, Local Folder is not selectable/changeable with snap version.

(In reply to Magnus Melin [:mkmelin] from comment #10)

I guess you were not using snap earlier (so not a regression).

As also mentioned in https://bugs.launchpad.net/thunderbird/+bug/2090610:
Well, I am using snap since it was introduced for thunderbird forcefully as wrapper with apt in Ubuntu and this feels for me like ages ago.

Not sure which bug report is being tracked now. A little bit confusing for me though.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: