Mailing list archives : pcb-rnd

ID:4273
From:ge...@igor2.repo.hu
Date:Tue, 11 Aug 2020 05:21:08 +0200 (CEST)
Subject:[pcb-rnd] new: DAD widget focus (library window focus bugfix!)
replies: 4275 from Majenko Technologies <ma...@majenko.co.uk> , 4276 from Matt Jenkins <ma...@majenko.co.uk>
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:
4273 [pcb-rnd] new: DAD widget focus (library window focus bugfix!) from ge...@igor2.repo.hu
  4275 Re: [pcb-rnd] new: DAD widget focus (library window focus bugfix!) from Majenko Technologies <ma...@majenko.co.uk>
  4276 Re: [pcb-rnd] new: DAD widget focus (library window focus bugfix!) from Matt Jenkins <ma...@majenko.co.uk>