usableDesktop

Richmond richmondmathewson at gmail.com
Tue Apr 2 13:37:25 EDT 2013


However; Big Surprise:

on Linux this:

set the top of stack "XXX" to 0

positions the stack just below an XFCE panel positioned at the top of 
the desktop,

similarly with Gnome 'Classic',

similarly with MATE,

AND, even BIGGER SURPRISE:

with Avant Window Navigator Dock set to the top of the screen at a 
socking great 90 pixels

set the top of stack "XXX" to 0

positions the stack so the top is 90 pixels from the top of the screenRect

So, on Linux, at least, the working screenRect numbers (which are 
nonsensical any way) are not
really required.

on Mac OS 10.6.7

set the top of stack "XXX" to 0

positions the stack at the top of the screen (i.e. disregards the 
presence of the menuBar)

and Mac OS 10.6.7 in keeping with Apple's (and Microsoft's) doctrine of 
"what we like is good
enough for all our customers" (very condescending of them) does not 
allow end-users to position the
Mac Dock along the top of the desktop.

-------------------------------------------------

So much for cross-platform interoperability . . .

so, to author a standalone to be spun off on the 3 desktop platforms 
RunRev currently offer, one has to:

1. detect what platform one has landed on - systemVersion.

2. if Linux one can use 'set the top of stack "XXX" to 0'

3. if on Windows; aach, sick to death of jumping back and forth between 
Linux, VMware Mac, VMware Windows 7, and VMware XP (note the Oxford 
comma before all you punctuation police rip out
my throat).

4. if Macintosh; 'set the top of stack "XXX" to 44'

-------------------------------------------------

So long and thanks for all the nonsense about "convergent WIMP GUIs".

Richmond.








More information about the use-livecode mailing list