gtk issueshttps://gitlab.gnome.org/GNOME/gtk/-/issues2022-04-04T23:01:18Zhttps://gitlab.gnome.org/GNOME/gtk/-/issues/4816Rounded corners on inline-toolbar when it is not the last child2022-04-04T23:01:18ZPhilip ChimentoRounded corners on inline-toolbar when it is not the last childA GtkToolbar with the `.inline-toolbar` style class has rounded corners on the bottom, which look jarring when it is not the last-child of its container.
This issue occurs only with GTK 3 (`.inline-toolbar` does not exist in GTK 4).
##...A GtkToolbar with the `.inline-toolbar` style class has rounded corners on the bottom, which look jarring when it is not the last-child of its container.
This issue occurs only with GTK 3 (`.inline-toolbar` does not exist in GTK 4).
## Steps to reproduce
Code to illustrate the issue:
```c
#include <gtk/gtk.h>
int main(int argc, char** argv) {
gtk_init(&argc, &argv);
GtkWidget *tool = gtk_toolbar_new();
GtkStyleContext *style = gtk_widget_get_style_context(tool);
gtk_style_context_add_class(style, GTK_STYLE_CLASS_INLINE_TOOLBAR);
gtk_toolbar_insert(GTK_TOOLBAR(tool), gtk_tool_button_new(NULL, "The toolbar"), 0);
GtkWidget *box = gtk_box_new(GTK_ORIENTATION_VERTICAL, 6);
gtk_container_add(GTK_CONTAINER(box), gtk_label_new("The top label"));
gtk_container_add(GTK_CONTAINER(box), tool);
gtk_container_add(GTK_CONTAINER(box), gtk_label_new("The bottom label"));
GtkWidget *win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_container_add(GTK_CONTAINER(win), box);
gtk_widget_show_all(win);
g_signal_connect(win, "destroy", gtk_main_quit, NULL);
gtk_main();
return 0;
}
```
## Current behavior
Here's a screenshot showing the rounded corners on the bottom of the toolbar:
![Screenshot_from_2022-04-04_15-55-58](/uploads/735eb1206b3cb3f6a5f24aeca0ab0f0f/Screenshot_from_2022-04-04_15-55-58.png)
## Expected outcome
When the toolbar is not the last child of its container, I'd expect it to look more like this:
![Screenshot_from_2022-04-04_15-56-29](/uploads/4dc115791b0756255ce6c6c62a65d2bc/Screenshot_from_2022-04-04_15-56-29.png)
## Version information
- GTK 3.24.31
- Fedora Linux 35.20220113.0 (Silverblue)
## Additional information
If a merge request for this would be welcome, I'd be happy to do it myself. I think I know how to fix it.https://gitlab.gnome.org/GNOME/gtk/-/issues/3825vertical inline toolbars styling is broken2021-04-03T10:18:47ZAlexandru Băluțalexandru.balut@gmail.comvertical inline toolbars styling is brokenThis has been reported already at: https://bugzilla.gnome.org/show_bug.cgi?id=738474
![inline-314](/uploads/b2b45cad039a1807c0535313b8f750e2/inline-314.png)
You can notice the problem also in widget-factory if you add "inline-toolbar" ...This has been reported already at: https://bugzilla.gnome.org/show_bug.cgi?id=738474
![inline-314](/uploads/b2b45cad039a1807c0535313b8f750e2/inline-314.png)
You can notice the problem also in widget-factory if you add "inline-toolbar" to Style Classes for the vertical GtkToolbar on the 3rd page.https://gitlab.gnome.org/GNOME/gtk/-/issues/3612destructive-action button in infobar not styled2021-01-23T15:55:27ZKolja Lampedestructive-action button in infobar not styled<!--
Please, read the CONTRIBUTING.md guide on how to file a new issue.
https://gitlab.gnome.org/GNOME/gtk/-/blob/master/CONTRIBUTING.md
-->
## Steps to reproduce
<!--
Please, explain the sequence of actions necessary to reproduce...<!--
Please, read the CONTRIBUTING.md guide on how to file a new issue.
https://gitlab.gnome.org/GNOME/gtk/-/blob/master/CONTRIBUTING.md
-->
## Steps to reproduce
<!--
Please, explain the sequence of actions necessary to reproduce the
bug
-->
1. Settings
2. Users
3. Try to delete a fingerprint
<!--
You should try and reproduce with the demos applications available
under the `demos` directory, or the test programs in the `tests` directory.
Alternatively, please attach a *small and self-contained* example
*written in C* that exhibits the issue.
-->
## Current behavior
<!--
Please describe the current behaviour
-->
![image](/uploads/482016ac8250024e472d7dcf4aa2f3c2/image.png)
`destructive-info` in an infobar using Adwaita doesn't get styled.
## Expected outcome
<!--
Please describe the expected outcome
-->
`destructive-info` in an infobar using Adwaita should get styled.
Or it shouldn't be used in those circumstances I guess?
## Version information
<!--
- Which version of GTK you are using
- What operating system and version
- For Linux, which distribution
- If you built GTK yourself, the list of options used to configure the build
-->
Using Manjaro with Gnome 3.38.3
## Additional information
<!--
- Screenshots or screen recordings are useful for visual errors
- Attaching a screenshot or a video without explaining the current
behavior and the actions necessary to reproduce the bug will lead
to the bug being closed
- Please report any warning or message printed on the terminal
-->
![image](/uploads/dd845e9525e8ab1db046167266d4869a/image.png)https://gitlab.gnome.org/GNOME/gtk/-/issues/3493Dim parent window when popover is open2020-12-22T16:35:28ZDamian IvanovDim parent window when popover is open@aday
I think this is a feature missing in gtk. All other platforms have this: Qt, android, windows, (probably apple)
have this.
When a popup menu is open the background of the application should be dimmed.
![bug](/uploads/1f2839a2af0...@aday
I think this is a feature missing in gtk. All other platforms have this: Qt, android, windows, (probably apple)
have this.
When a popup menu is open the background of the application should be dimmed.
![bug](/uploads/1f2839a2af0d6d95c3d97f1a880fa66e/bug.png)
Required functions would look like:
```
gtk_popover_set_dim_parent(GtkPopover *popover, gboolean dim);
gtk_popover_get_dim_parent(GtkPopover *popover);
```https://gitlab.gnome.org/GNOME/gtk/-/issues/2984Notebook tab menu issues2021-04-03T11:20:55ZTimm BäderNotebook tab menu issues1) Open `gtk4-demo`
2) Right-click on one of the notebook tabs
The popover menu only appears on the second right-click, due to the usual allocate weirdness.
Once it appears however, it the menu items get the wrong hover style.1) Open `gtk4-demo`
2) Right-click on one of the notebook tabs
The popover menu only appears on the second right-click, due to the usual allocate weirdness.
Once it appears however, it the menu items get the wrong hover style.