Window Control Placement and System Integration

Good night/day everyone, I am currently testing Mailspring since Geary (Linux user here on Budgie/labwc) is causing me issues (such as reloading all folders out of nowhere), and I was wondering whether certain additions could ease use for users like me.

The Problem

Since I am a former Windows user, I am used to having the window controls on the opposite side of where I have my applauncher menu (“Start” menu for Windows users), which means on the right with LTR languages and on the left with RTL languages. I realize that the custom window frame is meant for users that are more accustomed to MacOS conventions, however as someone who prefers headerbars due to them taking up less space than a titlebar+toolbar when done right, however prefers the Windows conventions for the button location, I was hoping that a feature that lets the user choose the location of the window controls could be added.

Additionally, since there is often some sort of system-wide account login system included (On Windows this is Microsoft-only, on MacOS I believe it is Apple-only, though I may be wrong, and on Linux we have things such as GOA (GNOME Online Accounts), I was wondering whether Mailspring could hook into it to source accounts, even if it is only to import the username and password (on Yahoo, at least, an app password is required for GOA as well), rather than fully relying upon the OS database.

Proposed Solution

  1. A setting added to configure whether window controls on the custom window frame are on the right or left.
  2. Letting Mailspring hook into OS databases for email credentials, even if only to import them into Mailspring’s database.

Context

Examples of GOA’s GUI:

In GNOME Settings

Outside of GNOME environments.

The second image also clearly shows what I mean regarding window controls on the right in a headerbar, in this case, a GTK headerbar.