[24 Apr 2010] Hollywood 4.7 SetDisplayAttributes problem...

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
Locked
User avatar
Tuxedo
Posts: 355
Joined: Sun Feb 14, 2010 12:41 pm

[24 Apr 2010] Hollywood 4.7 SetDisplayAttributes problem...

Post by Tuxedo »

Note: This is an archived post that was originally sent to the Hollywood mailing list on 24 Apr 2010 00:17:25 +0200

HI! I've got one(serious for me) problem using the new Hollywood 4.7...

That code:

Code: Select all

HideDisplay()
SetDisplayAttributes({Width = WbL, Height = WbH, Borderless = True})
ChangeDisplayMode(#DISPMODE_FULLSCREEN, WbL, WbH)
Where WbH = host screen width WbL = host screen height

Works nicely with 4.5 to switch from windowed to fullscreen display without any cscreen flash...
From 4.7 that code gives me:
Cant change display attributes like if it tryes to chage the display size without made the window borderless... Any hint on how to change the screen size now? :(

Thanks!
Simone"Tuxedo"Monsignori, Perugia, ITALY.
PEB
Posts: 576
Joined: Sun Feb 21, 2010 1:28 am

[24 Apr 2010] Re: Hollywood 4.7 SetDisplayAttributes problem...

Post by PEB »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Sat, 24 Apr 2010 00:10:12 -0000

The problem seems to be with Hollywood recognizing the change to Borderless while hidden. If you set the display to Borderless before the hide, then it should work. So the following code works for me:

Code: Select all

SetDisplayAttributes({Borderless = True})
HideDisplay()
SetDisplayAttributes({Width = WbL, Height = WbH})
User avatar
Tuxedo
Posts: 355
Joined: Sun Feb 14, 2010 12:41 pm

[24 Apr 2010] Re: Hollywood 4.7 SetDisplayAttributes problem...

Post by Tuxedo »

Note: This is an archived post that was originally sent to the Hollywood mailing list on 24 Apr 2010 14:55:55 +0200

Hi!
The problem seems to be with Hollywood recognizing the change to Borderless while hidden. If you set the display to Borderless before the hide, then it should work. So the following code works for me:
It works but was a bit ugly since it goes borderless than hide and chage screen... The user looking at that dont see a really nice effect unfortunately... :( The previous way was REALLY better and nicer to see...
Simone"Tuxedo"Monsignori, Perugia, ITALY.
User avatar
airsoftsoftwair
Posts: 5830
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

[01 May 2010] Re: Re: Hollywood 4.7 SetDisplayAttributes problem...

Post by airsoftsoftwair »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Sat, 01 May 2010 22:30:08 +0200
It works but was a bit ugly since it goes borderless than hide and chage screen... The user looking at that dont see a really nice effect unfortunately... :( The previous way was REALLY better and nicer to see...
Yes, it's a bug in 4.7. And I knew it before that fixing this one issue would surely create a new one. Just look at my post from Apr 14th here:

http://forums.hollywood-mal.com/viewtopic.php?f=4&t=55

Quote:
I'm not sure why Hollywood is currently blocking the opening of displays outside of the screen bounds but I think I made this for a reason so I'm somewhat reluctant to change this...
But then I changed my mind and fixed it but this opened the new issue you are now experiencing. Well, bottom line: Blame Jesper! :-)
User avatar
TheMartian
Posts: 109
Joined: Sun Feb 28, 2010 12:51 pm

[03 May 2010] Re: Hollywood 4.7 SetDisplayAttributes problem...

Post by TheMartian »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Mon, 03 May 2010 19:10:20 -0000

Hi Andreas

Right... send blame and money to the usual place :-)

I can now disclose that sending in that error report was my revenge for spending a lot of time on (re)discovering a problem of case sensitivity with the RawGet() command I had forgotten about!... It was either that or sending in some martian war machines to get even!

Afterwards I seem to remember it was reported some time ago. But it took me most of a day to find out why my code flunked. A small example from Hollywood 4.6 (PC version):

Code: Select all

test={}

test.Object1="cheese and ham"
NPrint(GetType(RawGet(test,"object1"))) ;** result 3
NPrint(GetType(RawGet(test,"Object1"))) ;** result 0

test["Object2"]="carrots"
NPrint(GetType(RawGet(test,"object2"))) ;** result 0
NPrint(GetType(RawGet(test,"Object2"))) ;** result 3

WaitLeftMouse
Yes, tricky. With dot notation the variable name tests as all small characters. Using the explicit string format it keeps the capital in front.

But - all is forgiven because you provided update 4.7 free of charge. Thanks :-)

regards Jesper
User avatar
airsoftsoftwair
Posts: 5830
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

[19 May 2010] Re: Hollywood 4.7 SetDisplayAttributes problem...

Post by airsoftsoftwair »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Wed, 19 May 2010 20:58:16 +0200
Cant change display attributes like if it tryes to chage the display size without made the window borderless...
This is fixed now, too.
User avatar
Tuxedo
Posts: 355
Joined: Sun Feb 14, 2010 12:41 pm

[19 May 2010] Re: Hollywood 4.7 SetDisplayAttributes problem...

Post by Tuxedo »

Note: This is an archived post that was originally sent to the Hollywood mailing list on 19 May 2010 21:58:01 +0200

HI Andreas!

GREAT TO READ THAT!

Any eta on a release for that version with fixed bug?
Simone"Tuxedo"Monsignori, Perugia, ITALY.
Locked