Skinning Issue on Windows

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Ivan Wong
Posts: 4
Joined: Tue Sep 16, 2008 5:18 pm

Skinning Issue on Windows

Post by Ivan Wong » Sun Oct 19, 2008 5:19 pm

I tried out the skinning tutorial at:
http://www.runrev.com/developers/tutori ... -skinning/

When building my own stack (or using the example stack provided) on Windows XP, I found that the stack does not minimize correctly to the taskbar, but instead 'sits' at the bottom of the screen with a small portion peeking out over the taskbar.

See this for a screenshot:
http://www.themacmarketer.com/images/ic ... 001359.jpg

Has anyone else encountered this when building on Windows XP?


Thanks,
Ivan

Ivan Wong
Posts: 4
Joined: Tue Sep 16, 2008 5:18 pm

Post by Ivan Wong » Sun Oct 19, 2008 6:22 pm

Just to let everyone know I found a workaround from a old revolution archive post:

In the mimimize button script:
on mouseup
set the windowshape of this stack to 0
set the iconic of this stack to true
end mouseup


In the stack script:
on unIconifyStack
set windowShape of me to <your background image id>
end unIconifyStack

keyless
Posts: 211
Joined: Wed Dec 12, 2007 11:21 pm

Post by keyless » Sat Oct 25, 2008 6:11 am

Has this been reported as a bug? it worked just fine in 2.8.1.


UPDATE: strange, I see a uncofirmed bug report of this, but says version 2.8.1

http://quality.runrev.com/qacenter/show_bug.cgi?id=5864

I never had any trouble with this in 2.8.1, but in 3.0 I do.

I just tested the stack back in 2.8.1 and it works fine, minimizes to the taskbar. opened it up in 3.0 and it looks just like the OPs screenshot when I minimize (set iconic...)

This is on Windows XP SP2

keyless
Posts: 211
Joined: Wed Dec 12, 2007 11:21 pm

Post by keyless » Wed Oct 29, 2008 12:16 am

Can others please confirm this bug. That the set iconic of this stack to true in a shaped stack, doesn't minimize to a button on the taskbar in Windows.

Its easy to test, just open the U3 Example stack (music player) and try the minimize button.

I believe it is only in 2.9 and 3.0.

SparkOut
Posts: 2944
Joined: Sun Sep 23, 2007 4:58 pm

Post by SparkOut » Wed Oct 29, 2008 12:57 am

I can confirm exactly the same behaviour here on Windows XP. A stack with a custom window shape appears not to minimise to the taskbar when the iconify of the stack is set to true, in v. 2.9 or greater. 2.8.1 it works fine.

keyless
Posts: 211
Joined: Wed Dec 12, 2007 11:21 pm

Post by keyless » Wed Oct 29, 2008 4:48 am

SparkOut wrote:I can confirm exactly the same behaviour here on Windows XP. A stack with a custom window shape appears not to minimise to the taskbar when the iconify of the stack is set to true, in v. 2.9 or greater. 2.8.1 it works fine.
Thanks SparkOut. Anyone using 2.9 or 3.0 that this doesn't happen with?

Post Reply