-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
rhel-9.0.0
-
Normal
-
sst_desktop
-
ssg_desktop
-
10
-
False
-
-
DESKTOP Cycle #1 10.beta phase, DESKTOP Cycle #3 10.beta phase, DESKTOP Cycle #2 10.beta phase
-
If docs needed, set a value
-
-
All
Description of problem:
Shrink the window to its minimum Height, observe multiple GTK errors on standard error:
(TextScrollbarErrors:23242): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
Follow up to bug
https://bugzilla.redhat.com/show_bug.cgi?id=1873488
Seems to be fixed through patch
But issue is still seen if window is shrinked to minimum height.
logs are filled if error is triggeredd once.
Version-Release number of selected component (if applicable):
RHEL RHEL 9 with GTK3 version:
gtk3-3.24.31-2.el9.x86_64
Dark Breeze theme
How reproducible:
Always
Steps to Reproduce:
1. g++ -g text_scrollbar_errors.cpp pkg-config --cflags --libs gtk+-3.0 -o TextScrollbarErrors && GTK_OVERLAY_SCROLLING=0 ./TextScrollbarErrors
2. Shrink the window to minimum height.
Actual results:
(TextScrollbarErrors:23242): Gtk-CRITICAL **: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
Expected results:
No errors
Additional info:
Eclipse uses a custom widget 'Swt-Fixed', I believe in some cases widgets are created "very small" and then they are expanded to window size or comparable size. Though its not uncommon to have a view that has the same height as the the scrollbar slider, at least for our theme (since the minimum scrollbar slider height is about 3 rows of text, reducing the height of a view with a text editor to about 5 rows of text already causes the issue).