Page 1 of 1

[05 Apr 2009] Possible Bug?

Posted: Sat Jun 13, 2020 5:32 pm
by Allanon
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 05 Apr 2009 17:52:13 -0000

Hello Andreas,

executing the following line:

Code: Select all

ChangeDisplaySize(400, 400, { x = 10, y = 10 })
changes the size of the display but does not move it at 10, 10, instead the display is centered to the screen like in HW3.

I'm missing something?

Regards, Fabio.

[05 Apr 2009] Re: Possible Bug?

Posted: Sat Jun 13, 2020 5:32 pm
by PEB
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 5 Apr 2009 12:21:05 -0700 (PDT)

It works correctly for me---Hollywood 4.0, OS4.x version.

[06 Apr 2009] Re: Possible Bug?

Posted: Sat Jun 13, 2020 5:32 pm
by Allanon
Note: This is an archived post that was originally sent to the Hollywood mailing list on Mon, 06 Apr 2009 07:06:42 -0000

I've noticed the problem under WinUAE OS3.1, can you try it? I've not tested yet any other OSes.

Regards, Fabio

[06 Apr 2009] Re: Re: Possible Bug?

Posted: Sat Jun 13, 2020 5:32 pm
by airsoftsoftwair
Note: This is an archived post that was originally sent to the Hollywood mailing list on Mon, 06 Apr 2009 15:23:28 +0200
I've noticed the problem under WinUAE OS3.1, can you try it? I've not tested yet any other OSes.
I tried it under OS3.9 and MorphOS 2.2. Both work fine.

[07 Apr 2009] Re: Possible Bug?

Posted: Sat Jun 13, 2020 5:32 pm
by Allanon
Note: This is an archived post that was originally sent to the Hollywood mailing list on Tue, 07 Apr 2009 20:58:22 -0000

I've catch the problem :) If I start my app with, for example, a display of 500x200, when I try to resize to the same size the function will discard my x and y positions because no resize is needed. :P

Regards, Fabio

[08 Apr 2009] Re: Re: Possible Bug?

Posted: Sat Jun 13, 2020 5:32 pm
by airsoftsoftwair
Note: This is an archived post that was originally sent to the Hollywood mailing list on Wed, 08 Apr 2009 10:46:22 +0200
I've catch the problem :) If I start my app with, for example, a display of 500x200, when I try to resize to the same size the function will discard my x and y positions because no resize is needed. :P
Yes, ChangeDisplaySize() will silently exit if the specified dimensions are the same as the current ones. You have to use MoveDisplay() in that case :)