Betterbird / thunderbird-patches

Betterbird is a fork of Mozilla Thunderbird. Here are the patches that provide all the goodness.
Other
516 stars 20 forks source link

Feature request: make emptying the trash bin more convenient #329

Closed VladimirMarkelov closed 3 months ago

VladimirMarkelov commented 3 months ago

It may be applied to any frequent operation, but emptying the trash bin bugs me the most. I guess, emptying is the most used operation on the trash bin in Betterbird 😄 Every few days I decide that I do not need any email in my trash bin any longer I want to empty it. But every time, after opening the context menu, I waste time to find the line "Empty Trash" in the context menu - it is written in the same font as the rest items, and it is hiding somewhere in the middle of the menu. I have to read the context menu items one by one until I stumble upon the required one.

Ways that can improve the situation (maybe it increases usability only for a few people but here I am mentioning all ideas I am able to generate):

  1. Add an icon to the most used operations in the context menu. The trouble is that "the most used" may differ for various people.
  2. A new option to empty the trash automatically at some time interval. It does not help me as I empty the bin at arbitrary intervals only when I am confident that everything in the trash is already useless to me. So, I would keep the option disabled and it solves nothing to me.
  3. Add a button to a panel that shows information about the selected folder (in my example I painted "Empty" button right after the number of messages, but I did this only to minimize the size of screenshot - the button can be at the right side where the button "Message list display options" is):

image

Betterbird commented 3 months ago

Not planned, sorry. You can modify the context menu already with userChrome.css, see here for example:

image

This is the CSS that does it:

#mailContext-delete {
  color: red !important;
}

#mailContext-delete::before {
  content: url("chrome://messenger/skin/icons/new/compact/warning.svg") !important;
  -moz-context-properties: fill, stroke, fill-opacity;
  margin-right: -16px;
  fill: yellow;
  stroke: red;
}

That needs to be adjusted, of course.

Betterbird commented 3 months ago

image

#folderPaneContext-emptyTrash {
  color: red !important;
}

#folderPaneContext-emptyTrash::before {
  content: url("chrome://messenger/skin/icons/new/compact/trash.svg") !important;
  -moz-context-properties: fill, stroke, fill-opacity;
  margin-right: -16px;
  fill: yellow;
  stroke: red;
}
VladimirMarkelov commented 3 months ago

I forgot that Betterbird is as customizable as Firefox and I can use userChrome.css to do it myself. The last your message is what I wanted.

Thank you a lot!