Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

If a listener nods his head when you're explaining your program, wake him up.


devel / comp.sys.acorn.apps / Re: Snapper

SubjectAuthor
* Snapperb.boase
+* Re: SnapperNews
|+- Re: SnapperDave
|`* Re: SnapperMatthew Phillips
| `* Re: SnapperNews
|  `- Re: SnapperJohn Williams (News)
`- Re: Snapperb.boase

1
Snapper

<8b5792b759.boase@bernard>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1295&group=comp.sys.acorn.apps#1295

  copy link   Newsgroups: comp.sys.acorn.apps
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: b.boase@bcs.org
Newsgroups: comp.sys.acorn.apps
Subject: Snapper
Date: Tue, 08 Feb 2022 14:25:05 GMT
Organization: Bernard
Lines: 10
Message-ID: <8b5792b759.boase@bernard>
Reply-To: b.boase@bcs.org
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="7058f36e691cb6b4ed5329f4e1b88810";
logging-data="6961"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18lwPgIkcQVdpxf+vipgj903BA7O966Jfo="
User-Agent: Messenger-Pro/8.05wpb1 (MsgServe/8.05) (RISC-OS/5.29) NewsHound/v1.53-32 RC1
Cancel-Lock: sha1:7u3nCx2DloNWlJcTaT9Bpe5JeRg=
X-Editor: EmailEdit 2.04
 by: b.boase@bcs.org - Tue, 8 Feb 2022 14:25 UTC

A quick question to Chris Johnson about !Snapper. Can it be made to snap
the entirety of a window that is partially off the current screen?

For example, I used Martin Würthner's !DiscSpace to examine a directory's
use of space, and its output is a rather long window only part of which is
on screen at any moment. I wanted to snap the whole window in one go, but
I don't think Snapper can do it. Is that just inevitable?

--
Bernard

Re: Snapper

<59b79a56e8chrisjohnson@spamcop.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1296&group=comp.sys.acorn.apps#1296

  copy link   Newsgroups: comp.sys.acorn.apps
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!2.us.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 08 Feb 2022 10:18:13 -0600
From: chrisjohnson@spamcop.net (News)
Subject: Re: Snapper
Newsgroups: comp.sys.acorn.apps
Date: Tue, 08 Feb 2022 15:52:26 +0000 (GMT)
Message-ID: <59b79a56e8chrisjohnson@spamcop.net>
References: <8b5792b759.boase@bernard>
User-Agent: Pluto/3.18 (RISC OS/5.29) NewsHound/v1.53-32 RC1
Organization: None
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Lines: 47
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-0vXgwdr+I0Le1Y8l0A325v2mq7QO96zFk7EmSfwgSxOIrtFMSfXOd6bSHCDXffKcmyj5cCPNWd50sy0!Ahb9QmedOwL3majbKj4WZOq6j4Hgko3BqaO/D8ohOiuB1qniSkRAGujvNL9HzbQAK271aIwoZMQ+!SbKx
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2984
 by: News - Tue, 8 Feb 2022 15:52 UTC

In article <8b5792b759.boase@bernard>,
<b.boase@bcs.org> wrote:
> A quick question to Chris Johnson about !Snapper. Can it be made to
> snap the entirety of a window that is partially off the current
> screen?

> For example, I used Martin Würthner's !DiscSpace to examine a
> directory's use of space, and its output is a rather long window
> only part of which is on screen at any moment. I wanted to snap
> the whole window in one go, but I don't think Snapper can do it.
> Is that just inevitable?

I am afraid it is. It uses a sprite op to grab the specified part of
the visible screen. If part of the window is off screen, then it
cannot be grabbed (the wimp will not be redrawing the offscreen part
anyway).

It is something that has been discussed in the distant past (user
postings and David and myself). It originally was raised as a way to
grab complete web pages (longer than the screen) in one go. What
would be required would be seriously hacky.

Possibilities:
1) Ask the task to redraw its whole window in to a buffer which could
then be copied or obtained by Snapper. Requires the task to be fully
cooperative - have its own code, and in any case Snapper would be
superfluous if the task could do it itself.

2) Automate the manual long way. If the window was on-screen but not
full size, Snapper could (in some currently unknown way) snap the
visible part, force a scroll of the window by passing open_window
messages to the task, and snap again, repeating until there were
grabs for the whole window, Then the individual parts would need to
be stitched together.

3) Do something similar to 2, but using one of the virtual screen
apps and forcing the virtual screens to change. Stitching still
required.

In the words of the old country gentleman, when asked for directions
to wherever, he thought it would be better to start somewhere
completely different (ie not Snapper).

If anyone has any bright ideas, let us know.

--
Chris Johnson

Re: Snapper

