| Summary: | Unable to display tooltips and repeated display requests when using a custom widget | ||
|---|---|---|---|
| Product: | [Plasma] Breeze | Reporter: | Gaël Bonithon <trash.paradise> |
| Component: | gtk theme | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | agrinev98, nate, uhhadd |
| Priority: | NOR | ||
| Version First Reported In: | 5.26.4 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Gaël Bonithon
2022-12-18 18:01:58 UTC
More precisely, the problem seems to occur only when using a box: this code put in the GtkWidget::query-tooltip signal handler works correctly:
```
gtk_tooltip_set_custom (tooltip, gtk_label_new ("test"));
```
while this one allows to reproduce the bug:
```
GtkWidget *label = gtk_label_new ("test");
GtkWidget *box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
gtk_box_pack_start (GTK_BOX (box), label, TRUE, FALSE, 0);
gtk_widget_show_all (box);
gtk_tooltip_set_custom (tooltip, box);
```
|