GNOME Bugzilla – Bug 32092
'gnome-termina' "factory" bug
Last modified: 2004-12-22 21:47:04 UTC
Package: gnome-core Severity: grave Version: 1.2.3.1 Synopsis: 'gnome-termina' "factory" bug Class: sw-bug Distribution: Red Hat Linux release 6.2 (Zoot) System: Linux 2.2.17 i686 unknown C library: glibc-2.1.3-15 C compiler: egcs-2.91.66 glib: 1.2.8 GTK+: 1.2.8 ORBit: ORBit 0.5.4 gnome-libs: gnome-libs 1.2.8 libxml: 1.8.10 gnome-print: gnome-print-0.25 gnome-core: gnome-core 1.2.3.1 Description: At least on my system(and others I have access to), using --use-factory with either -x or -e doesn't work - a new 'gnome-terminal' process is started. I've read what documentation I could find, but with no luck. I havn't the source around, nor the time at the moment to download it. I'll see what I can do, but I'm not particularily adept :( ------- Bug moved to this database by debbugs-export@bugzilla.gnome.org 2001-01-27 15:08 ------- This bug was previously known as bug 32092 at http://bugs.gnome.org/ http://bugs.gnome.org/show_bug.cgi?id=32092 Originally filed under the gnome-core product and general component. Unknown version 1.2.x in product gnome-core. Setting version to the default, "unspecified". The original reporter (dbarclay10@yahoo.ca) of this bug does not have an account here. Reassigning to the exporter, debbugs-export@bugzilla.gnome.org. Reassigning to the default owner of the component, gnome-core-maint@bugzilla.gnome.org.
Hello :) I'm the original bug-reporter. I'm not using Debian Sid(unstable), with Linux 2.4.1-ac15, gnome-core 1.2.4, gnome-libs 1.2.11, and the bug still persists. Here's some interesting 'ps' output: david 6819 0.6 1.9 7980 4252 pts/2 S 15:54 0:00 gnome-terminal --start-factory-server david 6886 0.8 1.7 7800 4008 pts/2 S 15:54 0:00 gnome-terminal --use-factory -x bash david 6907 2.1 1.8 7808 4068 pts/2 S 15:55 0:00 gnome-terminal --start-factory-server --use-factory -x bash As you can see, the gnome-terminals with the -x options do *not* use the factory facility. To be sure others did, I started two gnome-terminals with --use-factory before trying some with -x , and they used the factory facility fine. I did it again after using -x , and those started fine(gnome-terminl --use-factory & used the factory facility). I'm not exactly sure what's going on. But gnome-terminal isn't exactly what you'd call lightweight. The factory facility is really quite good, I'd say it makes up for the amount of memory that gnome-terminal regularily uses. However, since using -x or -e negates this facility, I'm forced to use less capable terminal emulators(okay, maybe not less capable, but not what I want ;). Changing status to "Confirmed" since I must be the only one who cares enough to actually test it. I looked in the source, and I think the fix would be *really* easy ... I just don't know how to do it. I'll poke at it again, though. From what I can see, it just looks like USE_FACTORY_KEY isn't being set or somesuch when -x or -e is used. My knowledge of C is incredibly redimentary, though. P.S.: Well, apparently I don't own this bug, so it will have to remain as "UNCONFIRMED". I'll change the assignment to the owner of the gnome-terminal component, though.
Oops, that should be "I'm now using Debian", not "I'm not using Debian". Sorry.
It looks like this is the behavior desired by the maintainer. A comment on line 3061 of gnome-terminal.c shows that he knows about it. /* since -x gets stripped out of the commands, this will make it override --use-factory */ If you think this was a bad choice a post to the gnome-users mailing list may provoke a discussion on it merits.