On 28 Aug 2023 as I do recall, Rob Kendrick wrote: > On Sun, Aug 27, 2023 at 11:37:26PM +0100, Harriet Bazley wrote: > > I've just noticed that the same thing applies to the global history > > window - if I check that in WinEd, the history window in the Templates > > file has *neither* 'Allow off screen' nor 'Keep on screen' flags set. > > Both of these use the "tree" template, whose source can be found here: > > http://git.netsurf-browser.org/netsurf.git/tree/frontends/riscos/templates/en#n2605
Thanks for the pointer - I've spent a lot of time fiddling around with the settings of those two flags in !NetSurf.Resources.en.Templates.tree, and so far as I can tell the only setting that can prevent the window from resizing itself off the bottom of the screen is to have 'Keep on screen' (bit 13) ON and 'Allow off screen' (bit 6) OFF. Which is rather more stringent than actually desirable, because it then makes it impossible for any part of that window ever to be outside the screen ever, which is *not* normal Wimp behaviour, but it's the only combination of flags that appears to produce the desired result of jumping up to the top of the screen to use the maximum visible area when the size is toggled. I can only assume that the 'standard' RISC OS behaviour (as displayed by NetSurf's main browser window for instance) of forcing the window onscreen when the user requests a toggle to maximum size, but permitting it to be dragged partially offscreen thereafter, requires some kind of application redraw rather than being handled entirely by the WIMP? -- Harriet Bazley == Loyaulte me lie == A poor workman blames his tools. _______________________________________________ netsurf-users mailing list -- netsurf-users@netsurf-browser.org To unsubscribe send an email to netsurf-users-le...@netsurf-browser.org