Code Monkey home page Code Monkey logo

Comments (7)

speedball2001 avatar speedball2001 commented on June 28, 2024

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.

bvandergiessen avatar bvandergiessen commented on June 28, 2024

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.

speedball2001 avatar speedball2001 commented on June 28, 2024

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.

bvandergiessen avatar bvandergiessen commented on June 28, 2024

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.

speedball2001 avatar speedball2001 commented on June 28, 2024

The old version did not work in these situations. Identity Chooser 4.x improves this a lot.

from identitychooser-mx.

bvandergiessen avatar bvandergiessen commented on June 28, 2024

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.

oleole39 avatar oleole39 commented on June 28, 2024

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.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.