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 736167 - GtkListBoxRow has different click behavior depending on child
GtkListBoxRow has different click behavior depending on child
Status: RESOLVED DUPLICATE of bug 735749
Product: gtk+
Classification: Platform
Component: .General
3.13.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2014-09-05 22:57 UTC by Timm Bäder
Modified: 2014-09-06 16:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test UI file (2.70 KB, application/x-designer)
2014-09-05 22:57 UTC, Timm Bäder
  Details
Test C FIle (639 bytes, patch)
2014-09-05 22:58 UTC, Timm Bäder
none Details | Review

Description Timm Bäder 2014-09-05 22:57:52 UTC
Created attachment 285538 [details]
Test UI file

GtkListBoxRow seems to react differently to clicks depending on its contents.

The attached testcase shows first a row with just a GtkLabel inside which works just find. Clicking works (i.e. row gets activated, row-activated signal emitted).

The second array contains a GtkStack. Inside the stack is a GtkGrid with a single GtkButton inside. Everything works fine for GtkStack without the Grid. As soon as the Button is not directly inside the stack but rather in the grid (which is inside the stack of course), activating does not work and when clicked, the row loses its hover state and shows no clicked state.

Third row is a GtkRevealer inside a GtkListBoxRow, which is never mouse-activatable and otherwise also reacts the same as the GtkStack+GtkGrid combination from above.

All of the rows are still keyboard activatable tho.
Comment 1 Timm Bäder 2014-09-05 22:58:43 UTC
Created attachment 285539 [details] [review]
Test C FIle

Just attaching this too since glade-previewer doesn't show everything I've talked about.
Comment 2 Matthias Clasen 2014-09-06 16:08:37 UTC

*** This bug has been marked as a duplicate of bug 735749 ***