<59b7ac97c4dave@triffid.co.uk>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1297&group=comp.sys.acorn.apps#1297

  copy link   Newsgroups: comp.sys.acorn.apps
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: dave@triffid.co.uk (Dave)
Newsgroups: comp.sys.acorn.apps
Subject: Re: Snapper
Date: Tue, 08 Feb 2022 19:11:49 +0000 (GMT)
Organization: TLP
Lines: 20
Message-ID: <59b7ac97c4dave@triffid.co.uk>
References: <8b5792b759.boase@bernard> <59b79a56e8chrisjohnson@spamcop.net>
X-Trace: individual.net Aimgza+vuZE8Pc2HdLrLnwpzG4RiOGfLxqwzlLf1rBgWW0koWE
X-Orig-Path: triffid.co.uk!dave
Cancel-Lock: sha1:Dphshd3ZKHmih1s+7fVdlQ0rBgk=
User-Agent: Pluto/3.18 (RISC OS/6.20) NewsHound/v1.52-32
 by: Dave - Tue, 8 Feb 2022 19:11 UTC

In article <59b79a56e8chrisjohnson@spamcop.net>,
News <chrisjohnson@spamcop.net> wrote:

[Snip]

> In the words of the old country gentleman, when asked for directions
> to wherever, he thought it would be better to start somewhere
> completely different (ie not Snapper).

> If anyone has any bright ideas, let us know.

If you go Windows side and use Snagit, you have two larger than screen
grab options, scrolling to grab a page longer than a screen full, like a
webpage, or even a Panoramic option.

Dave

--

Dave Triffid

Re: Snapper

<3c11beb759.Matthew@sinenomine.co.uk>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1298&group=comp.sys.acorn.apps#1298

  copy link   Newsgroups: comp.sys.acorn.apps
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 08 Feb 2022 16:19:00 -0600
Date: Tue, 08 Feb 2022 22:22:41 GMT
From: spam2011m@yahoo.co.uk (Matthew Phillips)
Newsgroups: comp.sys.acorn.apps
Subject: Re: Snapper
Message-ID: <3c11beb759.Matthew@sinenomine.co.uk>
References: <8b5792b759.boase@bernard> <59b79a56e8chrisjohnson@spamcop.net>
User-Agent: Messenger-Pro/8.04 (MsgServe/8.04S) (RISC-OS/5.16) NewsHound/v1.50-32
Lines: 33
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-CkNKT6Hrx2QtHX6Tm6aBqpWkw0o3MOPJTQioo6AJ4/WXoElm6I1GSUwEwrVjGWmkG1Y/BxsmzUYp938!AtiW3a2CFXLEoQibBQQXvHo2y+sftO4dr9sX/Kun71/Nf2HUeB5WFEpxxzSqvmsTgnLSTJhUkH8+!MP8SZEuG
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2366
 by: Matthew Phillips - Tue, 8 Feb 2022 22:22 UTC

In message <59b79a56e8chrisjohnson@spamcop.net>
on 8 Feb 2022 News wrote:

> In article <8b5792b759.boase@bernard>,
> <b.boase@bcs.org> wrote:
> > A quick question to Chris Johnson about !Snapper. Can it be made to
> > snap the entirety of a window that is partially off the current
> > screen?

[snip]

> 2) Automate the manual long way. If the window was on-screen but not full
> size, Snapper could (in some currently unknown way) snap the visible part,
> force a scroll of the window by passing open_window messages to the task,
> and snap again, repeating until there were grabs for the whole window, Then
> the individual parts would need to be stitched together.

This should be possible, as the work area extent scroll offset and other
details required can be read even if you don't own the window. Indeed,
Snapper must be reading some of this information already. Then, as you say,
open window requests could be sent to scroll the window (which would also
mean Snapper would have to poll the Wimp to allow the redraw to take place).

If would be hard to make it work for a task which polls during its redrawing
because it has to get the content together and wants to be responsive, but
for simpler apps it would be possible.

Quite fiddly to code, and stitching the sprites together would be a bit of
work. Would be a pain if there were two dimensions to scroll in!

--
Matthew Phillips
Durham

Re: Snapper

<7987c2b759.boase@bernard>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1299&group=comp.sys.acorn.apps#1299

  copy link   Newsgroups: comp.sys.acorn.apps
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: b.boase@bcs.org
Newsgroups: comp.sys.acorn.apps
Subject: Re: Snapper
Date: Tue, 08 Feb 2022 23:11:25 GMT
Organization: Bernard
Lines: 12
Message-ID: <7987c2b759.boase@bernard>
References: <8b5792b759.boase@bernard>
Reply-To: b.boase@bcs.org
Injection-Info: reader02.eternal-september.org; posting-host="4ee5a088264ad21322b1fa8dbf269a69";
logging-data="4580"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX187tp3ASksg4EhQbsSlJUcNa97NZmHkeGE="
User-Agent: Messenger-Pro/8.05wpb1 (MsgServe/8.05) (RISC-OS/5.29) NewsHound/v1.53-32 RC1
Cancel-Lock: sha1:CQpMGBMMJ83pMDg4WuWC43pr5Os=
X-Editor: EmailEdit 2.04
 by: b.boase@bcs.org - Tue, 8 Feb 2022 23:11 UTC

