astroid icon indicating copy to clipboard operation
astroid copied to clipboard

Clickable user interface

Open hugoroy opened this issue 8 years ago • 10 comments

One of astroid's promise is to be both keyboard-drivable and clickable. I think it's a very worthy goal.

However at the moment, that's not true. Here's a list of things where clicking does not trigger any action. I have ordered the list in a hierarchical way, i.e. what I think is most important first.

  • [ ] (general) The Yes/No dialogs are not clickable any more (e.g. when you quit astroid)

  • [ ] (thread view) Clicking on an attachment or HTML part to open it

  • [ ] (thread view) Clicking on a non-focused email to bring focus - clicking on a focused email preview / email headers to expand / un-expand the focused email

  • [ ] (thread view) Clicking on a tag to open a "tag:xxxx" query in a new tab

  • [ ] (thread view) Right-Click on a mail address: copy the email address (rather than the 'mailto:' link) #296

  • [ ] (general) Make tabs closable like in other GTK apps with a small "x"

Do you see anything else?

Edit: I am going to maintain this list, but feel free to open new issues / pull request specifically for an item above. Let me know so I can include the reference to the issue / pull request!

hugoroy avatar Feb 25 '17 18:02 hugoroy

Hugo Roy writes on februar 25, 2017 19:43:

One of astroid's promise is to be both keyboard-drivable and clickable. I think it's a very worthy goal.

Definitely! Thanks for the list and pushing for this! Let us maintain this first post with checkboxes for the items that need attention.

gauteh avatar Feb 25 '17 21:02 gauteh

Thanks for this. I just wanted to submit a bug report about the yes/no part, and then found this issue. I also checked for other places, but could not find anything else than the things @hugoroy mentioned already.

kirschner avatar Apr 13 '17 10:04 kirschner

My embedded gvim doesn't have focus when composing a new message or replying. I'm using default config, a quite old one tho. Can anyone confirm?

MarcinWieczorek avatar Jun 01 '17 14:06 MarcinWieczorek

Marcin Wieczorek writes on juni 1, 2017 16:05:

My embedded gvim doesn't have focus when composing a new message or replying. I'm using default config, a quite old one tho. Can anyone confirm?

As an alternative you can use the external editor, focus and the embedded editor has been very hard to get right.

gauteh avatar Jun 01 '17 16:06 gauteh

I'm using a tiled window manager and it's really convenient to have the editor tabbed in the Astroid client. I hope have some time to have a look into the code. What does the difficulty base on? I'll try to replace gvim with urxvt + vim.

MarcinWieczorek avatar Jun 01 '17 16:06 MarcinWieczorek

Marcin Wieczorek writes on juni 1, 2017 18:34:

I'm using a tiled window manager and it's really convenient to have the editor tabbed in the Astroid client. I hope have some time to have a look into the code. What does the difficulty base on? I'll try to replace gvim with urxvt + vim.

Exactly what widget to give focus. I used to have to use a tab_next method to make the widget put focus on some element of the embedded window. Code should be in editor/plugin.*

  • gaute

gauteh avatar Jun 01 '17 16:06 gauteh

Since the switch to webext, activating attachments, especially in longer emails, sometimes is a PITA.

Is it hard to implement opening attachments for example by a mouse click? I have little idea of programming so I can't estimate. If there's some guide for it, I can try to take a first shot.

mxmehl avatar Nov 09 '18 10:11 mxmehl

Max writes on November 9, 2018 11:04:

Since the switch to webext, activating attachments, especially in longer emails, sometimes is a PITA.

Did something change?

Is it hard to implement opening attachments for example by a mouse click? I have little idea of programming so I can't estimate. If there's some guide for it, I can try to take a first shot.

Not very, a little, need to assocaite an A HREF url with each attachment and creata a handler in thread-view.cc (check out id: or mailto: handler).

gauteh avatar Nov 10 '18 09:11 gauteh

Since the switch to webext, activating attachments, especially in longer emails, sometimes is a PITA.

Did something change?

I think so. In a mail with multiple attachments, one has to press j or k twice to select the next/previous attachment. If there's a mail below the selected mail, a k too much then selects the next mail, and a key press back doesn't go back to the previously selected attachment then.

Not very, a little, need to assocaite an A HREF url with each attachment and creata a handler in thread-view.cc (check out id: or mailto: handler).

Uhm, let me check that, perhaps I can have a try :)

mxmehl avatar Nov 11 '18 10:11 mxmehl

I suppose this issue is stale. Are there still any plans for this to go forward?

I do believe, that Astroid could be especially relevant for the recently released Linux Phones (namely Librem5 & Pinephone), using GNOME/Phosh as their DE. For now, only Geary delivers a usable (albeit still rather poor) experience on such devices. Astroid could fill a niche here.

JayVii avatar Jul 30 '20 10:07 JayVii