GNOME Bugzilla – Bug 662728
Problem with Dia Comment/"scrolled_window". Text Entry to small.
Last modified: 2012-11-28 06:58:25 UTC
Created attachment 199987 [details] The comment entry is way to small vertically! Hi, I recently upgraded to Ubuntu 11.10 and noticed that the Comment section in the attributes and operations tab were way too small to see anything. See dia.png to see what I mean. I checked out the source code and seem to have found a fix. This is the code before which doesn't work, from class_attributes_dialog.c: gtk_table_attach (GTK_TABLE (table), scrolledwindow, 1,2,3,4, GTK_FILL | GTK_EXPAND,0, 0,0); This is what I changed to get it to show the comment entry (see dia_fixed.png) gtk_table_attach (GTK_TABLE (table), scrolledwindow, 1,2,3,4, (GtkAttachOptions)GTK_FILL, (GtkAttachOptions)GTK_FILL, 0, 0); I don't know how many other people having the same problem, but this should fix it. Thanks
Created attachment 199988 [details] The code works! Now the comment entry is visible.
Forgot to mention that this problem occurs in the operation and attributes sections.
Sorry, to me this looks like there is something screwed in Ubuntu and I don't think it's reasonable to work around that on the application level. So if this is actually only showing on Ubuntu 11.10 that should be the place to look for the root cause.
> Created an attachment (id=199988) [details] > The code works! Now the comment entry is visible. To make Dia work as before without a code change just use: LIBOVERLAY_SCROLLBAR=0 dia The root cause seems to be some misbehaviour with the overlay-scrollbar package in Ubuntu. Reporting the bug there might help it being fixed: https://bugs.launchpad.net/ubuntu/+source/overlay-scrollbar
*** Bug 667965 has been marked as a duplicate of this bug. ***
*** Bug 689162 has been marked as a duplicate of this bug. ***