Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LaBella window positions

15 views
Skip to first unread message

Brian Jordan

unread,
Dec 7, 2012, 9:23:14 AM12/7/12
to
I have just started LaBella to print off this year's card labels but
the main editing window is off screen at the top and I can find no
obvious way of restoring it to the correct position. This is on a wide
screen monitor with which I replaced my 4:3 one during the last year
and which I imagine is at the heart of my problem.
Within LaBella's choices is a directory "Windows" which has what I
presume is position information for the application's various windows
and which I also presume I can edit; later refining the positions and
saving them with the icon bar menu option.

Before I put on my blindfold and start flailing around I wonder if
anyone has had to deal with the same problem and can give me any hints
or tips?
--

Brian Jordan
Virtual RPC-AdjustSA
RISC OS 6.20

Steve Fryatt

unread,
Dec 7, 2012, 12:29:15 PM12/7/12
to
On 7 Dec, Brian Jordan wrote in message
<35c85ffa...@brian.jordan9.btinternet.com>:

> I have just started LaBella to print off this year's card labels but the
> main editing window is off screen at the top and I can find no obvious way
> of restoring it to the correct position. This is on a wide screen monitor
> with which I replaced my 4:3 one during the last year and which I imagine
> is at the heart of my problem.
>
> Within LaBella's choices is a directory "Windows" which has what I presume
> is position information for the application's various windows and which I
> also presume I can edit; later refining the positions and saving them with
> the icon bar menu option.

From the source code that I have here, it would appear that you can safely
delete some or all of the files and on loading LaBella will use default
values for the window positions. Otherwise you can edit files, the six
numbers in each are:

Min X position
Min Y position
Max X position
Max Y position
Scroll X
Scroll Y

all in OS units. The values in the file seem to be passed to the Wimp with
absolutely no sanity checks at all, so take care.

If it were me, I'd delete all of the files from within the Windows folder
and start again...

PS: It wouldn't be hard to add some sanity checks to the code, so that if
the values are off-screen it falls back to the defaults. Assuming that I
can muster the enthusiasm to navigate the torturous LaBella build/release
process again, would anyone find such an update useful?

--
Steve Fryatt - Leeds, England

http://www.stevefryatt.org.uk/

Brian Jordan

unread,
Dec 7, 2012, 2:24:09 PM12/7/12
to
In message <mpro.meo8ka01...@stevefryatt.org.uk>
Steve Fryatt <ne...@stevefryatt.org.uk> wrote:

> On 7 Dec, Brian Jordan wrote in message
> <35c85ffa...@brian.jordan9.btinternet.com>:


[snip]

>>
>>
>> Within LaBella's choices is a directory "Windows" which has what I presume
>> is position information for the application's various windows and which I
>> also presume I can edit; later refining the positions and saving them with
>> the icon bar menu option.

Just to say that I did just this and I now have a working LaBella with
all windows accessible.

> From the source code that I have here, it would appear that you can safely
> delete some or all of the files and on loading LaBella will use default
> values for the window positions. Otherwise you can edit files, the six
> numbers in each are:

> Min X position
> Min Y position
> Max X position
> Max Y position
> Scroll X
> Scroll Y

Thanks for this Steve - I had a bit of a punt and guessed that the
first 4 values represented min and max x and y values although I
stopped short of working out the order they appear in. I just set the
values in the "Wcontrol" choice file to what I thought would be mid
screen (ish) and got the window to open fully within the screen,
dragged it to the top left of the screen and saved the window
positions. It transpired that only one other window opened outwith the
screen boundary, that being the graphic import screen, which I fixed
in the same way.

> all in OS units. The values in the file seem to be passed to the Wimp with
> absolutely no sanity checks at all, so take care.

> If it were me, I'd delete all of the files from within the Windows folder
> and start again...

I might try that later just for fun but right now SWMBO is waiting for
her labels...

> PS: It wouldn't be hard to add some sanity checks to the code, so that if
> the values are off-screen it falls back to the defaults. Assuming that I
> can muster the enthusiasm to navigate the torturous LaBella build/release
> process again, would anyone find such an update useful?

I suppose it would be useful but I imagine you have a lot more
important stuff to do, particularly as I appear to be the only person
to have hit upon this problem.

Thanks

John Bryan

unread,
Dec 7, 2012, 3:57:42 PM12/7/12
to
In message <35c85ffa...@brian.jordan9.btinternet.com>
From the iconbar menu on version 6.42 you can "Save window positions"
Does this help...
--
John Bryan

