Yesterday I was playing with ctrl-tab, of course, and I noticed how the state of the focused tab would sometimes change. I went through a few rounds of fixing this in different ways before finding something that didn't seem icky. Detailed comment in patch.
On Sat, Dec 29, 2012 at 09:21:31PM +0000, corvid wrote:
Yesterday I was playing with ctrl-tab, of course, and I noticed how the state of the focused tab would sometimes change.
What's "the state of the focused tab"?
I went through a few rounds of fixing this in different ways before finding something that didn't seem icky. Detailed comment in patch.
Yeah, from time to time, something like the patch you describe is necessary with FLTK (silent resize of hidden widgets comes to mind...) -- Cheers Jorge.-
Jorge wrote:
On Sat, Dec 29, 2012 at 09:21:31PM +0000, corvid wrote:
Yesterday I was playing with ctrl-tab, of course, and I noticed how the state of the focused tab would sometimes change.
What's "the state of the focused tab"?
Suppose you have two tabs open and you ctrl-tab between them. - If, in the rightmost one, Location had focus, when it gets focus again, suddenly the whole location text is highlighted (Fl_Input.cxx:616). - If the rightmost one has Main focused, when you switch back to it, Location has focus (Fl_Group.cxx:130, 159).
On Wed, Jan 02, 2013 at 05:55:42PM +0000, corvid wrote:
Jorge wrote:
On Sat, Dec 29, 2012 at 09:21:31PM +0000, corvid wrote:
Yesterday I was playing with ctrl-tab, of course, and I noticed how the state of the focused tab would sometimes change.
What's "the state of the focused tab"?
Suppose you have two tabs open and you ctrl-tab between them. - If, in the rightmost one, Location had focus, when it gets focus again, suddenly the whole location text is highlighted (Fl_Input.cxx:616). - If the rightmost one has Main focused, when you switch back to it, Location has focus (Fl_Group.cxx:130, 159).
Ah, now I see! Please add a comment like this to either the source or the hg patch upon commit. -- Cheers Jorge.-
participants (2)
-
corvid@lavabit.com
-
jcid@dillo.org