gEDA-dev: Filechooser and component selector code
Carlos Nieves Ónega
cnieves.mail at gmail.com
Wed Oct 4 16:41:45 EDT 2006
Hi,
El mar, 03-10-2006 a las 23:45 +0200, Patrick Bernaud escribió:
> Peter Clifton writes:
> > [...]
> > One thought would be to have the filtered list update as the user types
> > if possible. Its not immediately obvious to press Enter (Like the
> > previous search box). The evolution mail client embeds a "Clear" button
> > (actually a sweeping brush) into it's filter box to remove the filter,
> > however it too requires Enter to be pushed before filtering the list.
> > Somehow that doesn't seem wrong in Evolution.
>
> Below is a patch that adds a clear button (next to the entry not
> inside as in Evolution, I will have a look at how they do that) and
> the update of the list as the user types.
Another patch applied into CVS :-) . Thanks.
I noticed that there is some drawing problem (before and after this
patch): if you press the escape key after you selected some component in
the selector and it was drawn in the page (not placed, just drawn
following the mouse). When hitting escape, the first drawn of the object
stays there.
I also think the behaviour when hitting the escape key has changed. I
remember that when hitting the escape key, the component selector window
was closed.
And there is another difference: when clicking on the apply button, the
component selector was hidden and you could see the whole schematic. Now
the component selector is always shown, so I can't see the schematic
page. Please double check if I'm correct here, maybe it's a matter of
the window manager...
[snip]
> > On my system, I notice that the parts lists are a little small for the
> > line width of the file names. I can drag the window out which is nice,
> > but if I close and re-open it, the old size is back.
> >
> > I'm not sure if it is something we're "supposed" to program ourselves,
> > or whether the window manager should do it for us, but I'd like the
> > ability for the window to popup with the same width and height each time
> > I open the component selector dialog. I don't mean to save it across
> > invocations of gschem, just whilst gschem is running.
>
> No idea on that. Anybody know?
I think gschem needs to store the last component selector window size,
and set it again when creating a new one.
There is a lot of variables in toplevel which are preferences or needed
variables for several utilities (gschem, gnetlist,...).
I think we need to clean all this mess and store the app preferences in
some way which is neutral for libgeda. Maybe a gobject, or something...
Regards,
Carlos
More information about the geda-dev
mailing list