Re: Hotlist window issue

2023-08-28 Thread Harriet Bazley
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


Re: Hotlist window issue

2023-08-28 Thread Rob Kendrick
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

(And similar in the other languages.)

B.
___
netsurf-users mailing list -- netsurf-users@netsurf-browser.org
To unsubscribe send an email to netsurf-users-le...@netsurf-browser.org


Re: Hotlist window issue

2023-08-27 Thread Harriet Bazley
On 27 Aug 2023 as I do recall,

Christian Ludlam  wrote:

>
> > On 27 Aug 2023, at 22:42, Harriet Bazley  wrote:
> > 
> > On 27 Aug 2023 as I do recall,
> >  Frederick Bambrough  wrote:
> > 
> >> Is this a known bug?
> >> 
> >> Hotlist ignores 'Allow windows off screen' configuration settings when
> >> 'off screen' is disallowed. It moves freely off screen in all directions
> >> except 'top' where it stops with the top edge of the title bar off screen.
> >> 
> >> Other NetSurf windows do as expected.

[snip]

> > The hotlist simply expands downwards from its current position, which
> > causes the resize icon and bottom scroll arrow to disappear off the
> > bottom of the screen, which under RISC OS means that you *can't* then
> > resize it manually to make the bottom items accessible again….
> > 
> 
> I think both problems are controlled by bit 6 of the window flags - if you
> have a template editor you may be able to fix this.

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.

These two are confusing:
https://www.riscosopen.org/forum/forums/11/topics/17817#posts-139923
___
netsurf-users mailing list -- netsurf-users@netsurf-browser.org
To unsubscribe send an email to netsurf-users-le...@netsurf-browser.org


Re: Hotlist window issue

2023-08-27 Thread Christian Ludlam

> On 27 Aug 2023, at 22:42, Harriet Bazley  wrote:
> 
> On 27 Aug 2023 as I do recall,
>  Frederick Bambrough  wrote:
> 
>> Is this a known bug?
>> 
>> Hotlist ignores 'Allow windows off screen' configuration settings when
>> 'off screen' is disallowed. It moves freely off screen in all directions
>> except 'top' where it stops with the top edge of the title bar off screen.
>> 
>> Other NetSurf windows do as expected.
>> 
> I reported an offscreen-hotlist-related window issue back in 2021.  It
> has never been acknowledged, let alone confirmed or resolved (and it's
> still present, and as annoying as ever).
> https://bugs.netsurf-browser.org/mantis/view.php?id=2831
> 
> Its is not normal RISC OS behaviour for the 'toggle window size' icon to
> expand the window *beyond the edge of the screen*, whatever the 'Allow
> windows off screen' configuration is, and indeed other NetSurf windows
> behave as expected - you can drag them manually so that portions are
> off-screen, but as soon as you toggle the size they expand to the
> largest possible size that will fit on the screen (moving to the top of
> the screen if necessary in order to fit in the maxmimum-size window) but
> no larger.
> 
> The hotlist simply expands downwards from its current position, which
> causes the resize icon and bottom scroll arrow to disappear off the
> bottom of the screen, which under RISC OS means that you *can't* then
> resize it manually to make the bottom items accessible again….
> 

I think both problems are controlled by bit 6 of the window flags - if you
have a template editor you may be able to fix this.

Christian

___
netsurf-users mailing list -- netsurf-users@netsurf-browser.org
To unsubscribe send an email to netsurf-users-le...@netsurf-browser.org


Re: Hotlist window issue

2023-08-27 Thread Harriet Bazley
On 27 Aug 2023 as I do recall,
  Frederick Bambrough  wrote:

> Is this a known bug?
> 
> Hotlist ignores 'Allow windows off screen' configuration settings when
> 'off screen' is disallowed. It moves freely off screen in all directions
> except 'top' where it stops with the top edge of the title bar off screen.
> 
> Other NetSurf windows do as expected.
> 
I reported an offscreen-hotlist-related window issue back in 2021.  It
has never been acknowledged, let alone confirmed or resolved (and it's
still present, and as annoying as ever).
https://bugs.netsurf-browser.org/mantis/view.php?id=2831

Its is not normal RISC OS behaviour for the 'toggle window size' icon to
expand the window *beyond the edge of the screen*, whatever the 'Allow
windows off screen' configuration is, and indeed other NetSurf windows
behave as expected - you can drag them manually so that portions are
off-screen, but as soon as you toggle the size they expand to the
largest possible size that will fit on the screen (moving to the top of
the screen if necessary in order to fit in the maxmimum-size window) but
no larger.

The hotlist simply expands downwards from its current position, which
causes the resize icon and bottom scroll arrow to disappear off the
bottom of the screen, which under RISC OS means that you *can't* then
resize it manually to make the bottom items accessible again


-- 
Harriet Bazley ==  Loyaulte me lie ==

The best way to keep your friends is not to give them away.
___
netsurf-users mailing list -- netsurf-users@netsurf-browser.org
To unsubscribe send an email to netsurf-users-le...@netsurf-browser.org