GNOME Bugzilla – Bug 407886
scrollbar not always displayed when result is too large
Last modified: 2018-05-02 14:28:03 UTC
The scrollbar is not displayed when the results is just slightly larger then the window. Steps to reproduce: 1. Press 1 sixteen times in Basic mode. Please see attached screenshot.
Created attachment 82540 [details] screenshot of the problem
This looks like it's font specific. I can enter in 1's in Basic mode and the scrollbar is displayed the moment one of them isn't totally visible.
Yes, seems to depend on the font used, but I can reproduce this with several different fonts.
Understood. It's a bug. I doubt whether I'll get to fixing it for GNOME 2.18. I'm concentrating on my Orca work at the moment. Of course, if there was a patch attached to the bug, then that might be different... 8-) I spent a couple minutes on it. The code is in .../gcalctool/gtk.c The scrollwindow has (about line 1004): gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), GTK_POLICY_AUTOMATIC, GTK_POLICY_NEVER); I'm guessing that the policy needs to be adjusted. Or that there is an underlying GTK+ bug here.
I think this is a gtk bug and should be re-assigned to gtk+. I also noticed that the cursor disappears in this case if you move it to be in front of the string.
Thanks Christian. Reassigning...
*** Bug 515094 has been marked as a duplicate of this bug. ***
Still happens with gtk+ 3.14.5 on Fedora 21.
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
Created attachment 369748 [details] screenshot Other weirdness happens now.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/277.