Bonobo-sample-container: some test results

"Sergey V. Oudaltsov" <[email protected]> 13 May 2003 00:25:45 +0100
Newsgroups gmane.comp.gnome.components
Organization Client Solutions Ltd.
Message-ID <1052781944.3194.20.camel@localhost>
Hi all

Everyone dealing with bonobo CVS could notice new directory in
libbonoboui: sample/container/. There is a very simple bonobo container
intended to serve as general purpose test tool. Here I put together some
results I could get with most popular bonobo controls put inside this
container. I hope these results can be useful and interesting to the
bonobo community. Probably at some point I'll put this document on the
web (or someone will help me to put it somewhere at ???.gnome.org).
Any comments would be highly appreciated.

Great thanks to Michael for help and patience. And gratitude to the
authors of the bonobo controls (tested and untested) for their great
work.

Cheers,

-- 
Sergey
bsc.html (text/html, 8.3 KB)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
	<TITLE></TITLE>
	<META NAME="GENERATOR" CONTENT="OpenOffice.org 1.0.2  (Linux)">
	<META NAME="AUTHOR" CONTENT="Sergey Oudaltsov">
	<META NAME="CREATED" CONTENT="20030504;22430600">
	<META NAME="CHANGEDBY" CONTENT="Sergey Oudaltsov">
	<META NAME="CHANGED" CONTENT="20030512;23562000">
	<STYLE>
	<!--
		@page { size: 21cm 29.7cm; margin: 2cm }
		P { margin-bottom: 0.21cm }
		H1 { margin-bottom: 0.21cm; page-break-after: avoid }
		H1.western { font-family: "Arial"; font-size: 16pt; font-weight: bold }
		H1.cjk { font-family: "HG Mincho Light J"; font-size: 16pt; font-weight: bold }
		H1.ctl { font-family: "Arial Unicode MS"; font-size: 16pt; font-weight: bold }
		H2 { margin-bottom: 0.21cm; page-break-after: avoid }
		H2.western { font-family: "Arial"; font-size: 14pt; font-style: italic; font-weight: bold }
		H2.cjk { font-family: "HG Mincho Light J"; font-size: 14pt; font-style: italic; font-weight: bold }
		H2.ctl { font-family: "Arial Unicode MS"; font-size: 14pt; font-style: italic; font-weight: bold }
		H3 { margin-bottom: 0.21cm; page-break-after: avoid }
		H3.western { font-family: "Arial"; font-size: 14pt; font-weight: bold }
		H3.cjk { font-family: "HG Mincho Light J"; font-size: 14pt; font-weight: bold }
		H3.ctl { font-family: "Arial Unicode MS"; font-size: 14pt; font-weight: bold }
		H4 { margin-bottom: 0.21cm; page-break-after: avoid }
		H4.western { font-family: "Arial"; font-size: 11pt; font-style: italic; font-weight: bold }
		H4.cjk { font-family: "HG Mincho Light J"; font-size: 11pt; font-style: italic; font-weight: bold }
		H4.ctl { font-family: "Arial Unicode MS"; font-size: 11pt; font-style: italic; font-weight: bold }
		P.п╬я│п╫п╬п╡п╫п╬п╧-я┌п╣п╨я│я┌-я│-п╬я┌я│я┌я┐п©п╬п╪ { margin-left: 0.5cm }
	-->
	</STYLE>
