Comments (8)
I understand the sentiment, in fact I liked the old way of doing it as well. But with the move to Mail Extension there's simply no option of continuing doing it the old way. First of all, Thunderbird does not want us to modify UI elements. So that is not an option anymore. Secondly, there's no way of figuring out the coordinates of buttons to make windows appear below a button.
I thought about all of this a lot and it was a decision between the new style or discontinuing development of Identity Chooser completely. From my personal use I can say that adapting to the new style took me maybe a week. It's different from the old way, but the number of clicks stays the same. On top of that the new style will always work, even if you create a new email via different means, i.e. when you click on a mailto:-link or via the address book.
What we could do is trying to improve the window with the identities and I appreciate mockups from users with improved US as well as help with implementation.
from identitychooser-mx.
Is this not possible with a BrowserAction, i.e. a toolbar button that belongs to the extension, which the user could put in place of (or next to) the built-in 'Create a new message' button?
A BrowserAction is allowed to show a popup menu when clicked. You can also program it to show the accounts list only on a middle-button-click while choosing the default account on a left-click, or the other way around, or configurable.
See https://webextension-api.thunderbird.net/en/stable/browserAction.html
from identitychooser-mx.
Is this not possible with a BrowserAction, i.e. a toolbar button that belongs to the extension, which the user could put in place of (or next to) the built-in 'Create a new message' button?
A BrowserAction is allowed to show a popup menu when clicked. You can also program it to show the accounts list only on a middle-button-click while choosing the default account on a left-click, or the other way around, or configurable.
See https://webextension-api.thunderbird.net/en/stable/browserAction.html
This is true but would only solve the issue when creating a new email using the "Create New Message" button in the main window. But there are a lot of other ways to create a new email: When clicking on the menu File->New->Message; when clicking on a mailto: link in an email; when a web site let's you create an email in your local email program; when emailing someone from the address book, and so on. I can't hook into any of these with a mail extension except using the new way that shows the popup after the editor window is created by Thunderbird.
Furthermore a lot of users do use Identity Chooser for forwarding and replying. Since a Mail Extension can have only one browserAction (and only one messageDisplayAction) this wouldn't work for these invocations.
That's why Identity Chooser works as it does. As I already said elsewhere: I do appreciate mockups and/or pull requests that improve the styling of the popup and the accounts list. But I wont change the fundamental way the extension works.
from identitychooser-mx.
But there are a lot of other ways to create a new email: When clicking on the menu File->New->Message; when clicking on a mailto: link in an email; when a web site let's you create an email in your local email program; when emailing someone from the address book, and so on.
I don't remember how the old version would deal with those situations. Presumably not by opening the dropdown on the 'new mail' button, right?
from identitychooser-mx.
The old version did not work in these situations. Identity Chooser 4.x improves this a lot.
from identitychooser-mx.
As I already said elsewhere: I do appreciate mockups and/or pull requests that improve the styling of the popup and the accounts list.
Not exactly a styling suggestion but, I guess, "UX": when you click Cancel (or you close the Identity Chooser popup by clicking the OS's window-closing icon), it also closes the new-mail compose window. It would be better if it left that open, so you can write the email from the default sender account.
In the end, Identity Chooser is a popup above another window, and the expected behavior is that closing a popup only closes that popup. When the user thinks "I don't want to think about my accounts just now, I'll just send the email", that is a decision that's up to the user.
from identitychooser-mx.
Hello and thanks for all your work so far on Identity Chooser.
I recently updated to TB 115 and have the unpleasant surprise of IC's new behavior. In my case things are even worse as when I click on the New Message button on the main TB window, comes on the foreground the message editor and on the background the IC window. Consequently IC window unfortunately doesn't bring much (i would need to think about it and look for it in the taskbar which takes more time than just changing the account on the message editor window). And it has sometimes annoyed me when I started writing a message, then shift windows to check something here or there and happen to fall on the IC window, click "cancel" and it closed the message editor window I had started to write in without saving a draft.
However my particular issue is not only due to IC but also to some not-obvious-to-fix bug in my OS config which for some reasons often open new windows on the background (whether TB's or other softwares'). I didn't have this issue with the dropdown (and would have favored the dropdown option anyway), but reading all of the above I understand there is little hope to get it back.
Considering my OS-related issue and being aware that this is likely to be uncommon, I currently find IC more annoying than convenient.
from identitychooser-mx.
Just a slight step forward in the hope of restoring IC UI as a dropdown menu under the "Write Message" button.
I noted several extensions can mimic the tag button at the top of the message pane, which displays a proper dropdown menu, such as:
- ImportExport Tools NG; I assume that the menu is created with helpers defined in that file, referring to the menu name
msgCtxMenuSet
- Printing Tools NG
To get above display I used the GUI and:
- Hid the folder pan header (3 dots button => hide folder pane header)
- Customized the unified toolbar to move ImportExport Tools NG's toolbar button nearby the "Write" button, I could get something close to the expected result. We could imagine a custom toolbar button created by IC which would replace the "Write" toolbar button (identified by CSS selector
li.write-message
)
This would not yet display a dropdown list under the "New Message" button (identified by CSS Selector #folderPaneWriteMessage
) which was hidden here together with the whole folder pan header, but would already look much more convenient to me than the current popup.
from identitychooser-mx.
Related Issues (20)
- Allow to (re-)order list of identities shown and to select from HOT 1
- TB 115 HOT 26
- I use two different IDs to switch between ASCII and HTML composer, something TB still is not able to do. The new ID chooser does to switch the edit mode when choosing the appropriate ID. Can this be changed to the behavior with TB 102? HOT 6
- Identity Chooser 4.1 menu is not so appealing HOT 4
- Lost ability to choose identity. HOT 1
- Identity sorting HOT 1
- Recipient list changes HOT 2
- Custom "From" address does not work for drafts HOT 8
- Suggestion: Signature editor HOT 1
- Translation into Italian HOT 4
- Add-on 4.2 could not be installed because it has not been verified HOT 2
- Shortcut functionality is broken HOT 1
- Position of Signature HOT 1
- set a default, and bypass initial picker popup HOT 1
- French translation proposal HOT 3
- Command line arguments to choose the sender address and skip the dialog HOT 1
- Select email profile where the extension is used HOT 1
- Select account/profile to use based on the TO field HOT 1
- Not all accounts are shown HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from identitychooser-mx.