SolvedMailspring [Feature Request] Add 'Hide menu bar' menu item

Are there any related issues?


What operating system are you using?

Elementary OS

What version of Mailspring are you using?




Do you have any third-party plugins installed? If so, which ones?

No plugins

Is the issue related to a specific email provider (Gmail, Exchange, etc.)?

No, it concerns application's interface, not email accounts.

Is the issue reproducible with a particular attachment, message, signature, etc?



Feature Request?

Does this feature exist in another mail client or tool you use?

Hidden menubar in the previous (1.0.2) version was great for sleek Elementary OS look. Now it is impossible to hide, so it is a bit of visual clutter some people will find unnecessary. Let the user decide if he wants to see the menubar all the time by creating a menu item or a checkbox in the Preferences, just like Firefox and Thunderbird do.

16 Answers

✔️Accepted Answer

You can make this permanent by using a plugin :
create a folder for the plugin : 'hide-menu-bar'
create a file called 'package.json' in that folder :

  "name": "hide-menu-bar",
  "main": "./main",
  "engines": {
    "mailspring": ">=1.0.8"
  "description": "Plugin for mailspring : hide the menu bar (Alt to toggle)",
  "license": "MIT"

then create a file called 'main.es6' in the same folder :

import electron from 'electron';

export function activate() {
	let win = electron.remote.getCurrentWindow();

then in Mailspring :
Developer >> Install plugin
and select the 'hide-menu-bar' folder.

Other Answers:

Hey folks - in the next release I'm adding a preference for this, as well as a new option to use the "right corner hamburger menu" and completely custom window controls. I think this will improve things a lot, especially on distros like Elementary where the standard window frame is very tall.

New options:

"Right corner hamburger" option - note the system window frame is not used at all, so it'll look like this (or your selected theme) on all Linux distros:

You just need to toggle the developer tools (Ctrl+Alt+I) and paste this in the console :
Then you can toggle the menu bar using Alt.
You need to do this everytime you restart Mailspring though.

Related Issues:

Mailspring Libsecret not installed (SNAP on KDE Neon)
$ sudo apt install gnome-keyring fixes this What operating system are you using? KDE Neon What versi...
Mailspring ProtonMail Bridge IMAP integration
@bengotow The current problem is that mailsync attempts to create a top-level Mailspring folder whic...
Mailspring [Feature Request] Add 'Hide menu bar' menu item
You can make this permanent by using a plugin : create a folder for the plugin : 'hide-menu-bar' cre...
Mailspring Notifications not working. MacOS Mojave
Hey folks Are there any related issues? I looked up read and tried every solution posted out there w...
Mailspring Ubuntu 17.10 GNOME DE: no ICON badge for unread mails
I use Ubuntu Mate 18.10 and got it working last week Are there any related issues? .. What operating...
desktop The user name or passphrase you entered is not correct.
It sure looks like something's screwy with Keychain Try opening Keychain ...
electron Requiring electron outside of main.js causes a TypeError
For anyone encountering this problem in the future and reading this thread Electron version: 1.3.5 O...
atom Sometimes opening a file, Atom does not open in a new tab
This feature is called Pending Pane Items (formerly known as Preview Tabs) – this allows you to quic...
desktop Could not resolve host:
Check this out as well it helped me. Description I create a new repository in my local and complete ...
desktop It keeps saying The user name or passphrase you entered is not correct.
@tom10271 we think this is related to Keychain access due to some sort of macOS update: Try opening ...
electron Error while importing electron in react | import { ipcRenderer } from 'electron'
@MarshallOfSound my mistake I found the solution in issue #7300 if it can help anyone Please note th...
electron Failed to load resource: net::ERR_FILE_NOT_FOUND file:///D:/css/app.css
If this occur when having <base href=/> in the index.html just replace it by <base href=./>. ...
desktop A lock file already exists in the repository, which blocks this operation from completing.
@simhox thank you for updating the issue body and uploading the log file! Here's the related error: ...
electron Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
Try It should output a progress bar for the download 👍 Electron version: latest (That Try) Operatin...
vscode macOS Mojave: font rendering is blurry or has changed
So.. Mojave is out The font rendering looks awful on both 1x displays and Retina displays I'm really...
atom MacOS Mojave: The text in the editor is dimmed / hard to read.
Hey folks could you try running this command and then restart Atom: Hat tip to @alexanderyakusik in ...
electron How do I open a url from <a> on default OS browser?
I found this code snippet on S.O.: Dropped it in my main index file it seems to be working as far as...
react native debugger It looks like you are passing several store enhancers to createStore()
I've just had this same problem with almost exactly the same code and have managed to fix it Instead...
typeorm Error: RepositoryNotFoundError: No repository for [Enitity] was found. Looks like this entity is not registered in current "default" connection? Issue type: [x] question [x] bug r...
atom Add config option for MRU tabs
So a temporary fix for this issue is to insert this into the keymap correct? Prerequisites Can you r...
electron 9.0.0 does not display local images
A recap for anyone else who's having this issue: Make sure you've enabled webSecurity from your Brow...
electron vue this.$store.dispatch('someAsyncTask'), action not run
Same here and I've wasted just 2h debugging this crap until I realized the issue is in fact in elect...
vscode Tabs for integrated terminal
The tabs were originally considered but widely panned by the team as it could cause confusion having...
desktop Improve ease of configuring Git to work with corporate proxy
@DanielKeogh currently you still need to tell Git about your proxy settings: git config --global htt...
vscode How to detect shift shift key in VSCode?
Indeed would be nice if we could define this key binding in keybindings.json: VSCode Version: 1.0.0 ...
vscode Lagging/freezing using VSCode Insiders in Big Sur
Try this VSCode Version: 1.50.0-insider OS Version: Darwin x64 20.1.0 Full version details Version: ...
vscode Linux: ENOENT: no such file or directory, lstat '/snap/code'
For now sudo ln -s /snap/vscode /snap/code did the trick Waiting for fix. Issue Type: Bug Today afte...
desktop fatal: unable to access '': Could not resolve proxy: aproxy
Run the below command git config --global --unset http.proxy Description [Description of the issue] ...
atom "Multi Cursor on Click" seems to always be disabled in Atom 1.48.0
@HugoMcPhee posted and deleted a comment linking to #20804 which does indeed seem to offer a fix for...
vscode [folding] language-aware folding
Another issue I don't see in that list is user-configured folding like this example from C#: In the ...
Google Play Music Desktop Player UNOFFICIAL Stuck on "Loading music library"
Fix available (for Windows at least): Install 7zip (at your own risk) Install Asar7z (at your own ri...
nodegit Can't install via NPM
Latest Xcode just straight up broke things all across the world Try running sudo xcode-select --inst...
electron The SUID sandbox helper binary was found, but is not configured correctly
CONFIG_USER_NS=y enables the user namespaces feature but they're still restricted to privileged user...
electron builder Can not build the windows installer on macOS Catalina version 10.15
electron-builder 22.2.0 now includes a targeted workaround extracting the NSIS uninstaller without t...
electron builder Built application displays nothing but a white screen
If any of you guys use React Router one of the thing that might break your Electron build is Browser...
angular electron npm install reports error "npm ERR! Unexpected end of JSON input while parsing near '...DhrC8dH0nnKOokwftJ+Cy'"
I found a solution by running npm cache clean --force and npm install -g @angular/cli@latest solutio...
desktop reference broken
@herio5154 thanks for the feedback! It looks like something with the underlying Git repository has b...
atom Uncaught Error: Setting active pane that is not present in pane container
Alright so as an update [Enter steps to reproduce:] @ungb's repro steps from below: Open Atom with a...
atom Font Rendering issue with freetype 2.8.1
Workaround: Prerequisites [X ] Put an X between the brackets on this line Description The fonts are ...
desktop Feature Request: Graph history view
IMO full tree is too complex and we should decide the main reason to add this feature ...
desktop Commit failed error with GPG signing turned on
In case it helps someone the workaround I'm using for now is to disable gpg signing with a repositor...
quasar Add quasar into an existing project
I got it working by installing quasar-framework Hello I would like to know how to add Quasar into an...
typeorm Relation decorators: allow to pass string instead of typeFunction
PR is submitted As an example Issue type: [ ] question [ ] bug report [x] feature request [ ] docume...
typeorm How to get foreign key for instance?
You can't do that because your group is relation object its not a simple number (id of the pricetagg...
vscode Allow for transparent / vibrant window theme
I mode a Extension that can enable Acrylic/Glass effect for your VS Code without recompiling Support...
vscode Peek/Go To Definition & Click to Open do not work with Webpack alias
You can accomplish this using the paths option Full writeup here TL;DR add to your jsconfig.json or ...
typeorm MissingDriverError: Wrong driver: "undefined" given.
solved it by export the config this way in my ormconfig.ts: Issue type: [ ] question [X] bug report ...
electron autoUpdater does not work when have authenticated proxy
I finally got everything working so I just wanted to report back here quickly while I'm waiting for ...
atom Unable to installing atom-amd64.deb on Ubuntu 17.04
I had the same issue when installing on 17.04 Prerequisites Put an X between the brackets on this li...
atom [1.19.0] [macOS] Atom CLI doesn't open native tabs
@dannyradden open file /Applications/