On 8 Feb 2022, b.boase@bcs.org wrote:

> I don't think Snapper can do it. Is that just inevitable?

Okay, chaps, understood. In the event I used Snapper on two parts of the
window in question and did my own stitching in PhotoDesk to give an
effective, if rudimentary, single sprite result. Probably too rare a case
to bother with a difficult automatic solution, but thanks for indulging
me!

--
Bernard

Re: Snapper

<59b7c5bb69chrisjohnson@spamcop.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1300&group=comp.sys.acorn.apps#1300

  copy link   Newsgroups: comp.sys.acorn.apps
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 08 Feb 2022 17:47:08 -0600
From: chrisjohnson@spamcop.net (News)
Subject: Re: Snapper
Newsgroups: comp.sys.acorn.apps
Date: Tue, 08 Feb 2022 23:46:24 +0000 (GMT)
Message-ID: <59b7c5bb69chrisjohnson@spamcop.net>
References: <8b5792b759.boase@bernard> <59b79a56e8chrisjohnson@spamcop.net> <3c11beb759.Matthew@sinenomine.co.uk>
User-Agent: Pluto/3.18 (RISC OS/5.29) NewsHound/v1.53-32 RC1
Organization: None
Lines: 23
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-D28ne2EYIHdH4vfVrmJ+9XaNMERN7mBPYxAHjmWRySKTFzqmSbRW14EIoMKQsoAEKRJU+4WG2MRdYeY!XcgHZtuUu2WrVHBxuNjB0H2XA3rUU4HTUcmHAV/s0h+O36TUlmG/jV9NBhaxr9RH00srdX3imoZr!Q7lP
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 2135
 by: News - Tue, 8 Feb 2022 23:46 UTC

In article <3c11beb759.Matthew@sinenomine.co.uk>,
Matthew Phillips <spam2011m@yahoo.co.uk> wrote:
> This should be possible, as the work area extent scroll offset and
> other details required can be read even if you don't own the
> window. Indeed, Snapper must be reading some of this information
> already. Then, as you say, open window requests could be sent to
> scroll the window (which would also mean Snapper would have to poll
> the Wimp to allow the redraw to take place).

Snapper certainly has to get the state of the window in question to
do its thing. During a snap it already polls quite a bit and sends
window open messages to do things like bring target window to top,
and then put it back again, and to fill the snap area when grabbing a
menu for example. To set scroll bar positions is therefore possible.
One thing of course is that the full extent of a window is not likely
to be an exact multiple of the visible area, so some snaps would be
for only part of the window content.

When I have nothing better to occupy me, I might have a play to see
what is possible. The stitching might be the larger task in the end.

--
Chris Johnson

Re: Snapper

<59b7f74fcfUCEbin@tiscali.co.uk>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1301&group=comp.sys.acorn.apps#1301

  copy link   Newsgroups: comp.sys.acorn.apps
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed2-a.proxad.net!nnrp1-1.free.fr!not-for-mail
From: UCEbin@tiscali.co.uk (John Williams (News))
Subject: Re: Snapper
Newsgroups: comp.sys.acorn.apps
Date: Wed, 09 Feb 2022 08:47:56 +0000 (GMT)
Message-ID: <59b7f74fcfUCEbin@tiscali.co.uk>
References: <8b5792b759.boase@bernard> <59b79a56e8chrisjohnson@spamcop.net> <3c11beb759.Matthew@sinenomine.co.uk> <59b7c5bb69chrisjohnson@spamcop.net>
User-Agent: Pluto/3.18 (RISC OS/5.29) NewsHound/v1.52-32
Lines: 22
Organization: Guest of ProXad - France
NNTP-Posting-Date: 09 Feb 2022 09:48:36 CET
NNTP-Posting-Host: 86.140.19.52
X-Trace: 1644396516 news-4.free.fr 20272 86.140.19.52:63551
X-Complaints-To: abuse@proxad.net
 by: John Williams (News) - Wed, 9 Feb 2022 08:47 UTC

In article <59b7c5bb69chrisjohnson@spamcop.net>,
News <chrisjohnson@spamcop.net> wrote:

> I might have a play to see what is possible

This may indeed be a very silly idea, but as most modern monitors are
effectively widescreen, and all tend to be landscape, is there any mileage
in rotating the sprite area 90 degrees for the snap, and then returning it
to normal aspect, or doing this same thing on a "banked" screen out of the
user's vision.

Obviously won't address all cases, but might cover a significant number.

And then there's the (probably equally silly) idea of a virtual long
portrait screen to plot to and read from. It could be mimicked scaled-down
on the screen itself.

As I say, probably all very silly, but may spark a less silly idea in
someone who knows what they're talking about!

John

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor