Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2001:
[Freeciv-Dev] Re: [Patch] New city dialog (10)
Home

[Freeciv-Dev] Re: [Patch] New city dialog (10)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Christian Knoke <ChrisK@xxxxxxxx>
Cc: Freeciv List <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [Patch] New city dialog (10)
From: Mike Kaufman <mkaufman@xxxxxxxxxxxxxx>
Date: Thu, 20 Sep 2001 08:28:57 -0500

On Wed, Sep 19, 2001 at 10:05:42PM +0200, Christian Knoke wrote:
> Am Dienstag, 18. September 2001 22:08 schrieb Daniel Sj?lie:
> > Ok, since I like the "release early, release often" motto - here we
> > go again... :)
> 
> And here are some comments ...
> 
> >
> > I've worked with the keyboard shortcuts for the worklist and the
> > transparent units problem... There is still a visible box around all
> > units together but that's not so bad really, right?
> 
> No, it's not so bad.
> 
> But I would put more space between the units on the units page.
> 
> Unit page / unit list button: When you will ever have so many
> units in your city that you need this window (I did), you probably
> want to select *several* units. So I'd suggest not to close
> this window, when *one* unit is selected. Leave it open instead
> until the user closes it.

I'm not planning on doing this, since it touches code in dialogs.c I
believe. I think this should be put on the _after inclusion_ list. I
think though, that it should close after clicking a unit unless a users
mods the key like Ctrl-click in order to select multiple units.
> 
> >
> > Help says:
> > Keyboard shortcuts: Home to focus the worklist, End to focus the
> > available list, Up/Down arrows to select previous/next item in
> > worklist or available list, PageUp/Down to move items up/down in
> > the worklist, Insert to insert items from the available list into the
> > worklist and Delete to delete the selected item from the worklist
> 
> I think you've got the most out of the keys.
> 
> But I liked the PageUp/Down for switching cities, that was cool ...
> This is now used for Current worklist up/down. What about shift-
> arrow for the worklist?

I haven't looked at Daniel's changes yet, but I believe the plan was to
give prev/next their own letter accelerators. "p"/"n". 

> Also, could you remove the horizontal scrollbar for the available
> items list, which appears sometimes? 

This is for Daniel, but are you talking about permanently removing it or
just when it's not needed?
> 
> The item sorting (straight/reverse) by clicking on the column
> header is useless IMO. More important is a good sorting, like
> Raimer has implemented for the city report change button. I think 
> this can be adressed after CVS inclusion.

I must totally disagree. Yes, it will be better when Raimar sorts it
alphabetically and by localization, but right now it does _not_ sort.
It rotates between having units/city improvements/global worklists at
the head of the list. I think that this makes global worklists far
easier and more likely to be used.

> 
> >
> > I did use gtk_widget_grab_focus for Home and End for now... I tried
> > using gtk_widget_set_state at the suggestion of Vasco but I didn't
> > get that to work... Feel free to try to fix that...
> 
> Besides its getting better and better, I see some small problems:
> 
> When using up and down arrows a lot, strange things happen, i.e.
> switching the pages irregularly.

try to find a reproducible strange thing.
> 
> The mini map sensitivity bug is still there, where there any problems 
> with my patch?

I haven't applied it yet. It looks fine by inspection. This weekend, I
should have some time to complete my stuff.

> 
> The unit page drawing is slow. I have a 200 MHz machine, and
> I really don't want to use it on a slower on.

how many units do you have on the page?

> There is still a memory hole (but smaller). Opening the dialog
> with the units page and closing eats up approximately 100 KB
> X ressources, according to 'ps aux | grep bin/X'.

hmm
> 
> Keyboard shortcuts for Buy and Change are really needed.

I'll see.

-mike


[Prev in Thread] Current Thread [Next in Thread]