Re: findbar behaviour
Jorge Arellano Cid <[email protected]>
| Newsgroups | gmane.comp.web.dillo.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Dec 25, 2012 at 07:08:26PM +0000, corvid wrote: > > When I want to change the case-sensitivity of a search, I don't like > having to switch to the mouse and aim it toward the little checkbox. > > So I looked up why we disable tabbing to the other widgets (and found > nothing). Then a little experimentation showed that triggering shortcuts > causes widgets to get focus, which we don't want. > > With that answered, I tried letting the input do its own callbacks upon > Enter or Shift-Enter, and letting everything accept focus. > > This isn't heavily tested, but I wanted to see how the idea goes over > first... Beware, this is tricky. I remember having worked on this simplifying a lot the UI, by trying to avoid custom code/classes for each widget. IIRC, a relatively clean way to hook this shortcuts is to let the event get to the parent group, which in this case should focus its next child. -- Cheers Jorge.-