Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat. req.] Open mails in a tab or new window #951

Closed
ivoruetsche opened this issue Feb 13, 2023 · 2 comments
Closed

[Feat. req.] Open mails in a tab or new window #951

ivoruetsche opened this issue Feb 13, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@ivoruetsche
Copy link

Hi

Thanks for this great work, it's nice to work with the snappymail.

It would be nice, to have a personal setting, to open mails in a new tab or window in general. At the moment, it's only possible to select the mail, then open in a new tab, drag this tab outside of the browser to have it in a separate window.

Thanks a lot
Ivo

@ivoruetsche ivoruetsche changed the title Open new mails in a tab or new window Open mails in a tab or new window Feb 13, 2023
@ivoruetsche ivoruetsche changed the title Open mails in a tab or new window [Feat. req.] Open mails in a tab or new window Feb 13, 2023
the-djmaze pushed a commit that referenced this issue Feb 14, 2023
@the-djmaze
Copy link
Owner

How wide should the window be?
As it only works when the "windowFeatures" are different compared to the current window.

@the-djmaze the-djmaze added the needs feedback Further information is requested label Feb 14, 2023
@the-djmaze
Copy link
Owner

the-djmaze commented Feb 14, 2023

P.S. You can test with v2.26.1

  1. Enable [debug] javascript in application.ini
  2. delete snappymail/v/2.26.1/static/js/app.js.br
  3. delete snappymail/v/2.26.1/static/js/app.js.gz
  4. modify snappymail/v/2.26.1/static/js/app.js line 4179
win = open('', 'sm-msg-'+this.requestHash
	,'innerWidth=' + elementById('V-MailMessageView').clientWidth
),
  1. Now test in your web browser

@the-djmaze the-djmaze added enhancement New feature or request and removed needs feedback Further information is requested labels Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants