After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 778220 - Clicking on the down arrow button next to email attachment selects the first available item
Clicking on the down arrow button next to email attachment selects the first ...
Status: RESOLVED DUPLICATE of bug 591258
Product: evolution
Classification: Applications
Component: Mailer
3.18.x (obsolete)
Other Linux
: Normal minor
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2017-02-06 00:17 UTC by Robert Andrew
Modified: 2017-08-06 09:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Drop-down button (4.93 KB, image/jpeg)
2017-02-06 00:17 UTC, Robert Andrew
Details

Description Robert Andrew 2017-02-06 00:17:26 UTC
Created attachment 345003 [details]
Drop-down button

In most screen configurations, when selecting an application to open an attachment from the bottom attachment field (which is displayed after the message), whichever application appearing under the pointer is selected if the mouse button is immediately released. In order to select the proper application, the mouse button must be released only after the pointer has been moved to the correct position (i.e. the desired action or application). In other words, a press-and-hold is necessary where one would expect two successive clicks, where the first click is intended to open the drop-down menu and the second click is intended to select the application.

Of course, the outcome will be different according to the position of the message window on the screen.
Comment 1 Robert Andrew 2017-02-06 00:36:23 UTC
It seems that the odd behavior only happens when the content of the attached file can be displayed in the message body (and not when the file format needs an external application).
Comment 2 Milan Crha 2017-02-06 13:12:26 UTC
Thanks for a bug report. This is an issue in gtk+, thus I'm marking this as a duplicate of the corresponding bug report.

*** This bug has been marked as a duplicate of bug 591258 ***
Comment 3 Robert Andrew 2017-02-07 23:48:38 UTC
This bug is about the left-click behavior of the attachment button, and not about the right-click contextual menu behavior for which bug 591258 has been filed.

Bug 728334 might also have been wrongly marked as solved as a bug 591258 duplicate: https://bugzilla.gnome.org/show_bug.cgi?id=591258#c59.
Comment 4 Robert Andrew 2017-02-07 23:53:58 UTC
(In reply to Milan Crha from comment #2)
> Thanks for a bug report. This is an issue in gtk+, thus I'm marking this as
> a duplicate of the corresponding bug report.
> 
> *** This bug has been marked as a duplicate of bug 591258 ***

Not sure whether I should have reopened here, or open a new bug in gtk+.
Comment 5 Milan Crha 2017-02-08 10:16:43 UTC
Ideally do not reopen until you know for sure that it's appropriate (see my comment there).

*** This bug has been marked as a duplicate of bug 591258 ***
Comment 6 Robert Andrew 2017-04-07 05:55:52 UTC
(In reply to Milan Crha from comment #5)
> Ideally do not reopen until you know for sure that it's appropriate (see my
> comment there).
> 
> *** This bug has been marked as a duplicate of bug 591258 ***

As a follow-up, could you tell me if the behavior of the attachment action button is different in later versions of Evolution? I realize that because of the discrepancy between Ubuntu LTS versions and Evolution versioning, my current version (3.18) is now deprecated and I don't want to keep posting for a bug which has been fixed in later versions, as annoying as it may turn to be at times for LTS users.

Thanks.

NB: I still don't understand why the pop-up menu is not sent overhead when there is not enough space below, as is the case with menu bar buttons or right-clicks...but that indeed is gtk stuff. Where could I find the gtk names of the various buttons used for the Evolution interface?
Comment 7 Milan Crha 2017-04-07 06:02:36 UTC
As these are gtk+ things, then evolution version doesn't matter that much. More important is the gtk+ (gtk3) version. The other bug is closed as fixed, thus hopefully the gtk+ folks already fixed it.

> Where could I find the gtk names of the various buttons used for
> the Evolution interface?

What do you mean with "gtk names"?

Newer gtk+ has something called Inspector, where you can see the window widgets and play with them. I do not think it's available in any form in 3.18.x of gtk+.
Comment 8 Robert Andrew 2017-04-07 07:12:00 UTC
> What do you mean with "gtk names"?

What I indifferently call "buttons" from my user perspective seem to come in various types, as you mentioned at some point in our previous discussion on this bug, so I guess that they must have various identifiers in gtk+, which I referred to as "gtk names". In my case only the "shallow arrow" type of button causes the bug to happen, so any report posted against gtk+ should be specific to that type and mention its proper identifier, I suppose.

> Newer gtk+ has something called Inspector, where you can see the window
> widgets and play with them. I do not think it's available in any form in
> 3.18.x of gtk+.

I see. Then I'll set up a VM with the last stable release and see what comes out. Thank you for your feedback.
Comment 9 Milan Crha 2017-04-07 08:50:17 UTC
(In reply to Robert Andrew from comment #8)
> I guess that they must have various identifiers in gtk+, which
> I referred to as "gtk names".

Ah, I see, you mean what type it is, like GtkButton, GtkLabel, GtkEntry and so on. It's a popup menu (GtkPopupMenu) with several GtkMenuItem-s. Nothing unusual, from my point of view and behaves the same as context menu, which is the reason why I coupled this bug report with the gtk+ bug.
Comment 10 Robert Andrew 2017-04-07 12:08:47 UTC
Thank you very much.

Maybe something similar to the following property would do the trick:

https://developer.gnome.org/gtk3/unstable/GtkMenu.html#GtkMenu--anchor-hints

What do you think? It seems I'll have to wait for a stable implementation (and thus most probably for the next LTS of Ubuntu) but it would definitely be a nice refinement of the Gnome experience and a renewed gratification for remaining faithful to Evolution.

Thanks again.
Comment 11 Robert Andrew 2017-08-06 09:30:08 UTC
Bug 785875 indicates that the suggested property is soon to be made stable in gtkmenu.c.

Could anyone give it a try?

Thanks,
B.