Brian Jordan

unread,
Dec 7, 2012, 5:40:30 PM12/7/12
to
In message <89e583fa5...@john.bryan86.fsnet.co.uk>
That is sort of what I meant by "saving them with the icon bar menu
option".

--
Brian Jordan

Dave Plowman (News)

unread,
Dec 7, 2012, 6:51:42 PM12/7/12
to
In article <ef547bfa...@brian.jordan9.btinternet.com>,
Brian Jordan <brian....@btinternet.com> wrote:
> I suppose it would be useful but I imagine you have a lot more
> important stuff to do, particularly as I appear to be the only person
> to have hit upon this problem.

I changed from a 4:3 to 16:9 monitor without this problem. But I'm using
v3.00 which doesn't appear to have a choices file anyway.

--
*Can fat people go skinny-dipping?

Dave Plowman da...@davenoise.co.uk London SW
To e-mail, change noise into sound.

Brian Jordan

unread,
Dec 7, 2012, 8:50:17 PM12/7/12
to
In message <ef547bfa...@brian.jordan9.btinternet.com>
Brian Jordan <brian....@btinternet.com> wrote:

> In message <mpro.meo8ka01...@stevefryatt.org.uk>
> Steve Fryatt <ne...@stevefryatt.org.uk> wrote:

>> On 7 Dec, Brian Jordan wrote in message
>> <35c85ffa...@brian.jordan9.btinternet.com>:


[snip]


>> If it were me, I'd delete all of the files from within the Windows folder
>> and start again...

> I might try that later just for fun but right now SWMBO is waiting for
> her labels...

OK. I have tried that and it is indeed the best solution. I hadn't
appreciated that the Windows folder in Choices only appears after the
first time the user chooses the <Save window positions> iconbar menu
option. I had supposed that it was set in the first instance by the
program and modified by the user. In a vanilla installation the
windows open in the positions originally set in a template editor;
also the Windows folder and its contents are absent from Choices.

So it would seem that I have found a very unusual situation where in
the past, on a 4:3 screen, I had saved choices which are incompatible
with my 16:9 screen. Had I not changed monitors this wouldn't have
come to light but it kind of explains why there is no checking of the
code. Maybe, rather than changing the code, you should add a note to
the documentation warning of this issue or perhaps add a <Delete saved
window positions> menu option?


[snip]



--
Brian Jordan

Dave Plowman (News)

unread,
Dec 8, 2012, 6:19:01 AM12/8/12
to
Where can I get the latest version?

--
*The problem with the world is that everyone is a few drinks behind *

Brian Jordan

unread,
Dec 8, 2012, 6:49:48 AM12/8/12
to
In message <52fad2c...@davenoise.co.uk>
"Dave Plowman (News)" <da...@davenoise.co.uk> wrote:

> Where can I get the latest version?

v6.43 from a link on http://www.rayfavre.me.uk/dwapps.html

Dave Plowman (News)

unread,
Dec 8, 2012, 9:45:26 AM12/8/12
to
In article <0a92d5fa...@brian.jordan9.btinternet.com>,
Brian Jordan <brian....@btinternet.com> wrote:
> In message <52fad2c...@davenoise.co.uk>
> "Dave Plowman (News)" <da...@davenoise.co.uk> wrote:

> > Where can I get the latest version?

> v6.43 from a link on http://www.rayfavre.me.uk/dwapps.html

Thanks, Brian.

--
*Corduroy pillows are making headlines.

Chris Evans

unread,
Dec 11, 2012, 9:05:35 AM12/11/12
to
In article <mpro.meo8ka01...@stevefryatt.org.uk>, Steve Fryatt
Anmother work around that I think will work with any WIMP program is to
change screen modes to a smaller resolution and then back up. The WIMP will
move & resize almost every window to be fully on the screen.

Exceptions being:
non resizable windows which IIRC will align to the top (came across this
with a customer who has very poor eyesight so uses a very low res mode and a
program that had a large configuration window with the 'set' button off the
bottom!

Also Edit windows if they have input focus.

I wonder what will happen with programs like LaBella that specify a position?


Chris Evans

--
CJE Micro's / 4D 'RISC OS Specialists'
Telephone: 01903 523222 Fax: 01903 523679
ch...@cjemicros.co.uk http://www.cjemicros.co.uk/
78 Brighton Road, Worthing, West Sussex, BN11 2EN
The most beautiful thing anyone can wear, is a smile!

0 new messages