[Bug 876299] Re: gschem attribute editor has textentry with small height
I am new to gEDA, and I see the same issue in gschem. In the Add Text dialog (Menu / Add / Text) the text entry field is 1 pixel tall. The Add Attribute dialog from the first post of this thread does not have the problem. I'm using Ubuntu 16.04 LTS, 64 bit $ gschem --version gEDA 1.8.2 (g875406c) Is this the same issue as before, or a regression? Should I post it as a new bug since it now affects the Add Text dialog? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876299 Title: gschem attribute editor has textentry with small height To manage notifications about this bug go to: https://bugs.launchpad.net/geda/+bug/876299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 876299] Re: gschem attribute editor has textentry with small height
Screen capture of Add Text dialog issue: https://i.imgur.com/4sbvy5z.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876299 Title: gschem attribute editor has textentry with small height To manage notifications about this bug go to: https://bugs.launchpad.net/geda/+bug/876299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 876299] Re: gschem attribute editor has textentry with small height
I have installed Ubuntu 12.04 and I have the same problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876299 Title: gschem attribute editor has textentry with small height To manage notifications about this bug go to: https://bugs.launchpad.net/geda/+bug/876299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 876299] Re: gschem attribute editor has textentry with small height
This is still a bug for me; using Ubuntu 12.04 LTS and gschem 1.6.2.20110115 . Can't see any fixes/upgrades in the standard repositories, or am I missing something? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876299 Title: gschem attribute editor has textentry with small height To manage notifications about this bug go to: https://bugs.launchpad.net/geda/+bug/876299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 876299] Re: gschem attribute editor has textentry with small height
This bug is fixed in the geda-gaf package 1.8.1, which is not in the standard ubuntu-repositories of Ubuntu 12.04 (as you said, the repository-version for Ubuntu 12.04 is 1.6.2). If you like to use a gschem version without this bug, please donload the latest version (stable) from http://wiki.geda-project.org/geda:download or compile the latest sources from git (see http://wiki.geda-project.org/geda:developer for instructions) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876299 Title: gschem attribute editor has textentry with small height To manage notifications about this bug go to: https://bugs.launchpad.net/geda/+bug/876299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 876299] Re: gschem attribute editor has textentry with small height
This bug was fixed in the package geda-gaf - 1:1.8.1-2 --- geda-gaf (1:1.8.1-2) unstable; urgency=low * Manually replace directory with symlink in geda.postinst (Closes: #694015) Thanks: gregor herrmann gre...@debian.org -- أحمد المحمودي (Ahmed El-Mahmoudy) aelmahmo...@sabily.org Sun, 20 Jan 2013 22:49:12 +0200 ** Changed in: geda-gaf (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876299 Title: gschem attribute editor has textentry with small height To manage notifications about this bug go to: https://bugs.launchpad.net/geda/+bug/876299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 876299] Re: gschem attribute editor has textentry with small height
I have this same problem on Ubuntu 12.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876299 Title: gschem attribute editor has textentry with small height To manage notifications about this bug go to: https://bugs.launchpad.net/geda/+bug/876299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 876299] Re: gschem attribute editor has textentry with small height
Hello Peter, is this fixed in 1.8.0 ? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876299 Title: gschem attribute editor has textentry with small height To manage notifications about this bug go to: https://bugs.launchpad.net/geda/+bug/876299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 876299] Re: gschem attribute editor has textentry with small height
Yes (or rather, 1.8.0 contains a work-around). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876299 Title: gschem attribute editor has textentry with small height To manage notifications about this bug go to: https://bugs.launchpad.net/geda/+bug/876299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 876299] Re: gschem attribute editor has textentry with small height
** Changed in: geda Status: Confirmed = Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876299 Title: gschem attribute editor has textentry with small height To manage notifications about this bug go to: https://bugs.launchpad.net/geda/+bug/876299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 876299] Re: gschem attribute editor has textentry with small height
The changed flags aren't a bad idea, but I tried them already - and they don't fix the issue unfortunately. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876299 Title: gschem attribute editor has textentry with small height To manage notifications about this bug go to: https://bugs.launchpad.net/geda/+bug/876299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 876299] Re: gschem attribute editor has textentry with small height
Bumping importance because this affects a lot of people. ** Changed in: geda Importance: Medium = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876299 Title: gschem attribute editor has textentry with small height To manage notifications about this bug go to: https://bugs.launchpad.net/geda/+bug/876299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 876299] Re: gschem attribute editor has textentry with small height
I've posted a question on StackOverflow to solicit suggestions. ;-) http://stackoverflow.com/questions/8482505/automatically-sizing-a -gtktextview-in-a-gtkscrolledwindow -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876299 Title: gschem attribute editor has textentry with small height To manage notifications about this bug go to: https://bugs.launchpad.net/geda/+bug/876299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 876299] Re: gschem attribute editor has textentry with small height
A commit was made which affects this bug git master commit 42182f0ae6b16171329f00f32ff1857d38c1c33e http://git.gpleda.org/?p=gaf.git;a=commit;h=42182f0ae6b16171329f00f32ff1857d38c1c33e commit 42182f0ae6b16171329f00f32ff1857d38c1c33e Author: Peter TB Brett pe...@peter-b.co.uk Commit: Peter TB Brett pe...@peter-b.co.uk gschem: Workaround for zero-height text view bug. This is a temporary workaround for a bug on systems using overlay scrollbars for GTK+ widgets, where the value editing GtkTextView in the multi-attribute editing dialog was appearing with zero height. Obviously, setting the height request to a constant size isn't ideal. It would be better to set the height request based on the font size, so that a certain number of lines are displayed. This should be revisited at a later date. Affects-bug: lp-876299 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876299 Title: gschem attribute editor has textentry with small height To manage notifications about this bug go to: https://bugs.launchpad.net/geda/+bug/876299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 876299] Re: gschem attribute editor has textentry with small height
I guess changing the flags passed to gtk_table_attach() doesn't help at all? diff --git a/gschem/src/x_multiattrib.c b/gschem/src/x_multiattrib.c index ee2a5f9..cd95338 100644 --- a/gschem/src/x_multiattrib.c +++ b/gschem/src/x_multiattrib.c @@ -2027,7 +2027,7 @@ static void multiattrib_init(Multiattrib *multiattrib) gtk_table_attach (GTK_TABLE (table), label, 0, 1, 1, 2, 0, 0, 0, 0); gtk_table_attach (GTK_TABLE (table), scrolled_win, - 1, 2, 1, 2, GTK_EXPAND | GTK_FILL, 0, 6, 3); + 1, 2, 1, 2, GTK_EXPAND | GTK_FILL, GTK_FILL, 6, 3); /* - the visible status */ button = GTK_WIDGET (g_object_new (GTK_TYPE_CHECK_BUTTON, -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876299 Title: gschem attribute editor has textentry with small height To manage notifications about this bug go to: https://bugs.launchpad.net/geda/+bug/876299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 876299] Re: gschem attribute editor has textentry with small height
** Tags added: gschem -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876299 Title: gschem attribute editor has textentry with small height To manage notifications about this bug go to: https://bugs.launchpad.net/geda/+bug/876299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 876299] Re: gschem attribute editor has textentry with small height
Ok, I'm not sure if this is our bug or not, but it appears to be a bad interaction between the GtkTextView widget we use packed inside a GtkScrollWindow widget, with Ubuntu's expanded overlay scrollbar feature. It seems like we don't get a minimum height allocation when the overlay scrollbar is in use, despite the button widget along side our text entry taking up a certain height. It is true that we don't specify a minimum height for that widget though - and that could well be the underlying problem. For now, you can work around the issue by starting gschem from the command prompt with: LIBOVERLAY_SCROLLBAR=0 gschem ** Project changed: geda = geda-gaf (Ubuntu) ** Also affects: geda Importance: Undecided Status: New ** Changed in: geda Status: New = Confirmed ** Changed in: geda Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876299 Title: gschem attribute editor has textentry with small height To manage notifications about this bug go to: https://bugs.launchpad.net/geda/+bug/876299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 876299] Re: gschem attribute editor has textentry with small height
I'm hesitant to add a fixed minimum-size request in pixels to our code, as that doesn't scale well with different fonts and screen DPIs. At the very least, we ought to be scaling this based upon the line- height of the font used to render the text, but I'm not immediately sure how to grab that in a non-kludgy way. In the mean time, we should investigate whether the Ubuntu overlay scrollbar feature is robbing us of a convenient minimum size we ought to be allocated due to the adjacent Add button widget. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876299 Title: gschem attribute editor has textentry with small height To manage notifications about this bug go to: https://bugs.launchpad.net/geda/+bug/876299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 876299] Re: gschem attribute editor has textentry with small height
Ok - so we weren't asking for any extra allocated vertical space, nor asking to expand into that which is allocated - presumably because we never allocate any extra size to that part of the dialog, and because the old GtkScrolledWindow implementation always requested enough size to fit the vertical scroll-bar, and that was enough to make things work until now. I think the right fix here is to figure out a text-metric based minimum height for our text widget. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/876299 Title: gschem attribute editor has textentry with small height To manage notifications about this bug go to: https://bugs.launchpad.net/geda/+bug/876299/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs