My revMenuBar has slipped
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
My revMenuBar has slipped
With LC 9.6.4 my revMenuBar appears 28 pixels lower than it should . . .
[MacOS 12 beta 7]
. . . typing this into the MessageBox
set the top of stack "revMenuBar" to 24
followed by
save stack "revMenuBar"
is pointless as, on a relaunch of LiveCode the revMenuBar stack
has slipped again.
[MacOS 12 beta 7]
. . . typing this into the MessageBox
set the top of stack "revMenuBar" to 24
followed by
save stack "revMenuBar"
is pointless as, on a relaunch of LiveCode the revMenuBar stack
has slipped again.
-
- VIP Livecode Opensource Backer
- Posts: 9580
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: My revMenuBar has slipped
Hi.
Are you working on a single monitor?
Craig
Are you working on a single monitor?
Craig
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: My revMenuBar has slipped
No, I have a 3-monitor set up, but I always use LiveCode on my main, central monitor.
And this has only happened in the last 3 days.
And this has only happened in the last 3 days.
-
- VIP Livecode Opensource Backer
- Posts: 9802
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: My revMenuBar has slipped
I've seen this on Ubuntu. The height difference happens to match the height of the title bar on that platform.
I'd guess that something in the code is doing two difference placements, one using the stack rect which doesn't include the decorations, and another that does.
I've been tempted to look into the code to see where that happens, but it's been easy enough to just move the window that I forget about the issue. Besides, with devolution I go weeks at a time without seeing revMenubar at all.
I'd guess that something in the code is doing two difference placements, one using the stack rect which doesn't include the decorations, and another that does.
I've been tempted to look into the code to see where that happens, but it's been easy enough to just move the window that I forget about the issue. Besides, with devolution I go weeks at a time without seeing revMenubar at all.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- VIP Livecode Opensource Backer
- Posts: 9580
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: My revMenuBar has slipped
I am on a Mac. I recently changed my second monitor, which is why I asked. The "top" of my main monitor changed the "top" of all my LC stacks, like the menuBar. Anyway, I run a short routine to set everything right. But this routine has to run now and then, because stuff gets unstuck. It is a price I am glad to pay in order to have a 35" second monitor to hold the SE.
Craig
Craig
-
- VIP Livecode Opensource Backer
- Posts: 7215
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: My revMenuBar has slipped
I believe LC uses the windowBoundingRect to adjust its stacks. The dictionary explains how to work with that if you need to position windows outside the boundaries. It sounds like you're either getting an incorrect bounding rect or the relative positions of your monitors has changed.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Livecode Opensource Backer
- Posts: 9287
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: My revMenuBar has slipped
That makes some sort of sense, because when I tell a stack:
it bungs it somewhere down the bottom, but not at the bottom of the screen.
Code: Select all
set the bottom of stack "Whatever" to item 4 of the screenRect