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 778725 - Introduce some notion of a current message or message selection
Introduce some notion of a current message or message selection
Status: RESOLVED OBSOLETE
Product: geary
Classification: Other
Component: ux
master
Other Linux
: Normal enhancement
: 0.14.0
Assigned To: Geary Maintainers
Geary Maintainers
needs-design
Depends on: 792388
Blocks: 714377 714908 774023 778724
 
 
Reported: 2017-02-16 00:10 UTC by Michael Gratton
Modified: 2021-07-05 13:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Gratton 2017-02-16 00:10:53 UTC
Currently, there's no useful way for the user (or the client, really) to know what is the "current" message is. This makes it hard to implement features that operate on individual messages, since it's not clear to the user which message the feature applies to.

As an example, we work around this when replying with selected text by looking for the message that last had some selected text, determining if it is visible, and if so making it a reply to that message. But that feels pretty hacky. Other examples are Ctrl+P to print (Bug 714908), saving messages (Bug 774023), and in general pretty much anything that could make use of a global shortcut.

After Bug 765516 landed a conversation is now displayed in a Gtk.ListBox, and I've tried using its different selection modes, but it confuses message expanding/collapsing with selection, and the highlighting used to indicate is completely over the top. It might still be usable, but some alternative method to handle expanding/contracting and highlight the selected message would be needed. It also needs to not conflict with the unread message indicator (currently a thick blue line at the top of the message).

So I'm thinking that the best option might be to make selecting messages an explicit action, i.e. to use Selection Mode: https://developer.gnome.org/hig/stable/selection-mode.html.en — in this case, invoking operations like Print without any selection would operate on the whole conversation, but if selection mode is enabled it only operates on the selected messages.

The hackyness replying to messages with selected text could then be handed by also making it an explicit action, per Bug 778724, which tidies everything up quite nicely.
Comment 1 Michael Gratton 2018-06-26 04:47:39 UTC
Bump tickets to 0.14 that aren't going to make 0.13.
Comment 2 GNOME Infrastructure Team 2021-07-05 13:27:22 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/geary/-/issues/

Thank you for your understanding and your help.