Possibility to hide/disable "Recent" and "Favorites" folders from Context Menu
Categories
(Thunderbird :: Folder and Message Lists, enhancement)
Tracking
(Not tracked)
People
(Reporter: randomuser123x, Unassigned)
Details
Steps to reproduce:
- Right-click on a message
- Select Move To/Copy To
Actual results:
The first two folders are "Recent" and "Favorites".
Sometimes selecting "Recent" folder causes a small "hiccup"/slowdown (probably due to collecting/listing the most recently used folders).
Expected results:
If both "Recent" and "Favorites" folder were hidden I would see my account-name folder as the first one.
Comment 1•3 years ago
|
||
I wouldn't add it as a feature, but you can do it already with a userChrome.css file.
Something like
#mailContext-fileHereMenu menu.folderMenuItem[special="favorites"] { display: none; }
#mailContext-fileHereMenu menu.folderMenuItem[special="recent"] { display: none; }
| Reporter | ||
Comment 2•3 years ago
|
||
It does work for Move To, but when I select Copy To, the "Recent" and "Favorites" folders are still shown. Any idea how to hide them too?
Comment 3•3 years ago
|
||
For copy, use #mailContext-copyHereMenu instead of #mailContext-fileHereMenu in the above rules
| Reporter | ||
Comment 4•3 years ago
|
||
Excellent, it works flawlessly. Thank you! The only thing that is left there is a horizontal line that divides "Recent" and "Favorites" from the e-mail accounts. Is it somehow possible to hide that line too?
Comment 5•3 years ago
|
||
Probably #mailContext-fileHereMenu menuseparator {display: none;}
| Reporter | ||
Comment 6•3 years ago
|
||
It's working! Thank you so much! :-)
| Reporter | ||
Comment 7•3 years ago
|
||
I've just discovered that the "Recent" and "Favorites" folders are still visible if I open a message, and instead of right-clicking on it, I select "Message" tab in the top-left menu bar and go to Move To/Copy To. Any idea how to hide the folders there? I'm sorry for disturbing you and asking you so many question in regard of this just one issue.
Comment 8•3 years ago
|
||
I think you can use #moveMenu and #copyMenu instead of #mailContext-fileHereMenu and #mailContext-copyHereMenu (you can find id's using the developer tool to inspect the dom)
https://searchfox.org/comm-central/rev/70f9a971db10339da36acca1413ce7a9786ac5f0/mail/base/content/messenger-menubar.inc.xhtml#967
Description
•