</HEAD>
<BODY LANG="en-GB" LINK="#000080" VLINK="#800000">
<H1 CLASS="western">Bonobo sample container: bonobo controls testbed</H1>
<P STYLE="margin-bottom: 0cm">Testing purpose</P>
<P>The purpose of the described testing is to provide some minimal
evaluation of the SOME of the existing bonobo controls in the latest
GNOME environment. The document describes first results of the
testing. Probably, the testing will become periodical so people would
be able to see the progress in bonobo controls development.</P>
<H2 CLASS="western">General notes</H2>
<P>The testing application has been recently developed. It is
possible that it misses some fundamental points in the bonobo
interaction. I hope bonobo community will help me to improve it from
container side Б─⌠ and people designing bonobo controls will use it
as a testbed for their products. Sure, any notes on the testing<SPAN LANG="en-GB">
method </SPAN>would be highly appreciated.</P>
<H2 CLASS="western">Testing application</H2>
<P>The bonobo-sample-container application is in libbonoboui CVS
(samples/container subdirectory). The application instantiates bonobo
widget and adds it to the main window. The main window can be either
BonoboWindow or GtkWindow (depending on Б─°-gБ─² command line
option). 
</P>
<P>In case of BonoboWindow, the test application appends own items
into the main menu, popup menu and toolbar. One of the merged
commands is Б─°activateБ─² which activates the control.</P>
<P>For GtkWindow, this merging is not implemented (not possible?).
Also, in this case activation does not affect the control behaviour
in any way I could see.</P>
<H2 CLASS="western">Test results</H2>
<H3 CLASS="western">BonoboWindow as container</H3>
<H4 CLASS="western">Postscript (<I>ggv</I>)</H4>
<OL>
	<LI><P>Main menu</P>
	<OL>
		<LI><P>Showing items from controlБ─⌠ <B>No</B> (after activation -
		<B>Yes</B>)</P>
		<LI><P>Showing items from container Б─⌠ <B>Yes</B></P>
	</OL>
	<LI><P>Popup menu</P>
	<OL>
		<LI><P>Showing items from control Б─⌠ <B>No</B> (after activation Б─⌠
		<B>Yes</B>)</P>
		<LI><P>Showing items from container Б─⌠ <B>No</B></P>
	</OL>
	<LI><P>Toolbar</P>
	<OL>
		<LI><P>Showing items from control Б─⌠ <B>No</B> (after activation Б─⌠
		<B>Yes</B>)</P>
		<LI><P>Showing items from container Б─⌠ <B>Yes</B></P>
	</OL>
	<LI><P STYLE="font-weight: medium">Extra widgets from control Б─⌠ <B>No</B>
	(after activation Б─⌠ <B>Yes</B>)</P>
</OL>
<H4 CLASS="western">PDF (<I>gpdf</I>)</H4>
<OL START=5>
	<LI><P>Main menu</P>
	<OL>
		<LI><P>Showing items from control Б─⌠ <B>No</B> (after activation Б─⌠
		<B>Yes</B>)</P>
		<LI><P>Showing items from container Б─⌠ <B>Yes</B></P>
	</OL>
	<LI><P>Popup menu</P>
	<OL>
		<LI><P>Showing items from control Б─⌠ <B>No</B> (after activation Б─⌠
		<B>Yes</B>)</P>
		<LI><P>Showing items from container Б─⌠ <B>No</B></P>
	</OL>
	<LI><P>Toolbar</P>
	<OL>
		<LI><P>Showing items from control Б─⌠ <B>No</B> (after activation Б─⌠
		<B>Yes</B>)</P>
		<LI><P>Showing items from container Б─⌠ <B>Yes</B></P>
	</OL>
</OL>
<H4 CLASS="western">HTML (gtkhtml3)</H4>
<OL START=8>
	<LI><P>Main menu</P>
	<OL>
		<LI><P>Showing items from control Б─⌠ <B>Yes</B></P>
		<LI><P>Showing items from container Б─⌠ <B>Yes</B></P>
	</OL>
	<LI><P>Popup menu</P>
	<OL>
		<LI><P>Showing items from control Б─⌠ <B>Yes</B></P>
		<LI><P>Showing items from container Б─⌠ <B>No</B></P>
	</OL>
	<LI><P>Toolbar</P>
	<OL>
		<LI><P>Showing items from control Б─⌠ <B>Yes</B></P>
		<LI><P>Showing items from container Б─⌠ <B>Yes</B></P>
	</OL>
	<LI><P>Extra widgets from control - <B>Yes</B></P>
