On Thu, Dec 20, 2007 at 07:12:56PM +0100, Johannes Hofmann wrote:
On Wed, Dec 19, 2007 at 09:41:20PM +0000, Jeremy Henty wrote:
Not fixed yet. :-( The bug appears to be sporadic now: sometimes a middle-click brings up a blank page, sometimes not. I *think* that a left-click still always works. NB: the test page includes an input widget and it is affected too, so this is not AFAICT specific to the FLTK TextEditor.
Can you reproduce this at all? Maybe it's affected by the window manager? I'm running Linux 2.6.23 + X windows 7.1 + icewm.
Yes, I could reproduce it - sporadically. But I no longer can with my change... I will keep on trying.
I believe I have fixed it. FltkViewport::{scrollDX,scrollDY} were not being initialised. This explains why sometimes the form rendered but displaced vertically (which I forgot to mention). I imagine the blank pages were due to the same bug scrolling the form right off the page. I'll post the fix and the complete textarea patch to new threads: this is getting confusing! Johannes, you'll need to tell me which of your viewport patches I should use; it's possible that once this scrolling fix is committed some of your earlier efforts may turn out to be sufficient. Regards, Jeremy Henty