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 514359 - GtkTreeView doesn't gray selection on window focus lost
GtkTreeView doesn't gray selection on window focus lost
Status: RESOLVED NOTABUG
Product: gtk+
Classification: Platform
Component: Themes
3.16.x
Other All
: Normal minor
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-02-04 17:06 UTC by Matt Mackall
Modified: 2015-08-29 11:34 UTC
See Also:
GNOME target: ---
GNOME version: 3.1/3.2



Description Matt Mackall 2008-02-04 17:06:56 UTC
Please describe the problem:
Most GNOME application highlights are grayed when focus moves to another window, but highlights in the message or folder list are not. As these highlights are often more visible than other hints of window focus (graying of the title bar), it can cause confusion about what app is currently focused.

Steps to reproduce:
1. Select a message or folder
2. Move focus to another window
3. Type commands intended for Evolution into the wrong app


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 André Klapper 2008-02-04 18:34:07 UTC
what are highlights?
Comment 2 Matt Mackall 2008-02-04 18:48:57 UTC
Perhaps the GNOME jargon is "selection", but "highlight" is common English:

  highlight \highlight\ v. t.
     1. To emphasize or call attention to, by moving into the
        foreground or otherwise making more prominent.
  
When I select an item in a list, it becomes highlighted. With most GNOME applications, these highlights diminish when the application loses focus.
Comment 3 André Klapper 2008-04-17 10:48:36 UTC
your definition describes a *verb*. your description was using a *noun*.
that's why i had no idea what "highlights" are. :-)
Comment 4 André Klapper 2012-02-09 16:07:41 UTC
Still valid in 3.2.3 for mail folder list, but not for message list pane.
Comment 5 msocorcim 2015-02-19 00:17:59 UTC
The status remains unchanged in Evolution 3.10.4 and 3.12.10.

When the message list has focus, the selected message is highlighted.  When the message list loses focus the selected message is shown greyed out.

However when the selected item from the account and folder browsing panel loses focus it still is displayed in the hightlighted color.

This leads to a visual ambiguity as to which panel will handle keyboard input, since both the message list and the folder list have the appearance of being active/in focus.
Comment 6 Milan Crha 2015-08-28 12:19:30 UTC
The folder tree is a descendant of GtkTreeView. Running gtk3-demo the main window doesn't draw selected node gray too, it's still as the window is focused. The same for the Tree View examples. Thus I'm moving this to gtk+.
Comment 7 Matthias Clasen 2015-08-28 20:13:09 UTC
This is a change in Adwaita, which may or may not be intentional. GTK+ is perfectly capable of rendering unfocused selections in a different color.
Comment 8 Lapo Calamandrei 2015-08-29 11:34:37 UTC
This is actually intentional, we choosed to not desaturate colors in unfocused windows to improve readability.