Mailspring: Super + Arrow shortcut does not resize the window (snap to right/left)

Created on 25 Sep 2019  路  9Comments  路  Source: Foundry376/Mailspring

On Ubuntu 18.04 with Gnome desktop, I am usually able to snap windows—i.e. resize them to half the screen—on the left or on the right of my screen by using the Super + RightArrow and Super + LeftArrow shortcuts.

However, Mailspring does not respond to these shortcuts (version 1.6.3). This is my only application that does not behave correctly to Super + RightArrow shortcut, and it is annoying when I want to quickly resize my window to write an email while reading another document.

bug linux needs-reproduction

All 9 comments

Hey! Thanks for reporting this - do you remember if you installed Mailspring via Snapcraft or from the raw .deb file? Could you try running another app using snapcraft and seeing if the behavior exists there as well? I'm surprised this isn't working!

Thanks for your reply!

I installed Mailspring via Snapcraft. On other snaps I don't have this issue.

I have the same problem on a different computer, which is also running a Gnome desktop on Ubuntu.

Interestingly, when I click on "Popout thread" to open a thread in another window, the new window responds well to the Super + LeftArrow shortcut. As a result, this bug is not too annoying because I can just pop out my email when I want to use it in split screen.

I would like to have this feature too. I use Mailspring on CentOS 7 and installed it from .rpm file.

Hello - I built this from AUR. Same problem in XFCE/arch. Interestingly the maximize minimize with super key works. As well as the super left and right work to snap to half size in the pop-out, just not the main screen. Also too, the default opening size is quite weird...

Same problem for me arch/xfce4 installed from AUR. Interestingly - window up (horizontal upper halfscreen) and window down (horizontal lower halfscreen) work.

Doesn't work - Title left, right, upper right, upper left, lower right, lower left.

Makes its so much harder to use :(

I suspect it may be due to mailspring having a forced width, if the width is greater than half of the scrreen size, perhaps that is causing the issue?

@bengotow Confirmed the snap issue is due to forced window sizes - if the pixels on screen are less than 1/2*mailsprings minimum horizontal length, then it won't snap.

This has to do with the forced side horizontal nature of the inboxes, which cannot go less horizontal than a fixed width. I suspect that if that could change, then it would snap o nall screens.

Just flagging this - can anyone point me to where the requirement for a certain window size in the app? If we removed that requirement, snapping would be enabled to on monitors with DPI < 1/2 the required size.

I can reproduce this. Is there any update?

Was this page helpful?
0 / 5 - 0 ratings