> >>> Could you please test with svn releases pre-8866 (STR #2680) and > >>> if that doesn't solve it with pre-8639 (STR #2613)? I'm short of > >>> time, otherwise I'd do it. Thanks. > >> > >> Testing: > >> > >> r8860 - broken > >> > >> r8630 - OK > > > > Thanks. > > > >> So I guess that means it broke somewhere between 8630 and > 8860, and that > >> perhaps the fix to #2613 might be in the frame here? > > > > Yup, that's what I suspected :-( > > ... and that was wrong! > > The culprit is in svn rev. 8724 (STR #2640): > > "Fl::w() and Fl::h() are documented to return the width and height of > the main screen's work area (system-occupied space excluded); > Fl::screen_xywh() functions instead compute the full width and height > of a screen." > > So it looks as if the menu scrolling code looks at the wrong screen > height value. I didn't investigate this further yet, but this can be > seen with a simple test: I used test/menubar to test, and I found that > it worked in my Linux VM, but it didn't work on Windows. When I tested > with the old (fltk 1.1 or 1.3/r 8630) version(s), I saw that the > scrolling was done when (or before) the cursor entered the > Windows task bar.
> The problem seems to be that we don't get mouse events as soon as the > cursor enters the Windows task bar, and thus we may need to change the > menu code to account for this (and the changed behavior documented in > the fix for STR #2640). Thoughts, anybody? Right - that's interesting... I'd never have thought of looking there. In any case, I guess we need the menu code to only ever use the main screen's work area, and not extend into (under, in my case) the task-bar area. Running fltk-1.1 and fltk-1.3 menubar demo's back-to-back, I have now convinced myself that on the fltk-1.1 case the menu is clipped at the windows task bar, but on the fltk-1.3 version it appears to extend underneath it and hence the problem arises... Is that consistent with your observations too? SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
