Subject: Re: Top Annoyances Relayed from Users
From: Thomas Fletcher (thomasf@qnx.com)
Date: Wed Jan 24 2001 - 07:51:58 CST
On Wed, 24 Jan 2001, Dom Lachowicz wrote:
> >1) Can we chrink the toolbar icons?
> > - It seems that most people like the toolbar, but find that the icons
> > are just too large. This may partially be a result of the way that
> > I render them, but I also noticed in the menu code for unix that
> > there is a "Text", "Icon", "Text and Icon" type of logic. Is that
> > actually controlled by an option which the user can configure in
> > AbiWord itself? I've not seen this option which is why I'm asking.
>
> No, please don't shrink the icons. If you'd like, you can have code that
> shrinks the XPMs for the QNX build. If you shrink the icons, then AbiWord on
> Gnome will not look like the rest of Gnome Office. But perhaps this code
> might go best in XP-land: the icons are bigger than I like in the win32
> build.
My fault for not making myself clear on this. I wasn't actually
suggesting that we shrink the size of the icons. I was really asking
two sub questions:
1a) Is there actually a user control in the preferences somewhere that
corresponds to this code (from src/af/ev/unix/*Toolbar.cpp):
const XML_Char * szValue = NULL;
m_pUnixApp->getPrefsValue(XAP_PREF_KEY_ToolbarAppearance,&szValue);
UT_ASSERT((szValue) && (*szValue));
GtkToolbarStyle style = GTK_TOOLBAR_ICONS;
if (UT_XML_stricmp(szValue,"icon")==0)
style = GTK_TOOLBAR_ICONS;
else if (UT_XML_stricmp(szValue,"text")==0)
style = GTK_TOOLBAR_TEXT;
else if (UT_XML_stricmp(szValue,"both")==0)
style = GTK_TOOLBAR_BOTH;
1b) If/When we make this code exist, would it be possible to create
a fourth category (or really just a modifier) which would be to
"Use smaller icons" which would change our 24x24 icons to 16x16
icons or something similar. This code could probably be
implemented per platform unless someone has some generic image
shrinking code they could use so we don't have to have two sets
of icons in the code.
> >2) Can the window come back to the same position/size as before.
> > - I know that there is code in there for unix to handle the -geom
> > flags, and that additionally some window managers will automatically
> > save the position. Is it possible for us to save this type of
> > information in the user preferences for the next time we load?
>
> Sure - I don't see why not. This'd be a good thing.
Ok I've already started on this ... it will essentially
mesh in with the existing setGeometry code that is there for
unix.
I'm proposing the following sketched out behaviour:
-First ever start of AbiWord ... no geometry is set so the
default size is used (whatever this may be per platform,
if we wanted to go all the way, we could decide that we
want a consistant default size on all platoforms ... this
can be done later).
Upon re-size the geometry should be set to reflect the
new position/size.
-Non-first start of AbiWord ... a geometry will have been
set from the first invocation and that geometry (stored
in the preferences) will be used to re-position the window.
-Start of AbiWord with the --geom flags. This will set the
default geometry for the frame when it is created, overriding
the value which may or may not be in the preferences. This
value will not be stored in the preferences _unless_ the
user decides to re-size/re-position the frame.
The preference is saved out when the user normally exits
the application: Now we have two alternatives on where to
save this information:
- Saved as part of the _default_ scheme (I don't like this,
but I know how to do this)
- Have a new section in the preferences with the following:
<Geometry
posx="value"
posy="value"
width="value"
height="value"
/> (I don't know how to do this yet ...)
Thoughts ... comments,
Thomas
-------------------------------------------------------------
Thomas (toe-mah) Fletcher QNX Software Systems
thomasf@qnx.com Neutrino Development Group
(613)-591-0931 http://www.qnx.com/~thomasf
This archive was generated by hypermail 2b25 : Wed Jan 24 2001 - 07:52:13 CST