ID: | 4276 |
From: | Matt Jenkins <ma...@majenko.co.uk> |
Date: | Thu, 13 Aug 2020 10:32:55 +0100 (BST) |
Subject: | Re: [pcb-rnd] new: DAD widget focus (library window focus bugfix!) |
in-reply-to: | 4273 from ge...@igor2.repo.hu |
It all looks good to me. No more having to click before I search for a footprint. You're my hero ;) --- Matt Jenkins majenko.co.uk On Tue, 11 Aug 2020, gedau@igor2.repo.hu wrote: > Hi all, > > some time during the DAD (dynamic attribute dialog) rewrite a bug got > introduced that made the library window harder to use when it's first > opened: the focus was on the tree, not on the filter entry so simply > typing a footprint name did not do the right thing. > > This was because the DAD API didn't have a concept of focus, which in turn > was due to a limitation (and generally weak design) of motif on this. I've > finally figured how to work this around so we now have a DAD API to set > the focus on a specific widget. It is important that this thing is about > which widget has the focus _initially_, when the dialog box opens. The > user may change focus later on, e.g. by clicking other widgets and we > should do no effort to force the focus back to the initial place. > > I've fixed the initial focus bug in the library window. If you find any > other dialog box that opens with the focus being on the wrong widget, > please report that! > > Best regards, > > Igor2 > > > >
Reply subtree:
4276 Re: [pcb-rnd] new: DAD widget focus (library window focus bugfix!) from Matt Jenkins <ma...@majenko.co.uk>