</OL>
<H4 CLASS="western">PNG</H4>
<P>Bonobo error Б─⌠ the system could not find appropriate controls
even with EOG installed.</P>
<H4 CLASS="western">Microsoft Word DOC</H4>
<P>Bonobo error Б─⌠ the system could not find appropriate controls
even with AbiWord installed.</P>
<H3 CLASS="western">GtkWindow as container</H3>
<H4 CLASS="western">Postscript (<I>ggv</I>)</H4>
<OL START=12>
	<LI><P>Main menu</P>
	<OL>
		<LI><P>Showing items from control Б─⌠ <B>No</B></P>
	</OL>
	<LI><P>Popup menu</P>
	<OL>
		<LI><P>Showing items from control Б─⌠ <B>No</B></P>
	</OL>
	<LI><P>Toolbar</P>
	<OL>
		<LI><P>Showing items from control Б─⌠ <B>No</B></P>
	</OL>
</OL>
<H4 CLASS="western">PDF (<I>gpdf</I>)</H4>
<OL START=15>
	<LI><P>Main menu</P>
	<OL>
		<LI><P>Showing items from control Б─⌠ <B>No</B></P>
	</OL>
	<LI><P>Popup menu</P>
	<OL>
		<LI><P>Showing items from control Б─⌠ <B>No</B></P>
	</OL>
	<LI><P>Toolbar</P>
	<OL>
		<LI><P>Showing items from control Б─⌠ <B>No</B></P>
	</OL>
</OL>
<H4 CLASS="western">HTML (gtk<I>html3</I>)</H4>
<OL START=18>
	<LI><P>Main menu</P>
	<OL>
		<LI><P>Showing items from control Б─⌠ <B>No</B></P>
	</OL>
	<LI><P>Popup menu</P>
	<OL>
		<LI><P>Showing items from control Б─⌠ <B>Yes</B></P>
	</OL>
	<LI><P>Toolbar</P>
	<OL>
		<LI><P>Showing items from control Б─⌠ <B>No</B></P>
	</OL>
	<LI><P>Extra widgets from control Б─⌠ <B>Yes</B></P>
</OL>
<H4 CLASS="western">PNG</H4>
<P>Bonobo error Б─⌠ the system could not find appropriate controls
even with EOG installed.</P>
<H4 CLASS="western">Microsoft Word DOC</H4>
<P>Bonobo error Б─⌠ the system could not find appropriate controls
even with AbiWord installed.</P>
<H2 CLASS="western">Brief discussion</H2>
<P>The leader of this testing is gtkhtml3 control. It gets more
points than any other tested control Б─⌠ it shown many of its<SPAN LANG="en-GB">
auxiliary </SPAN>widgets even without activation inside BonoboWindow
Б─⌠ and so it did in GtkWindow. 
</P>
<P>GGV and GPFG show very similar results: bad usability inside
GtkWindow, nice looking when put into BonoboWindow.</P>
<P>Not a single control managed to show container-provided popup menu
items Б─⌠ probably there is a bug in the test application itself. It
was a bit disappointment not to see EOG in action. AbiWord was
probably compiled without embedded control Б─⌠ so no complaints here.</P>
<P>It is a pity that BonoboWindow is a necessary<SPAN LANG="en-GB">
requisite </SPAN>for any application wishing to embed and use bonobo
widgets effectively. Today, only in BonoboWindow user can get
control-provided toolbars and menus. Hopefully, at some point
bonoboui library will make bonobo-based UI more flexible and not so
dependent on BonoboWindow.</P>
<H2 CLASS="western">Software used</H2>
<UL>
	<LI><P>libbonoboui 2.2.0.1</P>
	<LI><P>ggv 2.0.0</P>
	<LI><P>gpdf 0.101</P>
	<LI><P>eog 2.3.1</P>
	<LI><P>abiword 1.9.0</P>
	<LI><P>gtkhtml 3.0.3</P>
</UL>
<P><BR><BR>
</P>
<P><BR><BR>
</P>
<P CLASS="п╬я│п╫п╬п╡п╫п╬п╧-я┌п╣п╨я│я┌-я│-п╬я┌я│я┌я┐п©п╬п╪">12.05.2003</P>
</BODY>
</HTML>
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA+wC148BVHA93jL8ARAqmPAJwP58cCywAG+/A5f40d8zoxTSH6MACfSGVm
AdZHUInvL91adDjIfkiAUMU=
=1f20
-----END PGP SIGNATURE-----