Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29121 - Can not resize UML objects/fonts are too small in Dia 0.91 on Gnome 2.4
Summary: Can not resize UML objects/fonts are too small in Dia 0.91 on Gnome 2.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-19 07:11 UTC by Stephan van Maris
Modified: 2003-09-30 04:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan van Maris 2003-09-19 07:11:42 UTC
Creating other objects works without problems. Creating UML-objects shows blue
resize-handles (the little squares) as opposed to green in all other modes. The
objects can't be moved and/or resized and the text is really small.

I think this started after I installed Gnome 2.4

Reproducible: Always
Steps to Reproduce:
1. Emerge dia
2. Start dia
3. Add UML objects to a new diagram

Actual Results:  
See details.


Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.6.0-test5-mm2)
=================================================================
System uname: 2.6.0-test5-mm2 i686 Intel(R) Pentium(R) M processor 1600MHz
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=i686 -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr
-frename-registers -fprefetch-loop-arrays -falign-functions=64"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=i686 -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr
-frename-registers -fprefetch-loop-arrays -falign-functions=64"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm crypt cups encode foomaticdb gif jpeg libg++ libwww mikmod mpeg
ncurses nls pdflib png quicktime spell xml2 xmms xv zlib gdbm berkdb slang
readline svga ggi java sdl gpm tcpd pam ssl perl python imlib oggvorbis motif
opengl mozilla tcltk gphoto2 cdr avi -arts esd X gtk gtk2 gnome alsa -kde -qt
truetype mad acpi curl dga dvd gd imap pcmcia pnp samba mmx sse tiff xml usb
moznocompose moznomail moznoirc mozsvg"

-- note that I did 'USE="-python" emerge dia', because Dia wouldn't build with
Python-support (make error)
Comment 1 Henry Jen 2003-09-19 18:37:38 UTC
I have the same problem. The font is way to small.

The python problem should be caused by gcc 3.3.1, it is OK when I built it with gcc-3.2. Following patch can fix the problem:

--- pydia-geometry.c.bak        2003-09-19 18:35:01.000000000 -0700
+++ pydia-geometry.c    2003-09-19 17:40:23.000000000 -0700
@@ -211,7 +211,7 @@
 {
 #define I_OR_F(v) \
   (self->is_int ? \
-   PyInt_FromLong(self->r.ri.##v) : PyFloat_FromDouble(self->r.rf.##v))
+   PyInt_FromLong(self->r.ri.v) : PyFloat_FromDouble(self->r.rf.v))
  
   if (!strcmp(attr, "__members__"))
     return Py_BuildValue("[ssss]", "top", "left", "right", "bottom" );
Comment 2 Henry Jen 2003-09-21 00:11:25 UTC
According to Dia's mailing list, Dia 0.91 will have this problem with pango-1.2.5. After I switch back to pango-1.2.3 and rebuild dia-0.91, it comes back normal.

Suggest to add "<=pango-1.2.3" for dia-0.91.ebuild to prevent the problem.
Comment 3 foser (RETIRED) gentoo-dev 2003-09-21 03:40:31 UTC
can you provide a link to the relevant mail ? Is there a dia bug on this ?
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2003-09-21 05:24:19 UTC
http://bugzilla.gnome.org/show_bug.cgi?id=122429

this seems like a related bug. so it might be a good idea for us to move to 0.92_preX
Comment 5 foser (RETIRED) gentoo-dev 2003-09-21 11:36:04 UTC
while i was fixing the gcc33 problem in another bug i also fixed the pango dep in 0.91 to <=2.3

still, we should probably go with the flow here and update to 0.92 pre versions. I'd like to have an upstream statement about the stability of this vs. 0.91 though.
Comment 6 Stephan van Maris 2003-09-23 08:00:16 UTC
The dep-change for pango 1.2.3 didn't do anything for me.

On the next 'emerge -vupD world', it wanted to install pango-1.2.3 (I had 1.2.5_p1 installed). Now I have both 1.2.3 and 1.2.5_p1 on my machine and remerging dia doesn't work, because (I guess) it still uses 1.2.5.

Can I safely unmerge 1.2.5_p1 and leave 1.2.3 as is, or will this break my Gnome-setup?
Comment 7 foser (RETIRED) gentoo-dev 2003-09-24 06:42:36 UTC
BMG user ? Problems with that you have to fix yourself, we do not support it. Use bmg ebuilds and you lose our support all the way afaic.
Comment 8 Stephan van Maris 2003-09-24 07:53:35 UTC
Ah, I didn't realize I still had some BMG stuff installed. I thought it all moved to portage after Gnome 2.4 was released.

Sorry for the inconvenience.
Comment 9 Tristan Henderson 2003-09-30 04:34:42 UTC
I am also seeing this pango upgrade cycle, and I have no BMG ebuild installed.
dia wants me to downgrade to pango-1.2.3, but if I do this, then emerge -puD
world wants to upgrade to pango-1.2.5-r1. pango isn't in my /var/cache/edb/world
file.